Difference between revisions of "Network interface bandwidth measurement"
From ArmadeusWiki
m (→Links) |
(add perf results for apf27) |
||
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
$ iperf -c 192.168.1.10 -i 2 | $ iperf -c 192.168.1.10 -i 2 | ||
</pre> | </pre> | ||
+ | ====Current APF27 results==== | ||
+ | Linux 2.6.29, direct connection (cross-over cable); asked TCP window size of 16k, got 32k: | ||
+ | -> 82-83 Mbits/sec | ||
===Host server, APF client=== | ===Host server, APF client=== | ||
Line 34: | Line 37: | ||
$ iperf -c 192.168.1.2 -i 2 | $ iperf -c 192.168.1.2 -i 2 | ||
</pre> | </pre> | ||
+ | ====Current APF27 results==== | ||
+ | Linux 2.6.29, direct connection (cross-over cable); asked TCP window size of 16k, got 32k: | ||
+ | -> 57-58 Mbits/sec | ||
===Increase window size=== | ===Increase window size=== |
Latest revision as of 14:21, 24 March 2010
Contents
Tools installation
- On your host, install iperf tool (here on Debian/Ubuntu like system):
$ sudo apt-get install iperf
- Install it on your target too:
$ make menuconfig
Package Selection for the target ---> Networking ---> [*] iperf
Test
APF server, Host client
- On your target:
$ iperf -s -i 2
- On your host (192.168.1.10 is the IP of your APF):
$ iperf -c 192.168.1.10 -i 2
Current APF27 results
Linux 2.6.29, direct connection (cross-over cable); asked TCP window size of 16k, got 32k:
-> 82-83 Mbits/sec
Host server, APF client
- On your host:
$ iperf -s -i 2
- On your target (192.168.1.2 is the IP of your Host):
$ iperf -c 192.168.1.2 -i 2
Current APF27 results
Linux 2.6.29, direct connection (cross-over cable); asked TCP window size of 16k, got 32k:
-> 57-58 Mbits/sec
Increase window size
- add -w100k (for example 100kB) to both server and client command.