labs.beatcraft.com [bc10-router]
Connecting with a PC, the network performance of bc10-router is measured. The details of how to create bc10-router is described at bc10-router/arago-project. This article explains the structure of tested network, measuring equipments, measuring tools, and measuring method.
The structure of network is shown in the diagram below.
#ref(): File not found: "network" at page "bc10-router/measuring network performance"
The measurement of throughput is influenced by the capability of machines that the measuring tools run. The machines used here are netbook-type. The specifications and capability of the measuring equipments are shown below.
bc10-router
- CPU: ARMv7 Processor rev3 (v71) (OMAP3530 600NHz)
- BogoMIPS: 585.04
- OS: arago-project based Linux
- kernel: 3.3.7
- USB AC Powered Hub
- WAN Side Interface: USB-Either Adapter Buffalo LUA3-U2-ATX (ASIX AX88772)
- LAN Side Interface (Access point): USB Wi-Fi Adapter Buffalo WLI-UG-G301N (Ralink 2870USB)
PC1
- CPU: Intel(R) Atom(TM) CPU N280 @1.66GHz
- CPU MHz: 800.000 x2
- BogoMIPS: 3324.89
- OS: Ubuntu 12.04 (32bit)
- kernel: 3.2.0-34-generic-pae
- Network interface: Atheros Communications Inc. AR8132 Fast Ethernet
PC2
- CPU: Intel(R) Atom(TM) CPU N270 @1.60GHz
- CPU MHz: 800.000 x2
- BogoMIPS: 3191.84
- OS: Ubuntu 12.10 (32bit)
- kernel: 3.5.0-19-generic
- Network interface: USB Wi-Fi Adapter LAN-W150N/U21PH (Ralink 2870USB)
The applications, which used to measuring the performance of the networks, are shown below.
http://iperf.surceforge.net/
This application measures the throughput of a network. It created at Distributed Application Support Team (DAST) of the National Laboratory for Applied Network Research (NLANR). This organization does not exist anymore, and the application has been maintained by an open source project. This application does have both server side and client side functionalities. To execute the same command, the applications act as the server and client at the ends of the network and measure the throughput between the two points.~
- Example of Command
- Server Side
Code and Commands>
Executing the command, the server side waits the signal from the client side. When it receives the signal from the client side, then it displays the result of measurement.
– Client Side
Code and Commands> To measure throughput, the client side measures how much data it has sent to the server side per 10 seconds.
http://www.nuttcp.net/nuttcp/Welcome%20Page.html
This application is a measurement tool, which assesses the network performance. It is crated based upon nttcp, which is an improved version of ttcp. Like iperf, executing the same command on the both two PCs, one PC runs the command as the server, and the other PC acts as the client. Waiting for data from the client side, the server side measures the benchmark of communication between the client and server sides PCs.
- Example of Command
- Server Side
Code and Command>
Code and Command> The results indicate that 44.8750MB data is sent in 10.07 seconds, it means that the speed of transfer is 37.3972Mbps.
TX means the occupancy rate of CPU at client side,
RX indicates the occupancy rate of CPU at server side,
returns mean TCP retransmission packet number, and
msRTT indicates Round Trip Time in microsecond.
To measure the performance of bc10-router, the network, which described in the diagram, is established. To measure the performance of WAN and LAN, throughput is measured between PC1 and bc10-router and between bc10-router and PC2, respectively.
To analyze the quality of network, it is critical to find out the bottlenecks in the network. To exam the bottleneck, throughput is measured between the interfaces of PC1 and bc10-router eth0 for WAN side and between the interfaces of bc10-router wlan0 and PC2 for LAN side, respectively.
The measurements are done at WAN side and LAN side. WAN side reflects the performance of server side, and LAN side roughly indicates the performance of client side. Each test 10 times and takes the average of the outcomes of 10 tests. The measurements of iperf define only the performance of the client side.
- Measured by iperf
WAN side: PCI iperf -s
LAN side: bc10-router iperf -c 192.168.0.121
Table>
Table>
Because it is a wired connection, there is not much fluctuation among the results, and the throughput is close to its maximum, 100M.
- Measured by iperf
WAN side: bc10-router iperf -s
LAN side: PC2 iperf -c 192.168.30.1
Table>
Table>
As AP of bc10-router is set for 11n, PC2, the client, is connected with 11n of one-stream. The throughput 11n connection is only little better than the maximum effective performance of 11g. This indicates that the speed of this communication interval is the bottleneck as a wireless router.
- Measured by iperf
WAN side: PC1 iperf -s
LAN side: PC2 iperf -c 192.168.0.121
Table>
Table> Comparing to the measurement between bc10-router wlan0 and PC2, throughput between PC1 and bc10-router and PC2 is better. Since the capability of their CPUs at the server and client sides, is higher than bc10's. The difference in the capability of CPUs may lead the performance of the network.
The measurement of the Wireless LAN (AP-PC2) is largely fluctuated. It is due to radio wave condition of surrounding. In the average, its throughput is roughly 22Mbps.~
- 2013/07/10 This article is initially published.