Papeete, Tahiti Performance Metrics & Analysis Unix & Network Management Workshop PacNOG5 17 June 2009 Hervey Allen / Phil Regnauld Original.

Slides:



Advertisements
Similar presentations
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Advertisements

CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
24-1 Chapter 24. Congestion Control and Quality of Service (part 1) 23.1 Data Traffic 23.2 Congestion 23.3 Congestion Control 23.4 Two Examples.
CS 408 Computer Networks Congestion Control (from Chapter 05)
Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Computer Networks Performance Metrics Advanced Computer Networks.
Internetworking Fundamentals (Lecture #1) Andres Rengifo Copyright 2008.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Performance Modeling Computer Science Division Department of Electrical Engineering and Computer.
Internet and Intranet Protocols and Applications Section V: Network Application Performance Lecture 11: Why the World Wide Wait? 4/11/2000 Arthur P. Goldberg.
Data Communication and Networks
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
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.
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
Characteristics of Communication Systems
Brierley 1 Module 4 Module 4 Introduction to LAN Switching.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Networked & Distributed Systems TCP/IP Transport Layer Protocols UDP and TCP University of Glamorgan.
1 Lecture 14 High-speed TCP connections Wraparound Keeping the pipeline full Estimating RTT Fairness of TCP congestion control Internet resource allocation.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
workshop eugene, oregon Network Performance Metrics Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA Original Materials.
Computer Networks with Internet Technology William Stallings
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
2010 kigali, rwanda Network Performance Metrics Unix/IP Preparation Course May 23, 2010 Kigali, Rwanda Original Materials by.
Transport Layer: Sliding Window Reliability
LECTURE 12 NET301 11/19/2015Lect NETWORK PERFORMANCE measures of service quality of a telecommunications product as seen by the customer Can.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
Day 13 Intro to MANs and WANs. MANs Cover a larger distance than LANs –Typically multiple buildings, office park Usually in the shape of a ring –Typically.
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.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
1. Layered Architecture of Communication Networks: Circuit Switching & Packet Switching.
Computer Networking Lecture 16 – Reliable Transport.
Chapter 28 Q and A IS 333 Spring A quiz question Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer.
Network Processing Systems Design
Chapter 5 Network and Transport Layers
Network Performance Metrics
Transport Layer Unit 5.
Congestion Control (from Chapter 05)
Net301 LECTURE 10 11/19/2015 Lect
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Network Performance Definitions
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Process-to-Process Delivery: UDP, TCP
Congestion Control (from Chapter 05)
Computer Networks Protocols
Presentation transcript:

Papeete, Tahiti Performance Metrics & Analysis Unix & Network Management Workshop PacNOG5 17 June 2009 Hervey Allen / Phil Regnauld Original Materials in Spanish by Carlos Vicente, University of Oregon Network Services

Papeete, Tahiti Contents Planning performance management Metrics Network Systems Services Measurement examples

Papeete, Tahiti Planning What's the intention? Baselining, Troubleshooting, Planning growth Defend yourself from accusations -”it's the network!” Who is the information for? Administration, NOC, customers How to structure and present the information Reach: Can I measure everything? Impact on devices (measurements and measuring) Balance between amount of information and time to get it

Papeete, Tahiti Metrics Network performance metrics Channel capacity, nominal & effective Channel utilization Delay and jitter Packet loss and errors System performance metrics Availability Memory, CPU Utilization, load, I/O wait, etc. Service performance metrics

Papeete, Tahiti Common network performance measurements Relative to traffic:  Bits per second  Packets per second  Unicast vs. non-unicast packets  Errors  Dropped packets  Flows per second  Round trip time (RTT)  Jitter (variation between packet RTT)

Papeete, Tahiti Nominal channel capacity The maximun number of bits that can be transmitted for a unit of time (eg: bits per second) Depends on:  Bandwidth of the physical medium Cable Electromagnetic waves  Processing capacity for each transmission element  Efficiency of algorithms in use to access medium  Channel encoding and compression

Papeete, Tahiti Effective channel capacity Always a fraction of the nominal channel capacity Dependent on: Additional overhead of protocols in each layer Device limitations on both ends Flow control algorithm efficiency, etc. For example: TCP

Papeete, Tahiti What fraction of the nominal channel capacity is actually in use Important!  Future planning What utilization growth rate am I seeing? For when should I plan on buying additional capacity? Where should I invest for my updates?  Problem resolution Where are my bottlenecks, etc. Channel utilization

Papeete, Tahiti 95 th Percentile The smallest value that is larger than 95% of the values in a given sample This means that 95% of the time the channel utilization is equal to or less than this value  Or rather, the peaks are discarded from consideration Why is this important in networks?  Gives you an idea of the standard, sustained channel utilization.  ISPs use this measure to bill customers with “larger” connections.

Papeete, Tahiti 95 th Percentile

Papeete, Tahiti Bits per second vs Packets p.s.

Papeete, Tahiti End-to-end delay The time required to transmit a packet along its entire path  Created by an application, handed over to the OS, passed to a network card (NIC), encoded, transmitted over a physical medium (copper, fibre, air), received by an intermediate device (switch, router), analyzed, retransmitted over another medium, etc.  The most common measurement uses ping for total round- trip-time (RTT).

Papeete, Tahiti Historical measurement of delay

Papeete, Tahiti Types of Delay Causes of end-to-end delay Processor delays Buffer delays Transmission delays Propagation delays

Papeete, Tahiti Processing delay Required time to analyze a packet header and decide where to send the packet (eg. a routing decision)  Inside a router this depends on the number of entries in the routing table, the implementation of data structures, hardware in use, etc. This can include error verification / checksumming (i.e. IPv4, IPv6 header checksum)

Papeete, Tahiti Queuing Delay The time a packet is enqueued until it is transmitted The number of packets waiting in the queue will depend on traffic intensity and of the type of traffic Router queue algorithms try to adapt delays to specific preferences, or impose equal delay on all traffic.

Papeete, Tahiti Transmission Delay The time required to push all the bits in a packet on the transmission medium in use For N=Number of bits, S=Size of packet, d=delay d = S/N For example, to transmit 1024 bits using Fast Ethernet (100Mbps) d = 1024/1x10e8 = micro seconds

Papeete, Tahiti Once a bit is 'pushed' on to the transmission medium, the time required for the bit to propagate to the end of its physical trajectory The velocity of propagation of the circuit depends mainly on the actual distance of the physical circuit  In the majority of cases this is close to the speed of light. For d = distance, s = propagation velocity PD = d/s Propagation Delay

Papeete, Tahiti Transmission vs. Propagation Can be confusing at first Consider this example:  Two 100 Mbps circuits 1 km of optic fiber Via satellite with a distance of 30 km between the base and the satellite  For two packets of the same size which will have the larger transmission delay? Propagation delay?

Papeete, Tahiti Occur due to the fact that buffers are not infinite in size  When a packet arrives to a buffer that is full the packet is discarded.  Packet loss, if it must be corrected, is resolved at higher levels in the network stack (transport or application layers)  Loss correction using retransmission of packets can cause yet more congestion if some type of (flow) control is not used (to inform the source that it's pointless to keep sending more packets at the present time) Packet Loss

Papeete, Tahiti Jitter

Papeete, Tahiti Flow Control and Congestion Limits the transmission amount (rate) because the receiver cannot process packets at the same rate that packets are arriving. Limit the amount sent (transmission rate) because of loss or delays in the circuit.

Papeete, Tahiti Controls in TCP IP (Internet Protocol) implements service that not connection oriented.  There is no mechanism in IP to deal with packet loss. TCP (Transmission Control Protocol) implements flow and congestion control.  Only on the ends as the intermediate nodes at the network level do not talk TCP

Papeete, Tahiti Congestion vs. Flow in TCP Flow: controlled by window size (RcvWindow), which is sent by the receiving end. Congestion: controlled by the value of the congestion window (Congwin)  Maintained independently by the sender  This varies based on the detection of packets lost Timeout or receiving three ACKs repeated  Behaviors: Additive Increments / Multiplicative Decrements (AIMD) Slow Start React to timeout events

Papeete, Tahiti Different TCP Congestion Control Algorithms

Papeete, Tahiti Systems Measurements Availability Unix/Linux Systems: CPU usage Kernel, System, User, IOwait Memory usage Real and Virtual Load

Papeete, Tahiti Availability

Papeete, Tahiti CPU Usage

Papeete, Tahiti Memory

Papeete, Tahiti System load (I/O / CPU wait states)

Papeete, Tahiti Measuring services The key is to choose the most important measurements for each service Ask yourself: How is service degradation perceived Wait time / Delay Availability? How can I justify maintaining the service? Who is using it? How often? Economic value? Other value?

Papeete, Tahiti Web server usage

Papeete, Tahiti Response Time (Web server)

Papeete, Tahiti Response Time (DNS Server)

Papeete, Tahiti DNS Measurements

Papeete, Tahiti DNS Measurements

Papeete, Tahiti Mail Server Statistics Counters by mailer (local, SMTP, etc.) Number of received/sent messages Number of received/sent bytes Number of rejected messages Number of dropped messages Very important: number of queued messages Delivery rate Direction (inbound, outbound, inside, outside)

Papeete, Tahiti Sendmail Statistics

Papeete, Tahiti Web Proxy Measurements Number of requests per seconds Requests served locally vs. those requested externally Web destination diversity Efficiency of our web proxy Number of elements stored on disk vs. in memory

Papeete, Tahiti Squid Statistics

Papeete, Tahiti DHCP Statistics

Papeete, Tahiti Questions ?