Pages

Friday, June 17, 2011

Wireless throughput from Notebook

Having similar setup as before I decided to check now, how much throughput I can get from my wireless on notebook.

SETUP


RESULTS
It seems that throughput increases when notebook is running on AC, and drops when running on batteries, most probably because of the Power Saving mode.


Best distance from the Wireless router
Frequency:2.412 GHz (Channel 1)
Quality:5/5  Signal level:-36 dBm  Noise level:-94 dBm
(Notebook first on batteries and then on AC)
~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 38624
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-13.7 sec  6.29 MBytes  3.84 Mbits/sec
[  5] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 52763
[  5]  0.0-10.6 sec  22.6 MBytes  17.9 Mbits/sec


~$ iperf -c 192.168.2.13
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.10 port 38624 connected with 192.168.2.13 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.2 sec  6.29 MBytes  5.15 Mbits/sec
~$ iperf -c 192.168.2.13
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.10 port 52763 connected with 192.168.2.13 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec  22.6 MBytes  18.8 Mbits/sec

Running bidirectional test simultaneously
( notebook on AC)
~$ iperf -s -d
WARNING: option -d is not valid for server mode
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 42265
------------------------------------------------------------
Client connecting to 192.168.2.10, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  6] local 192.168.2.13 port 35564 connected with 192.168.2.10 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-10.1 sec  8.48 MBytes  7.02 Mbits/sec
[  4]  0.0-10.6 sec  15.2 MBytes  12.0 Mbits/sec

~$ iperf -c 192.168.2.13 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  5] local 192.168.2.10 port 42265 connected with 192.168.2.13 port 5001
[  4] local 192.168.2.10 port 5001 connected with 192.168.2.13 port 35564
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.3 sec  8.48 MBytes  6.88 Mbits/sec
[  5]  0.0-10.4 sec  15.2 MBytes  12.3 Mbits/sec

( notebook on batteries)
~$ iperf -s -d
WARNING: option -d is not valid for server mode
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 45449
------------------------------------------------------------
Client connecting to 192.168.2.10, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  6] local 192.168.2.13 port 53089 connected with 192.168.2.10 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-10.1 sec  6.28 MBytes  5.22 Mbits/sec
[  4]  0.0-11.9 sec  3.11 MBytes  2.19 Mbits/sec
~$ iperf -c 192.168.2.13 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  5] local 192.168.2.10 port 45449 connected with 192.168.2.13 port 5001
[  4] local 192.168.2.10 port 5001 connected with 192.168.2.13 port 53089
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.2 sec  6.28 MBytes  5.16 Mbits/sec
[  5]  0.0-11.7 sec  3.11 MBytes  2.24 Mbits/sec

Running Bidirectional test individually
( notebook on AC)
 ~$ iperf -s -r
WARNING: option -r is not valid for server mode
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 45450
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.6 sec  24.3 MBytes  19.2 Mbits/sec

~$ iperf -c 192.168.2.13 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 46.0 KByte (default)
------------------------------------------------------------
[  5] local 192.168.2.10 port 45450 connected with 192.168.2.13 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.1 sec  24.3 MBytes  20.1 Mbits/sec

( notebook on batteries)
~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.13 port 5001 connected with 192.168.2.10 port 45451
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.6 sec  7.59 MBytes  5.99 Mbits/sec

~$ iperf -c 192.168.2.13 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.13, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.10 port 45451 connected with 192.168.2.13 port 5001
Waiting for server threads to complete. Interrupt again to force quit.
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.1 sec  7.59 MBytes  6.27 Mbits/sec

All the results in a table


TESTS Notebook on AC Notebook on BATTERY
Normal test 17.9 Mbits/sec 3.84 Mbits/sec
Bidirectional test simultaneously 7.02 Mbits/sec / 12.0 Mbits/sec 5.22 Mbits/sec / 2.19 Mbits/sec
Bidirectional test individually 19.2 Mbits/sec 5.99 Mbits/sec

DETAILS 
Running the server on the notebook and the client on the PC
PC running Ubuntu 10.04.2 LTS

      *-network           
           description: Ethernet interface
           product: MCP77 Ethernet
           vendor: nVidia Corporation
           logical name: eth0
           version: a2
           width: 32 bits
           clock: 66MHz
           configuration: broadcast=yes driver=forcedeth driverversion=0.64 ip=192.168.2.10 latency=0 maxlatency=20 mingnt=1 multicast=yes

          
Notebook (Lenovo G560) running Ubuntu
     *-network           
           description: Wireless interface
           product: BCM4313 802.11b/g LP-PHY
           vendor: Broadcom Corporation
           logical name: eth1
           version: 01
           width: 64 bits
           clock: 33MHz
           configuration: broadcast=yes driver=wl0 driverversion=5.60.48.36 ip=192.168.2.13 latency=0 multicast=yes wireless=IEEE 802.11

No comments: