Difference between revisions of "Network interface bandwidth measurement"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
(add perf results for apf27)
 
(2 intermediate revisions 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===
Line 41: Line 47:
 
* [http://iperf.sourceforge.net/ iperf project website]
 
* [http://iperf.sourceforge.net/ iperf project website]
 
* http://fr.wikipedia.org/wiki/Iperf
 
* http://fr.wikipedia.org/wiki/Iperf
 +
 +
[[Category:Network]]

Latest revision as of 15:21, 24 March 2010

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.

Links