190 likes | 692 Views
Measuring TCP Throughput of Wi-Fi (2.4 GHz) link using IPERF. EESAT. Wi-Fi link . THROUGHPUT. DP_WS. Sanjaya Gurung Electrical Engineering University of North Texas. Introduction. Throughput
E N D
Measuring TCP Throughput of Wi-Fi (2.4 GHz) link using IPERF EESAT Wi-Fi link THROUGHPUT DP_WS Sanjaya Gurung Electrical Engineering University of North Texas
Introduction Throughput In data transmission, throughput is the amount of data transferred successfully over a link from one end to another in a given period of time. It is usually expressed in bits per second (bps).
Introduction (Contd…) • Iperf • Iperf is a network performance measurement tool that measures the TCP Throughput of the network • It has a client and server functionality, and can measure the throughput between the two ends, either unidirectonally or bi-directionally • It allows the user to set various parameters that can be used for testing a network, or alternately for optimizing or tuning a network
Bandwidth Vs Throughput Bandwidth Throughput Refers to how fast a device is actually sending data over the communication channel Throughput ≤ Bandwidth Also known as “Consumed Bandwidth” • Refers to how fast a device can send data over a single communication channel • Bandwidth ≥ Throughput • Also known as “Maximum Throughput” Video_link: http://www.youtube.com/watch?v=VWxGtl5J7WM
Throughput measurement between two NS2 in EESAT LAB Experiments • Two NanoStations are used: • EESAT_NS2 … Nanostation installed in the roof of EESAT building • LAB_NS2 … Nanostation in EESAT LAB (temporary just for test)
129.120.34.199 129.120.34.249 Local connection LAB_PC EESAT_NS2 Server LAB Experiments (Contd…) Wireless connection Wi-Fi Local connection LAPTOP LAB_NS2 Client 129.120.34.198 129.120.34.245 Fig.1 LAB Experimental set-up for measuring throughput
Throughput Vs Client Tx power Tx power = 11 dBm Tx power = 26 dBm Throughput Throughput Client Tx power Throughput
Throughput Vs Server Tx power Tx power = 11 dBm Tx power = 26 dBm Throughput Throughput Server Tx power Throughput No Change
Throughput Vs Rate Mode Tx power (both Client and Server) = 26 dBm Rate Mode: Quarter (13.5 Mbps) Rate Mode: Full (54 Mbps) Throughput Throughput Rate Mode Throughput
Rate mode Vs Spectral width If Auto check box is enabled, then the best Rate will be selected automatically depending upon the link quality conditions Reducing spectral width engenders … Benefit 1: Increases the amount of non-overlapping channels. Benefit 2: Increases the PSD of the channel and enables the link distance to be increased Drawback: Reduces throughput proportional to the channel size reduction.
Client-Server Tx Rx Data flow Server Client Listener Sender • Two ends: • Server ……iperf-s • Client ……. iperf -c [Server IP address]
Simple Steps to measure Throughput using IPerf Server: iperf -s
Simple Steps to measure Throughput using Iperf (Contd..) Client: iperf -c 129.120.34.249
Tuning Network with various parameters Client: iperf -c 129.120.34.249 –i 5 –t 30 –w 64K
Various other options… For measuring bidirectional TCP Throughput iperf -c 129.120.34.249 -d For measuring UDP: User Datagram Protocol iperf -c 129.120.34.249 -u For measuring Throughput by sending a file iperf -c 129.120.34.249 –F [file_name] etc…
Throughput Test between EESAT – DP_WS Client and Server both transmitting at 26 dBm Audio file Throughput Avg. ~ 550 Kbps
Current Status of Nanostations EESAT_NS2: http://129.120.34.199 LAB_NS2: http://129.120.34.245
Thank You QUESTIONS ??