IP Network Performance Measurements Bruce Morgan AARNet Pty Ltd.

Slides:



Advertisements
Similar presentations
Surveyor IP Performance Measurements Matt Zekauskas June, 1999 NLANR/I2 Joint Techs.
Advertisements

Measuring IP Performance Geoff Huston Telstra. What are you trying to measure? User experience –Responsiveness –Sustained Throughput –Application performance.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
CSCI 4550/8556 Computer Networks
1 Reading Log Files. 2 Segment Format
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
A Flexible Model for Resource Management in Virtual Private Networks Presenter: Huang, Rigao Kang, Yuefang.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
QoS Solutions Confidential 2010 NetQuality Analyzer and QPerf.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Internet Traffic Patterns Learning outcomes –Be aware of how information is transmitted on the Internet –Understand the concept of Internet traffic –Identify.
TCP/IP Network and Firewall. IP Packet Protocol  1 ICMP packet  6 TCP packet  17 UDP packet.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
User-level Internet Path Diagnosis R. Mahajan, N. Spring, D. Wetherall and T. Anderson.
Internet Bandwidth Measurement Techniques Muhammad Ali Dec 17 th 2005.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Network Measurement Bandwidth Analysis. Why measure bandwidth? Network congestion has increased tremendously. Network congestion has increased tremendously.
Web and Internet Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
IP Performance Measurements using Surveyor Matt Zekauskas Guy Almes, Sunil Kalidindi August, 1998 ISMA 98.
Internet Traffic Management Prafull Suryawanshi Roll No - 04IT6008.
Sven Ubik, CESNET TNC2004, Rhodos, 9 June 2004 Performance monitoring of high-speed networks from NREN perspective.
Process-to-Process Delivery:
Module 1: Reviewing the Suite of TCP/IP Protocols.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Network Monitoring School of Electronics and Information Kyung Hee University. Choong Seon HONG Selected from ICAT 2003 Material of James W. K. Hong.
Reading Report 14 Yin Chen 14 Apr 2004 Reference: Internet Service Performance: Data Analysis and Visualization, Cross-Industry Working Team, July, 2000.
Guide to TCP/IP, Third Edition
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Troubleshooting Your Network Networking for Home and Small Businesses.
1 Transport Layer Computer Networks. 2 Where are we?
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 8 – Denial of Service.
Internet Traffic Management. Basic Concept of Traffic Need of Traffic Management Measuring Traffic Traffic Control and Management Quality and Pricing.
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking Introducing the Application Layer 0.
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
IP and Errors IP Best Effort Datagrams can be: –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 2. Network Monitoring Metrics.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
Section 5: The Transport Layer. 5.2 CS Computer Networks John Mc Donald, Dept. of Computer Science, NUI Maynooth. Introduction In the previous section.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
workshop eugene, oregon What is network management? System & Service monitoring  Reachability, availability Resource measurement/monitoring.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
1 Lecture 14 High-speed TCP connections Wraparound Keeping the pipeline full Estimating RTT Fairness of TCP congestion control Internet resource allocation.
© 2004 AARNet Pty Ltd Measurement in aarnet3 4 July 2004.
Scanning & Enumeration Lab 3 Once attacker knows who to attack, and knows some of what is there (e.g. DNS servers, mail servers, etc.) the next step is.
Lecture 22 Network Security CS 450/650 Fundamentals of Integrated Computer Security Slides are modified from Hesham El-Rewini.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
PART1: IP SLA Voice Performance Measurement and related technologies 1.
D-Link TSD 2009 workshop D-Link Net-Defends Firewall Training ©Copyright By D-Link HQ TSD Benson Wu.
DoS/DDoS attack and defense
Internet Connectivity and Performance for the HEP Community. Presented at HEPNT-HEPiX, October 6, 1999 by Warren Matthews Funded by DOE/MICS Internet End-to-end.
Development of a QoE Model Himadeepa Karlapudi 03/07/03.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
ITP 457 Network Security Networking Technologies III IP, Subnets & NAT.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
COMPUTER NETWORKS Hwajung Lee. Image Source:
Connect communicate collaborate Performance Metrics & Basic Tools Robert Stoy, DFN EGI TF, Madrid September 2013.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Voice Performance Measurement and related technologies
LESSON Networking Fundamentals Understand TCP/IP.
Network Tools and Utilities
8 Network Layer Part V Computer Networks Tutun Juhana
Presentation transcript:

