I have an application build in C++, which is portable on Win and Linux. It's a communication node between other two applications, and it's using UDP as streaming.

The problem is that the entire installation is running faster when this node runs on Windows, and much slower when it's on Linux. All it has to do, is to listen on a UDP port, and sent received data on an other UPD port. But it's running tree or four time slower on Linux, I can't figure it out why.

Weird thing is when this node is running on Linux Virtual Machine (Ubuntu) which is hosted by a Windows machine, it's running as fast as it would be on a Windows box natively. So, I'm thinking that it's a network configuration problem...

Does anyone know what would be the reason. Anyone found a similar behaviour?

Thanks.