Network testing with iperf



Similar documents
Monitoring Android Apps using the logcat and iperf tools. 22 May 2015

Iperf Tutorial. Jon Dugan Summer JointTechs 2010, Columbus, OH

1000Mbps Ethernet Performance Test Report

TCP Labs. WACREN Network Monitoring and Measurement Workshop Antoine Delvaux perfsonar developer

Measuring Wireless Network Performance: Data Rates vs. Signal Strength

i.mx28 Ethernet Performance on Linux

Measure wireless network performance using testing tool iperf

Streaming Networks with VLC. Jean-Paul Saman

Iperf Bandwidth Performance Testing

EVALUATING NETWORK BUFFER SIZE REQUIREMENTS

Performance of Host Identity Protocol on Nokia Internet Tablet

perfsonar: End-to-End Network Performance Verification

Final for ECE374 05/06/13 Solution!!

WiFiPerf User Guide 1.5

Policy Based Forwarding

Configuring Your Computer and Network Adapters for Best Performance

CT LANforge-FIRE VoIP Call Generator

Network Monitoring. Sebastian Büttrich, NSRC / IT University of Copenhagen Last edit: February 2012, ICTP Trieste

D1.2 Network Load Balancing

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

The new frontier of the DATA acquisition using 1 and 10 Gb/s Ethernet links. Filippo Costa on behalf of the ALICE DAQ group

Application Note. Windows 2000/XP TCP Tuning for High Bandwidth Networks. mguard smart mguard PCI mguard blade

Globus Striped GridFTP Framework and Server. Raj Kettimuthu, ANL and U. Chicago

Performance Measurement of Wireless LAN Using Open Source

Work No. 1 Samba. What is Samba?

Internet Services. Amcom. Support & Troubleshooting Guide

CMA5000 SPECIFICATIONS Gigabit Ethernet Module

Performance Analysis of IPv4 v/s IPv6 in Virtual Environment Using UBUNTU

Troubleshooting VoIP and Streaming Video Problems

Using the ClearSight Analyzer To Troubleshoot the Top Five VoIP Problems And Troubleshooting Streaming Video

TFTP TRIVIAL FILE TRANSFER PROTOCOL OVERVIEW OF TFTP, A VERY SIMPLE FILE TRANSFER PROTOCOL FOR SIMPLE AND CONSTRAINED DEVICES

ITL Lab 5 - Performance Measurements and SNMP Monitoring 1. Purpose

CT LANforge WiFIRE Chromebook a/b/g/n WiFi Traffic Generator with 128 Virtual STA Interfaces

CT LANforge-FIRE VoIP Call Generator

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

VRT Testing What Makes BullsEye Better and Different from the rest (Our competitive Advantage)

RTT 60.5 msec receiver window size: 32 KB

VM-Series Firewall Deployment Tech Note PAN-OS 5.0

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

PE310G4BPi40-T Quad port Copper 10 Gigabit Ethernet PCI Express Bypass Server Intel based

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

The Elements of GigE Vision

Evaluation Report: Emulex OCe GbE and OCe GbE Adapter Comparison with Intel X710 10GbE and XL710 40GbE Adapters

In fact, the three most common reasons for a network slow down are: congestion data corruption collisions

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Network performance in virtual infrastructures

Using Industrial Ethernet Networks for PROFInet

32-bit PCI 10/100/1000Mbps Gigabit Ethernet Card. User s Guide. FCC Warning. CE Mark Warning. VCCI Warning

Grandstream Networks, Inc.

TCP Window Size for WWAN Jim Panian Qualcomm

Guideline for setting up a functional VPN

Question: 3 When using Application Intelligence, Server Time may be defined as.

Strategies. Addressing and Routing

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Chapter 1 Reading Organizer

Frequently Asked Questions

Visualizations and Correlations in Troubleshooting