IP Network Performance Measurements Bruce Morgan AARNet Pty Ltd

Just checking… Why metrics? Metrics are important to identify network related issues especially performance Metrics can be diverse No one metric is suitable for all needs

Types of Measurement Active Measurement  Injecting measurement data into the network  E.g. UDP, TCP, ICMP packets Passive Measurement  Measuring what is there already

The Problem Measurement of the network cloud is difficult – but is essential if we are to gauge user perception of the internet

The World Wide Wait Some problems are host based, while others are network based: Physical latency Network queuing and delays Server processing delay Timeouts and packet loss TCP protocol delays

The Dark Cloud Diverse network paths Asymmetric paths Policy routing Committed Access Rates Firewalls and filters

IP Performance Metrics Framework spelt out in RFC 2330 from the IPPM Working Group Goal: “to achieve a situation in which users and providers of Internet transport service have an accurate common understanding of the performance and reliability of the Internet component 'clouds' that they use/provide.”

On the Standards track… RFC 2678 IPPM Metrics for Measuring Connectivity RFC 2679 A One-way Delay Metric for IPPM. RFC 2680 A One-way Packet Loss Metric for IPPM. RFC 2681 A Round-trip Delay Metric for IPPM.

A One-way Delay Metric Type-P-One-way-Delay The P is for protocol A Poisson distribution is chosen to inject packets Both source and destination require time synchronisation

A Round-trip Delay Metric Many applications do not perform well with large end to end delays Ease of deployment compared to one-way metrics Ease of interpretation

Ping Two way path measurement based on RTTs (return trip times) Choice of monitored address  Host  Router interface  Router Loopback address

Packet Loss on ICMP Loss Asymmetry  Loss = 1 – ((1 – Lossfwd).(1-Lossrcv)) Path Asymmetry Possibility of Internet Service Providers (ISPs) or sites or even hosts rate limiting (including complete blocking) ICMP echo and thus giving rise to invalid packet loss measurements.

PingER (Ping End-to-end Reporting) is the name given to the Internet End-to-end Performance Measurement (IEPM) project to monitor end-to- end performance of Internet link Uses ICMP RTT for measurement

Surveyor Dedicated PC running Unix at key sites GPS for clock synchronization One way delay & loss measurements Community is Internet 2 clients, HEP sites collaborating with Surveyor

PingER/Surveyor Comparison PingER uses the ICMP echo facility (ping) and thus only makes round trip measurements. PingER Surveyor uses a GPS system to synchronise time between sites and makes one way measurements.

PingER/Surveyor Comparison Surveyor requires a dedicated platform (PC) to be installed at each site that is monitored, whereas PingER uses an existing host with no special software installed at the monitored site. PingER cheaper!

PingER/Surveyor Comparison Surveyor is more accurate and better for short term measurement, especially for sites which have good connectivity. PingER is a more light weight solution, requires less management, uses less bandwidth, requires less storage, and nothing needs to be installed at the remotely monitored sites and is good for remote sites with poor connectivity.

PingER/Surveyor Comparison SurveyorPingER Method1 way delay2 way ping Hostsdedicatedselected Frequency~2*2/s~ 0.01/s TimingPoisson bursty (30 min intervals) Monitors~3018 Remotes~30 (~full mesh) ~300 (hierarchical) Pairs~900~1200 Storage~38Mbytes / pair / mo ~ 0.6 Mbytes / pair / mo

