I'm trying to setup a test network between just two machines. The idea is
to make the connection as fast as possible. I got two Intel Pro 1000 MT
desktop adapters in a Quad 500MHz PowerEdge and an 800MHz PIII directly
connected with a regular cable. At first the numbers would pretty low
so I got the latest driver on Intel's site and download two tools iperf
and ttcp. The results are as follows:
TOOL SERVER Mbits/sec
==========================
iperf PowerEdge 303
iperf PIII 616
ttcp PowerEdge 142
ttcp PIII 243
How to use these tools to give compariable results?
Why is throughput so different in one direction opposed to the other?
Are there standard message sizes or parameters that should be used when
taking these measurements?
Can I go faster? Can I tweak the e1000 driver to increase throughput? The
point is to push some network software to it's limits (i.e. flood
buffers), not create a link optimal for transferring files between
100 PCs.
Thanks,
Mike
--8<-- detailed output --8<--
iperf
with PowerEdge as server:
[root@ts0 root]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 6] local 192.168.3.100 port 5001 connected with 192.168.3.15 port 32797
[ ID] Interval Transfer Bandwidth
[ 6] 0.0-10.0 sec 361 MBytes 303 Mbits/sec
with PIII as server:
[root@ts0 root]# iperf -c 192.168.3.15
------------------------------------------------------------
Client connecting to 192.168.3.15, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.3.100 port 32769 connected with 192.168.3.15 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 735 MBytes 616 Mbits/sec
ttcp
with PowerEdge as server:
[root@ts0 root]# ttcp -p2001 -r -s > /dev/null
ttcp-r: nbuf=1024, buflen=1024, port=2001
ttcp-r: socket
ttcp-r: accept
ttcp-r: 1.1user 45.1sys 1:49real 42% 0i+0d 0maxrss 0+0pf 0+0csw
ttcp-r: 2000973424 bytes processed
ttcp-r: 46.31 CPU sec = 42195.5 KB/cpu sec, 337564 Kbits/cpu sec
ttcp-r: 109.583 real sec = 17832 KB/real sec, 142656 Kbits/sec
with PIII as server:
[miallen@nano miallen]$ ttcp -p2001 -r -s > /dev/null
ttcp-r: nbuf=1024, buflen=1024, port=2001
ttcp-r: socket
ttcp-r: accept
ttcp-r: 0.4user 10.8sys 0:46real 24% 0i+0d 0maxrss 0+0pf 0+0csw
ttcp-r: 1462139904 bytes processed
ttcp-r: 11.31 CPU sec = 126249 KB/cpu sec, 1.00999e+06 Kbits/cpu sec
ttcp-r: 46.9612 real sec = 30405.3 KB/real sec, 243243 Kbits/sec
|