Version 1/15 - Next » - Current version
Kyriakos Zarifis, 07/13/2011 01:34 pm


Netperf

We created a netperf package for cerowrt and installed it on 2 routers as well as two laptops.

We downloaded the subversion HEAD

We ran netperf between the following:

1) laptop - laptop
Reported 4.33 Mbps

2) router -> laptop

root@gw:/tmp# netperf -H 172.31.8.115 -c -C
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.31.8.115 (172.31.8.115) port 0 AF_INET
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB

87380  16384  16384    10.07         4.21   29.00    1.00     565.055  19.390

3) router - router

root@gw:/tmp# netperf -H 172.31.8.33 -c -C
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.31.8.33 (172.31.8.33) port 0 AF_INET
Recv Send Send Utilization Service Demand
Socket Socket Message Elapsed Send Recv Send Recv
Size Size Size Time Throughput local remote local remote
bytes bytes bytes secs. 10^6bits/s % S % S us/KB us/KB

87380  16384  16384    10.07         4.23   29.49    32.41    571.139  627.530

iperf between laptop -> laptop for comparison:

kyriakos@zenith:~$ iperf c 172.31.8.115
-----------------------------------------------------------

Client connecting to 172.31.8.115, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 10.0.2.15 port 51176 connected with 172.31.8.115 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 5.20 MBytes 4.33 Mbits/sec

(note that users on the internet have reported higher reported throughputs using netperf than when using iperf, for the exact same setup and devices)