Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD network speed under VMware ESXi



Le Lun 27 octobre 2008 23:27, Joel Carnat a écrit :
>> Especially not under VMware because the disk access is slow (at least in
>> my experiences with my VMware server).
>>
>> Please use a more appropriate tool like "ttcp" or "netio" which are both
>> available in "pkgsrc".
>
> Yeah, this was just a quick&dirty look just after a bare install.
> Now that those numbers gave me hope, I'll try using correct benchmark
> tools.
>

Here are ttcp numbers:
(sending: ttcp -v -t peer < /tmp/i386cd.iso)
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp
ttcp-r: socket
ttcp-r: accept from 10.15.5.28
ttcp-r: 224348160 bytes in 38.21 real seconds = 5733.84 KB/sec +++
ttcp-r: 40109 I/O calls, msec/call = 0.98, calls/sec = 1049.70
ttcp-r: 0.0user 1.0sys 0:38real 2% 0i+0d 0maxrss 0+2pf 33111+8241csw

(sending: ttcp -v -t peer < /dev/zero during ~40sec)
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp
ttcp-r: socket
ttcp-r: accept from 10.15.5.28
ttcp-r: 468470368 bytes in 40.48 real seconds = 11302.92 KB/sec +++
ttcp-r: 71735 I/O calls, msec/call = 0.58, calls/sec = 1772.31
ttcp-r: 0.0user 2.4sys 0:40real 6% 0i+0d 0maxrss 0+2pf 55359+29155csw

And netio numbers:
NETIO - Network Throughput Benchmark, Version 1.26
(C) 1997-2005 Kai Uwe Rommel

TCP connection established.
Packet size  1k bytes:  11496 KByte/s Tx,  11079 KByte/s Rx.
Packet size  2k bytes:  11451 KByte/s Tx,  11368 KByte/s Rx.
Packet size  4k bytes:  11494 KByte/s Tx,  11456 KByte/s Rx.
Packet size  8k bytes:  11355 KByte/s Tx,  11390 KByte/s Rx.
Packet size 16k bytes:  11509 KByte/s Tx,  11452 KByte/s Rx.
Packet size 32k bytes:  11499 KByte/s Tx,  11452 KByte/s Rx.
Done.

And finally, trying to understand ttcp difference between sending
/tmp/i386cd.iso and /dev/zero :
# dd if=/dev/zero of=/tmp/TEST count=10m
908497+0 records in
908496+0 records out
465149952 bytes transferred in 62.012 secs (7500966 bytes/sec)

Keep in mind that this / is located on a remote NFS server (for easy
testings).

Should those network numbers assume that NetBSD is ready for VMware
production ?

TIA,
   Jo





Home | Main Index | Thread Index | Old Index