Measuring IP Performance Geoff Huston Telstra. What are you trying to measure? User experience –Responsiveness –Sustained Throughput –Application performance.

Slides:



Advertisements
Similar presentations
Martin Suchara, Ryan Witt, Bartek Wydrowski California Institute of Technology Pasadena, U.S.A. TCP MaxNet Implementation and Experiments on the WAN in.
Advertisements

Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Michele Pagano – A Survey on TCP Performance Evaluation and Modeling 1 Department of Information Engineering University of Pisa Network Telecomunication.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Quality of Service Requirements
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Restricted Slow-Start for TCP William Allcock 1,2, Sanjay Hegde 3 and Rajkumar Kettimuthu 1,2 1 Argonne National Laboratory 2 The University of Chicago.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TDC365 Spring 2001John Kristoff - DePaul University1 Internetworking Technologies Transmission Control Protocol (TCP)
IETF WG Presentation1 Beth Johnson TCP over Satellite (tcpsat)
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
TDC375 Winter 03/04 John Kristoff - DePaul University 1 Network Protocols Transmission Control Protocol (TCP)
Data Communication and Networks
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
Networking. Protocol Stack Generally speaking, sending an message is equivalent to copying a file from sender to receiver.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
All rights reserved © 2006, Alcatel Accelerating TCP Traffic on Broadband Access Networks  Ing-Jyh Tsang 
Switching Techniques Student: Blidaru Catalina Elena.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
AQM Recommendation Fred Baker. History At IETF 86, TSVAREA decided to update the recommendation of RFC 2309 to not recommend the use of RED Argument:
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
Transport Layer 4 2: Transport Layer 4.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Exploring the Packet Delivery Process Chapter
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 2. Network Monitoring Metrics.
Sharing Information across Congestion Windows CSE222A Project Presentation March 15, 2005 Apurva Sharma.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transport Layer: TCP and UDP. Overview of TCP/IP protocols Comparing TCP and UDP TCP connection: establishment, data transfer, and termination Allocation.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
Chapter 8: Internet Operation. Network Classes Class A: Few networks, each with many hosts All addresses begin with binary 0 Class B: Medium networks,
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
1 TCP - Part II Relates to Lab 5. This is an extended module that covers TCP data transport, and flow control, congestion control, and error control in.
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
Network design Topic 2 Existing network infrastructure.
Advance Computer Networks Lecture#09 & 10 Instructor: Engr. Muhammad Mateen Yaqoob.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 13 TCP Implementation.
Chapter 11.4 END-TO-END ISSUES. Optical Internet Optical technology Protocol translates availability of gigabit bandwidth in user-perceived QoS.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
LECTURE 12 NET301 11/19/2015Lect NETWORK PERFORMANCE measures of service quality of a telecommunications product as seen by the customer Can.
TCP Traffic Characteristics—Deep buffer Switch
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Bandwidth estimation: metrics, measurement techniques, and tools Presenter: Yuhang Wang.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
By, Nirnimesh Ghose, Master of Science,
Topics discussed in this section:
Approaches towards congestion control
Chapter 3 outline 3.1 transport-layer services
5. End-to-end protocols (part 1)
3 | Analyzing Server, Network, and Client Health
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
CS Lecture 2 Network Performance
Switching Techniques.
Net301 LECTURE 10 11/19/2015 Lect
Network Performance Definitions
The Transport Layer Chapter 6.
Modeling and Evaluating Variable Bit rate Video Steaming for ax
Presentation transcript:

Measuring IP Performance Geoff Huston Telstra

What are you trying to measure? User experience –Responsiveness –Sustained Throughput –Application performance quality –Consistency –Availability Network Behaviour –Routing Stability –Path characteristics Element Behaviour –Subnet characteristics –Switch element behaviour –Switch resource consumption Network availability –Element availability –Transmission path availability –Transmission element BER –Network path availability Path characteristics –Latency –Jitter characteristics –Loss characteristics

Observation Using a combination of active and passive measurement techniques there is a massive set of possible aspects of network behaviour that can be measured Few measurements have any real bearing on the performance characteristics of applications that include some form of network interaction –i.e. theres a difference between measuring any old thing and measuring something relevant and useful If you are going to measure something… –Know why you are measuring it –Understand the limitations of the measurement technique –Understand the limitations of any interpretation of the measurement –Understand who is the consumer of the measurement

