Network interface bandwidth measurement

From ArmadeusWiki
Revision as of 14:17, 24 March 2010 by JulienB (Talk | contribs) (add perf results for apf27)

Jump to: navigation, search

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 (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

Increase window size

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

Links