W dniu 2010-11-18 13:42, Schvberle Daniel pisze:
So the conclusion might be:
- there is problem with my Intel NIC model/cheapset
- there is problem with em driver
- there is problem with my hardware (I need serwer motherboard with pcie
and pci 64bit 66mhz)
- I need faster CPU than P4 3GHz ??
or
- there is a problem with iperf :)
How about measuring with something else? Did you try tcpbench? Or something
even simpler, like scp-ing from /dev/null to /dev/null? With pf and queues
enabled you can monitor the B/S rate.
there is no tcpbench in packages for 4.8 and for debian linux
1.
transferring file by scp from router-test to linux machine:
transfer speed: 16.1MB/s ~ 128.8 Mbits/s
r...@router-test (/root)# top
load averages: 1.59, 1.05, 0.67
28 processes: 2 running, 25 idle, 1 on processor
CPU states: 33.3% user, 0.0% nice, 47.9% system, 14.2% interrupt, 4.6%
idle
Memory: Real: 11M/80M act/tot Free: 405M Swap: 0K/759M used/tot
r...@router-test (/root)# systat queue
2 users Load 1.49 0.99 0.74 Thu Nov 18 16:27:25 2010
QUEUE BW SCH PR PKTS BYTES DROP_P DROP_B QLEN BORR SUSP
P/S B/S
root_em0 1000M cbq 0 10M 14G 0 0 0 0 0
122 17M
q_lan 950M cbq 10M 14G 0 0 0 0 0
122 17M
2.
transferring file back from linux machine to router-test:
transfer speed: 19.9MB/s ~ 159.2 Mbits/s
r...@router-test (/root)# top
load averages: 1.13, 0.95, 0.69
25 processes: 1 running, 23 idle, 1 on processor
CPU states: 40.1% user, 0.0% nice, 33.5% system, 26.3% interrupt, 0.0%
idle
Memory: Real: 11M/80M act/tot Free: 405M Swap: 0K/759M used/tot
3.
as comparison transfer speed between two debian boxes:
- tested by iperf: 940 Mbits/sec
- transfering file by scp: 42.6MB/s ~ 340.8 Mbits/s
top:
Tasks: 81 total, 1 running, 80 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8%us, 13.8%sy, 0.0%ni, 79.0%id, 0.0%wa, 1.0%hi, 4.3%si,
0.0%st
Mem: 1028836k total, 924868k used, 103968k free, 23800k buffers
Swap: 1951856k total, 51524k used, 1900332k free, 617788k cached
----
best regards
RLW