iperf a gnu tool for IP networks

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

1 Ports and IPv6. 2 Ports Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP), used for communication Generally speaking, a computer.
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
Iperf Tutorial Jon Dugan Summer JointTechs 2010, Columbus, OH.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
Introduction to Transport Layer. Transport Layer: Motivation A B R1 R2 r Recall that NL is responsible for forwarding a packet from one HOST to another.
Mapping a Network by Latency (and other things) Client connecting to , UDP port.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Internet Bandwidth Measurement Techniques Muhammad Ali Dec 17 th 2005.
All rights reserved © 2006, Alcatel Accelerating TCP Traffic on Broadband Access Networks  Ing-Jyh Tsang 
The Transport Layer.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Transport Layer Protocols – UDP and TCP Asst.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
The Transport Layer.

The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
All Rights Reserved © Alcatel-Lucent | TIA 30.3 Contribution | August 2010 Telecommunications Industry AssociationTR-30.3/ Arlington, VA.
Chapter 2 Applications and Layered Architectures Sockets.
1 Figure 3-27: Use of TCP and UDP Port Number Client From: :50047 To: :80 SMTP Server Port 25 Webserver.
Scavenger performance Cern External Network Division - Caltech Datagrid WP January, 2002.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
NLANR The National Laboratory for Applied Network Research funded by the National Science Foundation, provides engineering,
Presented by Rebecca Meinhold But How Does the Internet Work?
Networking Basics CCNA 1 Chapter 11.
BNL PDN Enhancements. Perimeter Load Balancers Scaleable Performance Fault Tolerance Server Maintainability User Convenience Perimeter Security.
1 User Datagram Protocol. 2 Transport Protocols Provide logical communication between application processes running on different hosts Run on end hosts.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
1 Network Communications A Brief Introduction. 2 Network Communications.
Connect communicate collaborate Performance Metrics & Basic Tools Robert Stoy, DFN EGI TF, Madrid September 2013.
1 K. Salah Application Layer Module K. Salah Network layer duties.
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
WTG – Wireless Traffic Generator Presented by: Lilach Givaty Supervised by: Dr. Yehuda Ben-Shimol, Shlomi Atias.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
Distributed Systems1 Socket API  The socket API is an Interprocess Communication (IPC) programming interface originally provided as part of the Berkeley.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
UDP Socket Programming
Introduction to Networks
The Transport Layer Implementation Services Functions Protocols
UDP TCP.
Unit-7 The Transport Layer.
Instructor Materials Chapter 9: Transport Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 6 The Transport Layer.
Magda El Zarki Professor, ICS UC, Irvine
Introduction to Networks
Transport Layer Unit 5.
I. Basic Network Concepts
Multimedia and Networks
Process-to-Process Delivery:
Starting TCP Connection – A High Level View
A tool for locating QoS failures on an Internet path
CPEG514 Advanced Computer Networkst
Internet Applications & Programming
ITECH1102 Networking and Security
The Transport Layer Chapter 6.
Kyle Broussard, Alexandra Mikolai,
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
The TCP/IP Model.
Review of Internet Protocols Transport Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer 9/22/2019.
Presentation transcript:

iperf a gnu tool for IP networks Oscar Mederos

iperf – a GNU tool for testing network throughput & capacity clinet/server model with support for biderectional communication Support for tcp and udp data streams Tcp – transmission control protocol slower but verifies traffic arrived at sender (email, http, etc.) Udp – user datagram protocol, faster than tcp but no verification that packet arrived at destination (VoIP, nfs, tftp)

iperf Bandwidth is best measured through tcp (because of syn/ack) To start a simple 1 way test have 2 machines on a network(including the internet) running iperf one as client and one as server with: iperf -c ip of server and one as: iperf -s Iperf client will create a tcp connection over port 50001 to the server Client: oscar@vector:~$ iperf -c wolf.cs.fiu.edu ------------------------------------------------------------ Client connecting to wolf.cs.fiu.edu, TCP port 5001 TCP window size: 16.0 KByte (default) [ 3] local 131.94.133.55 port 54391 connected with 131.94.130.46 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 103 MBytes 86.7 Mbits/sec

Server response: omede001@wolf:/homes/esj/work/benchmarks/iperf-2.0.2 16% ./iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) [ 4] local 131.94.130.46 port 5001 connected with 131.94.133.55 port 54391 [ 4] 0.0-10.0 sec 103 MBytes 86.4 Mbits/sec

Useful switches: -d for bidirectional, by default only client – server is measured -w (size) change tcp window size between 2 and 65,535 bytes, On Linux systems, when specifying a TCP buffer size with the -w argument, the kernel allocates double as much as indicated. Communication port (-p), timing (-t) and interval (-i) the -p must be set on both the client and server connection strings.

UDP The UDP tests with the -u argument will give invaluable information about jitter and the packet loss. The jitter value is particularly important on network links supporting voice over IP (VoIP) because a high jitter can break a call.The -b argument allows the allocation if the desired bandwidth.

UDP server omede001@wolf:/homes/esj/work/benchmarks/iperf-2.0.2 17% ./iperf -sui 1 ------------------------------------------------------------ Server listening on UDP port 5001 Receiving 1470 byte datagrams UDP buffer size: 108 KByte (default) [ 3] local 131.94.130.46 port 5001 connected with 131.94.133.55 port 39078 [ 3] 0.0- 1.0 sec 1.19 MBytes 10.0 Mbits/sec 0.031 ms 0/ 850 (0%) [ 3] 1.0- 2.0 sec 1.19 MBytes 10.0 Mbits/sec 0.046 ms 0/ 850 (0%) [ 3] 2.0- 3.0 sec 1.19 MBytes 10.0 Mbits/sec 0.036 ms 0/ 850 (0%) [ 3] 3.0- 4.0 sec 1.19 MBytes 10.0 Mbits/sec 0.923 ms 0/ 850 (0%) [ 3] 4.0- 5.0 sec 1.19 MBytes 10.0 Mbits/sec 0.030 ms 0/ 851 (0%) [ 3] 5.0- 6.0 sec 1.19 MBytes 10.0 Mbits/sec 0.037 ms 0/ 850 (0%) [ 3] 6.0- 7.0 sec 1.19 MBytes 10.0 Mbits/sec 0.035 ms 0/ 850 (0%) [ 3] 7.0- 8.0 sec 1.19 MBytes 10.0 Mbits/sec 0.032 ms 0/ 850 (0%) [ 3] 8.0- 9.0 sec 1.19 MBytes 10.0 Mbits/sec 0.041 ms 0/ 851 (0%) [ 3] 9.0-10.0 sec 1.19 MBytes 10.0 Mbits/sec 0.310 ms 0/ 850 (0%) [ 3] 0.0-10.0 sec 11.9 MBytes 10.0 Mbits/sec 0.261 ms 0/ 8504 (0%) [ 3] 0.0-10.0 sec 1 datagrams received out-of-order

UDP client oscar@vector:~$ iperf -c wolf -ub 10m ------------------------------------------------------------ Client connecting to wolf, UDP port 5001 Sending 1470 byte datagrams UDP buffer size: 112 KByte (default) [ 3] local 131.94.133.55 port 39078 connected with 131.94.130.46 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 11.9 MBytes 10.0 Mbits/sec [ 3] Sent 8505 datagrams [ 3] Server Report: [ 3] 0.0-10.0 sec 11.9 MBytes 10.0 Mbits/sec 0.261 ms 0/ 8504 (0%) [ 3] 0.0-10.0 sec 1 datagrams received out-of-order