[netperf-talk] Same request, different result between windows and linux

刘亚东 liu21yd at hotmail.com
Mon Oct 26 19:41:48 PDT 2009


hi, all,

 

       I got a very mysterious problem when testing under different OS. 

       Here both size of the receive and send buffer have been set the same between windows and linux, but the results were different. Under windows, the Recv socket and the send socket size are the same as the  size of the receive and send buffer, but under linux, the Recv socket and the send socket size became double. why? Just watch the follows message.

 

      I don't konw whether the difference is natural between windows and linux or there is some relationship with the netperf tool? 

      Would somebody like to help me find out the answer?

 

 

Under windows:

>netperf.exe -H HOST_IP -t TCP_STREAM -l 10 -- -m 1024 -s 2048 -S 2048
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to HOST_IP (HOST_IP) port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  2048   2048   1024    10.55     390.65

 

Under linux:
# netperf -H HOST_IP -t TCP_STREAM -l 10 -- -m 1024 -s 2048 -S 2048
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to HOST_IP (HOST_IP) port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

  4096   4096   1024    10.00     522.79

 

 

Thank you & Best Regards,

 

yadong liu
 		 	   		  
_________________________________________________________________
全新 Windows 7:寻找最适合您的 PC。了解详情。
http://www.microsoft.com/china/windows/buy/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20091027/9cc0da27/attachment.htm 


More information about the netperf-talk mailing list