FSW-0505TX/0805TX 5/8 Port SOHO 10/100Mbps NWay Switch FSW-0505TX FSW-0805TX. 5/8 Port SOHO 10/100Mbps NWay Switch. User s Manual. (Revision 1.

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

SSH Tutorial. A. Andreatos Div. of Computer Engineering & Information Science Hellenic Air Force Academy GREECE gmail.

Network Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014

This is a product of VCCI Class B Compliance

Release February 2005

Network Considerations for IP Video

Teradici Remote Workstation Karte PCoIP Host Card Overview

1-Port R422/485 Serial PCIe Card

D-Link DES-1024D 24-Port 10/100Mbps Ethernet Switch. Manual

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Ten top problems network techs encounter

Set Up a VM-Series Firewall on an ESXi Server

VLAN for DekTec Network Adapters

TalkShow Advanced Network Tips

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

EMS. EtherCAN CI. Ethernet/CAN Interface. User Manual THOMAS WÜNSCHE. Documentation for Ethernet/CAN interface EtherCAN CI version 2.1.

AGIPD Interface Electronic Prototyping

BR-800. ProHD Broadcaster. Easy Set-Up Guide V 1.01

Understanding Latency in IP Telephony

Performance Evaluation of VMXNET3 Virtual Network Device VMware vsphere 4 build

User s Manual. 10/100/1000Base-T PCI Express Gigabit Ethernet Adapter. ENW-9702

Industrial Multi-port Serial Cards

Hacking. Aims. Naming, Acronyms, etc. Sources

OpenCPN Garmin Radar Plugin

Voice over IP Manual

IBM Proventia Network Intrusion Prevention System With Crossbeam X80 Platform

QoS & Traffic Management

Network Performance Optimisation and Load Balancing. Wulf Thannhaeuser

IP videoconferencing solution with ProCurve switches and Tandberg terminals

Test Methodology White Paper. Author: SamKnows Limited

C-GEP 100 Monitoring application user manual

Overview of Network Measurement Tools

Communication Controller with IP services for leased lines and wireless links Radio Activity S.r.l.

Transcription:

Network testing with iperf Bill Farrow bill.farrow@gmail.com Why use iperf? What does it run on? TCP example UDP example Use Case: Network Server Appliance Use Case: Embedded Video Streaming Use Case: TWC woes

Why use iperf? Is my network device working? sudo ethtool eth0 Settings for eth0: Supported link modes: Supported pause frame use: No Supports auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair Auto-negotiation: on MDI-X: off Supports Wake-on: pumbg Wake-on: g Link detected: yes 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full

Why use iperf? ping test for connectivity ping -c 5 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=0.993 ms 64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=0.994 ms 64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=1.01 ms 64 bytes from 192.168.0.1: icmp_req=4 ttl=64 time=4.99 ms 64 bytes from 192.168.0.1: icmp_req=5 ttl=64 time=0.979 ms --- 192.168.0.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4004ms rtt min/avg/max/mdev = 0.979/1.795/4.998/1.601 ms

Why use iperf? What is the maximum throughput? Server:~# netcat -u -l -p 2000 > /dev/null Client:~$ dd if=/dev/zero bs=1m count=100 \ pv -brt \ netcat -u 10.1.1.1 2000 100+0 records in 100+0 records out 104857600 bytes (105 MB) copied, 8.48734 s, 12.4 MB/s 100MB 0:00:08 [11.8MB/s] ^C

Why use iperf? Measures throughput, latency, jitter etc TCP and UDP modes Small, standalone application Easy to cross compile You can run it almost anywhere

What does it run on? apt-get install iperf yum install iperf emerge iperf Linux distributions Embedded Linux: Openwrt root@openwrt:~# opkg update Downloading Inflating Updated list of available packages in /var/opkg-lists/packages. root@openwrt:~# opkg list grep iperf iperf - 2.0.5-1 - Iperf is a modern alternative for measuring TCP and UDP bandwidth root@openwrt:~# opkg install iperf Installing iperf (2.0.5-1) to root...

TCP example Server: Client: iperf -s iperf -c <server-ip-addr>

TCP Example Server:~# iperf -s ------------------------------------------------- Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------- [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 88.9 MBytes 74.4 Mbits/sec Client:~$ iperf -c 192.168.0.1 ------------------------------------------------- Client connecting to 192.168.0.1, TCP port 5001 TCP window size: 22.9 KByte (default) ------------------------------------------------- [ 3] local 192.168.0.22 port 59732 connected with 192.168.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 88.9 MBytes 74.4 Mbits/sec

UDP Example Server: Client: iperf -s -u iperf -c <server-ip-addr> -u

UDP Example Server:~# iperf -s -u ------------------------------------------------------------ Server listening on UDP port 5001 Receiving 1470 byte datagrams UDP buffer size: 112 KByte (default) ------------------------------------------------------------ [ 3] local 10.1.1.1 port 5001 connected with 10.1.1.22 port 45361 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 3] 0.0-10.0 s 1.25 MB 1.05 Mbits/s 0.312 ms 0/ 893 (0%) Client:~$ iperf -c 10.0.0.1 -u ------------------------------------------------------------ Client connecting to 10.0.0.1, UDP port 5001 Sending 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 10.0.0.22 port 45361 connected with 10.0.0.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec [ 3] Sent 893 datagrams [ 3] Server Report: [ 3] 0.0-10.0 s 1.25 MB 1.05 Mbits/s 0.312 ms 0/ 893 (0%)

Use Case - NSA Network Server Appliance (NSA) Intel PC architecture with some extra bells and whistles 8 identical ethernet Ports

Use Case - NSA Network Server Appliance (NSA) VGA Expansion Slot

Use Case - NSA Network Server Appliance (NSA) Modular design: 4x ports built-in PCI-E 4x port card PCI-(?) Poor performance

Video Streaming 4x I.mx27 CPUs Embedded Linux 4x channel encoding (MPG4 & H.264) 4x channel decoding (NTSC out) Built in Gig Ethernet Switch Ruggadized design Conduction cooled PCB Wide temperature range Thermal overload protection Sealed against water and dust

Video Streaming iperf results: CPU to CPU Max throughput was slow (20 Mbps) Desktop to Desktop via Gig Ethernet switch was good Desktop to CPU was OK (80Mbps) Root cause: Gig Eth Switch was set to auto-neg links Auto-neg was incorrectly detecting Half Duplex Packet Collisions Fix: Disable Auto-Neg on Switch and hard wire config via jumpers

TWC woes When your TWC internet connection is crappy who do you blame? Voice Over IP needs: ~50 Kbps bandwith low latency low jitter bfarrow@pilot:~$ root@openwrt:~# iperf -s -s-u-u [ 3] local x.x.x.x port 5001 connected with x.x.x.x port 56234 The [ ID] program Interval 'iperf' Transfer is currently Bandwidth not installed. Jitter Lost/Total run Datagrams 'iperf' please [ 3] ask 0.0-10.0s your administrator 1.25 MB 1.05 to Mbits/s install 6.138 the package ms 0/ 'iperf' 893 (0%) bfarrow@work:~$ iperf -c home.dyndns.org -u [ 3] Server Report: [ 3] 0.0-10.0s 1.25 MB 1.05 Mbits/sec 6.137 ms 0/ 893 (0%)

Thanks Authors of iperf: Mark Gates & Alex Warshavsky Jim Ferguson Jon Dugan Feng Qin Kevin Gibbs John Estabrook National Laboratory for Applied Network Research National Center for Supercomputing Applications University of Illinois at Urbana-Champaign License: free software - attribution license