Difference between revisions of "Network interface bandwidth measurement"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
m (Links)
Line 41: Line 41:
 
* [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]]

Revision as of 17:39, 22 January 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

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

Increase window size

  • add -w100k (for example 100kB) to both server and client command.

Links