views:

28

answers:

0

I'm developing a UDP client/server app. I've discovered with iperf that the UDP limit to my virtual machine is maxing out at around 100Mbit/s. I have a quad core CPU so I've given windows 2 cores.

I'm not sure where to point the finger because TCP maxes out around 450Mbit/s which is better, but also a bit slow.

Is this a limitation of virtual box, the network drivers under windows or windows 7 (64bit) itself?

Note: increasing the receive buffers to 64Kbyte in windows helped enormously, but still... under linux (at least on the loopback) I can get around 1Gbit/s. My aim is that my app needs to be able to maintain close to that under load.

So far my app can match what iperf is giving.

Any thoughts on where the bottlenecks are? or what settings appart from receive buffers can tune the performance of the network stack for UDP (not TCP).