Difference between revisions of "Network interface bandwidth measurement"

From ArmadeusWiki
Jump to: navigation, search
(creation)
(No difference)

Revision as of 14:45, 15 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