IP Performance The end-to-end architectural principle of IP: –The network should not duplicate or mimic functionality that can or should be provided through end-to-end transport-level signalling –IP networks can be seen as queue-controlled passive switching devices connected through fixed delay channels Network performance is the interaction of concurrent end-to-end applications performing a role of mutually enforced resource sharing –The network is not a mediator or controller of an applications resource requirements –Each network transport application behaves in a fair greedy fashion, consuming as much of the networks resources as other concurrent network transport applications will permit

Network Measurement Approaches PING and related probe techniques –Send an ICMP echo request to a target device and measure the time to respond –Often used to interpret some indication of delay, loss and jitter –BUT has little relationship to application performance, as the probe measurement is heavily impacted by the behaviour of the probe and the echo point i.e. beyond being a remote device availability beacon, its of little practical use SNMP –Per-element probe to poll various aspects of an elements current status –Of little practical value in determining end-to-end network performance, as there is a distinct gap between end-to-end path performance and periodic polling of network element state Active Test Traffic –Perform a particular network transaction in a periodic fashion and correlate application performance across invocations –Often measures the performance limitations of the test gear and the target rather than the network –Tests only a small number of network transit paths –Provides only a weak correlation between measurement results and actual end-user experiences of application performance

Maybe asking how to measure network performance is the wrong question How well your car operates is an interaction between the functions and characteristics of the car and the characteristics of the road – trip performance is not just the quality or otherwise of the road How well an application operates across a network is also an interaction between the application and the local host and the interaction by its remote counterparts and their hosts as well as the interaction between the applications transport drivers and other concurrent applications that occur within the network

Analysing a typical network transaction 1.Query the DNS to translate a name to an IP address –This may involve repeated interactions between DNS forwarders and the hierarchy of servers –The elapsed time is a function of the DNS deployment, the domain name in question, the characteristics of the zone file and those of its parents and the state of DNS caches along the forwarding resolution path 2.Start the TCP session –1 ½ RTT interval to complete the 3 way TCP handshake 3.Send the query –1 RTT (data and ACK) 4.Receive data –TCP uses a congestion avoidance algorithm that starts slowly (1 packet per RTT) and then increases the number of packets in flight at each RTT interval until the server protocol window is exhausted or the network drops a packet. In most off-the-shelf host TCP implementations its restricted protocol memory buffers in the host that limit steady state transaction speed, not the network –TCP is designed to adapt its behaviour to share the networks resources across multiple active sessions – there is no fixed TCP Performance metric –Deliberately driving the network path into packet loss is TCPs way of establishing the current point of maximum path capacity

Observations –Most current network transactions take 15 RTT intervals –The most common transaction is a web page pull –i.e. the constraint is the latency between client and server, not necessarily bandwidth –One you have enough bandwidth, more wont help –Altering the speed of light and/or reducing the radius of the planet and/or speeding up tectonic plate drift are about the most effective ways to universally improve network performance –Many performance issues are the result of poor clients (insufficient memory, poor TCP stack, poor application design) and poor servers (insufficient memory, poor TCP stack, poor application design) –A well tuned client and server should drive a network to the point of periodic packet loss –The resultant overall packet loss rate is a function of the average RTT and the average size of network transactions

How to improve Performance –Tune your host and tune your server –Use a decent TCP stack with accurate timers –Increase protocol buffer size –Provide sufficient memory and CPU –Turn on windows scaling –Turn on SACK –Increase CWIN size –Turn on ECN –Turn off fragmentation –Use MSS discovery –Use a massive local MSS upper bound (9K) –Tune the DNS –Use extended TTLs on zones where possible –Use caching forwarders –Use up to date and high quality DNS implementations –Tune the Network –Reduce Latency –Use TCP-friendly queue management (RED) with tuned RED parameters –Turn on ECN –Tune queue sizes to correlate with delay-bandwidth product per link –Increase the MSS –Manage bandwidth resources

One possible approach to measurement... –IETF IPPM Working Group has developed a number of useful standards that describe performance metrics and implementation approaches –My preferred approach is a combination of the IPPM one way metric and the IPPM bulk transfer metric –Statistical sampling of selected paths using one way active probing with clocked data flows –Use TCP headers and TCP congestion control management to mimic end user flow behaviour –Correlate flow behaviour metrics with network events

Observations –IP performance measurement is not a well understood activity with mature tools and a coherent understanding of how to interpret various metrics that may be pulled out from hosts and networks –The complex interaction of applications, host systems, protocols, network switches and transmission systems is at best only weakly understood –But theres a lot of slideware out there claiming to provide The Answer!