PingER - Surveyor Complementarity Agree well Surveyor has one way measurements, PingER only round-trip Surveyor dedicated platforms & strong central management experience with PingER shows this has benefits. PingER more parsimonious/lightweight (bandwidth, disk space, cpu) but necessarily less accurate especially at small (hourly) time resolution on low loss links. PingER good for looking at long term trends & grouping where statistics are less a problem

TCP SYN / ACK tools In order to truly measure Web traffic, which is almost entirely TCP/IP traffic, it is best to probe using TCP/IP rather than ICMP SYN/ACK mechanism proves useful for this purpose

TCP SYN/ACK tools 3 way handshake Send SYN seq=x Receive SYN Send SYN seq=y, ACK x+1 Receive SYN +ACK Send ACK y+1 Receive ACK

TCP SYN/ACK Connection request by a SYN and measures the time taken by the target to respond with an ACK The connection is promptly cleared by another exchange of packets, this time containing the FIN control flag.

TCP SYN/ACK tools

MetricPingSYN/ACK Samples30000 Average161.6 ms158.0 ms Standard Deviation 33.0 ms11.6 ms Median154.4 ms153.0 ms Minimum151 ms150 ms Maximum1222 ms610 ms Lost packets 528 (1.76%)469 (1.56%)

TCP SYN/ACK tools

Sting Sting is a TCP-based network measurement tool that measures end-to-end network path characteristics. sting is unique because it can estimate one-way properties, such as loss rate, through careful manipulation and observation of TCP behaviour. Avoids increasing problems with ICMP-based network measurement (blocking, spoofing, rate limiting, etc).

Current AARNet Measurements MRTG Perf  ICMP RTT measurements  ICMP Packet Loss measurements Wa  Host/endpoint reachability TCP HTTP file transfer measurements Netflow data

MRTG Uses SNMP interface statistics Provides multi-functionality from router temperature to throughput Visualisation package Lacks granularity with time Deployed at each RNO

MRTG graphs WARNO/ International traffic on June 18 WARNO / VRNO traffic on June 18

Perf Tool Perfd – uses a bsd based ping for RTT and packet Loss calculation Perf – web display tool of the data Deployed at each RNO to measure all points of the mesh Used to check SLA agreement with Cable and Wireless Optus

Perf – LA Cable 21 June 2000 ICMP Loss

Perf – LA Cable 21 June 2000 ICMP RTT

Perf – Optus IA3 21 June 2000 Packet Loss

Perf – Optus IA3 21 June 2000 ICMP RTT

Perf 6 June Optus international ICMP Loss

Perf 6 June Optus international ICMP RTT

Perf 6 June ACTRNO ICMP Loss

Perf 6 June ACTRNO ICMP RTT

WA “what’s alive” is based on nocol Checks reachability of hosts/endpoints Uses ICMP echo, but could be easily extended to check on service level availablity Frequent check of all hosts

TCP based Measurements Uses an active http file transfer Measure at host Measure from Netflow records  Can detect retransmissions  These may occur from packet loss/out of sequence packets in either direction

Load balancing impacts Can use contiguous IP addresses on monitoring machine to monitor per destination load balancing Monitoring machine can determine performance on link but unable to determine which link is used. If a link fails then traffic will divert to other links

Load Balancing – round robin

Load Balancing – per packet

Load Balancing – 14 May

Flows… A flow is taken to be either a bidirectional or unidirectional communication between a source and destination host. The communication shares an address/port correspondence. The biggest indicator of scan/DOS attacks are generally flow records!

Netflow Records We keep detailed Flow records  Timestamps and durations  Source/destination addresses  Protocol Types  Cumulative IP Flags  ICMP control types

Netflow Records Useful for determining metric targets eg top 100 WWW hosts Can derive useful measurements from the netflow data itself Be wary on derived throughput – flows can take a long time.

What are the choices? Various tools and methods are available No one tool is good for everything Combinations of tools, both passive and active, leads to interesting and more detailed analysis

AARNet futures… Deployment of measurement machines Monitoring and measuring ICMP, TCP and UDP Monitoring QOS Deploying one-way and round-trip metrics To ensure the network does what its supposed to do…