Computer Networks Performance Metrics

Slides:



Advertisements
Similar presentations
Computer Networks Performance Metrics Advanced Computer Networks Fall 2013.
Advertisements

Computer Networks Performance Metrics Computer Networks Term B10.
Computer Networks Performance Metrics Advanced Computer Networks.
CS 381 Introduction to computer networks Chapter 1 - Lecture 3 2/5/2015.
Networks: Introduction1 Course Objectives 1.To introduce the student to the major concepts involved in wide-area networks (WANs) and local area networks.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
Computer Networks: Performance Measures1 Computer Network Performance Measures.
Networks: Performance Measures1 Network Performance Measures.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Introduction 1 Lecture 3 Networking Concepts slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 7 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Networking Networking 101 Notes are adapted from chapter-1 in the textbook Multimedia Streaming {week-2} Mohamed Abdel-Maguid Computer Networking:
How do loss and delay occur?
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Introduction 1-1 “Real” Internet delays and routes  What do “real” Internet delay & loss look like?  Traceroute program: provides delay measurement from.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Introduction Chapter 1: roadmap 1.1 what is the Internet? 1.2 network edge  end systems, access networks, links 1.3 network core  packet switching, circuit.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Computer Networks Performance Metrics
Introduction1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure.
Four sources of packet delay
Introduction 1-1 Chapter 1 Part 3 Delay, loss and throughput These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose,
CS 3830 Day 4 Introduction 1-1. Announcements  No office hour 12pm-1pm today only  Quiz on Friday  Program 1 due on Friday (put in DropBox on S drive)
Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
EEC-484/584 Computer Networks
Chapter 1: roadmap 1.1 what is the Internet? 1.2 network edge  end systems, access networks, links 1.3 network core  packet switching, circuit switching,
What is the Speed of the Internet? Internet Computing KUT Youn-Hee Han.
Network Behaviour & Impairments
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
LECTURE 12 NET301 11/19/2015Lect NETWORK PERFORMANCE measures of service quality of a telecommunications product as seen by the customer Can.
Computer Networks Performance Metrics Computer Networks Spring 2013.
1 Ram Dantu University of North Texas, Practical Networking.
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.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
What’s the Internet: “nuts and bolts” view
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.
Introduction to Networks
Computer Networks CS1652 Jack Lange University of Pittsburgh
Lec # 22 Data Communication Muhammad Waseem Iqbal.
Administrative Things
CS 381 Introduction to computer networks
CS 5565 Network Architecture and Protocols
CS 5565 Network Architecture and Protocols
Chapter 1: roadmap 1.1 what is the Internet? 1.2 network edge
CS4470 Computer Networking Protocols
RSC Part II: Network Layer 1. Basic Concepts
Chapter 1 Introduction Reading assignment: Chapter 1 of Kurose & Ross
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Computer Network Performance Measures
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
CS Lecture 2 Network Performance
Session 2 INST 346 Technologies, Infrastructure and Architecture
Computer Network Performance Measures
Net301 LECTURE 10 11/19/2015 Lect
How do loss and delay occur?
EEC-484/584 Computer Networks
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Network Performance Definitions
Lecture 1: introduction
Lecture 2 Application Layer
Ram Dantu University of North Texas,
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Ram Dantu University of North Texas,
Presentation transcript:

Computer Networks Performance Metrics Advanced Computer Networks Fall 2014

Performance Metrics Outline Warning: Terminologies can differ!! Introduction to Queueing Model Generic Performance Metrics Components of Hop and End-to-End Packet Delay Traceroute Tool Other Performance Measures Summary Advanced Computer Networks Performance Metrics

Terminology Differences Textbook authors, researchers and companies will have different rules and meanings for network performance terms, specifically: Bandwidth versus capacity Link versus channel Latency versus delay versus RTT ** For this course’s exams, use my definitions!! Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics X Z W1 W2 W Y Host L W3 AP Host M Host A 2 3 4 W4 1 Host B 5 16 nodes 14 Host J 11 17 Host C 12 15 6 13 10 7 Host H 9 Host D 8 Host G Host E Host F Advanced Computer Networks Performance Metrics

How do Loss and Delay occur? packets queue in router buffers when the sum of the packet arrival rates at the router exceeds the output link capacity. packet being transmitted (delay) 15 17 14 free (available) buffers: arriving packets dropped (loss) if no free buffers packets queueing (delay) 12 K & R Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Simple Queueing Model Customer Arrivals Server Queue Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Router Node node 15 packet packet 17 Incoming Link Outgoing Link Server Router Buffer Advanced Computer Networks Performance Metrics

Generic Performance Metrics Utilization :: the percentage of time a device is busy servicing a “customer”. Throughput :: the number of jobs processed by the “system” per unit time. Response time :: the time required to receive a response to a request (round-trip time (RTT) ). Delay :: the time to traverse from one end to the other of a system. Advanced Computer Networks Performance Metrics

Network Performance Measures Channel utilization:: the average fraction of time a channel is busy [e.g. Util = 0.8] when overhead is taken into account (i.e., it is excluded from the useful bits sent), channel utilization is often referred to as channel efficiency. Throughput:: bits/sec. successfully sent {includes retransmissions} [e.g. Tput = 10 Mbps] Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Throughput throughput:: rate (bits/time unit) at which bits transferred between sender/receiver instantaneous: rate at given point in time average: rate over longer period of time pipe that can carry fluid at rate Rc bits/sec) pipe that can carry fluid at rate Rs bits/sec) server, with file of F bits to send to client server sends bits (fluid) into pipe link capacity Rs bits/sec link capacity Rc bits/sec K & R Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Throughput (more) Rs < Rc What is average end-end throughput? Rc bits/sec Rs bits/sec Rs > Rc What is average end-end throughput? Rs bits/sec Rc bits/sec link on end-end path that constrains end-end throughput bottleneck link Advanced Computer Networks Performance Metrics

Throughput: Internet Scenario per-connection end-end throughput: min(Rc,Rs,R/10) in practice: Rc or Rs is often the bottleneck The last mile link has capacity Rc. K & R Rs Rs Rs R Rc Rc Rc 10 connections (fairly) share backbone bottleneck link R bits/sec Advanced Computer Networks Performance Metrics

End-to-End Packet Delay End-to-end delay includes multiple hop link delays. Tanenbaum Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Hop Delay Components K & R Advanced Computer Networks Performance Metrics

Four Sources of Packet Delay 1. processing at node: Checking for bit errors determine output link Moving packet from input queue to output queue. Table lookup time (see routing algorithms) 2. queueing delay time waiting at output link for transmission depends on congestion level of router. A B propagation transmission nodal processing queueing K & R Advanced Computer Networks Performance Metrics

Delay in packet-switched networks 3. Transmission delay: R=link bandwidth (bps) L=packet length (bits) time to send bits into link = L/R 4. Propagation delay: d = length of physical link s = propagation speed in medium (~2x108 m/sec) propagation delay = d/s A B propagation transmission nodal processing queueing Note: s and R are very different quantities! Advanced Computer Networks Performance Metrics

End-to-end Packet Delay End-to-end packet delay :: the time to deliver a packet from source to destination Host (or node). {Most often, we are interested in the packet delay within the communications subnet.} This delay is the sum of the delays on each subnet link traversed by the packet. Each link delay consists of four components[B&G Bertsekas and Gallager]: Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Link Packet Delay 1. The processing delay [PROC] between the time the packet is correctly received at the head node of the incoming link and the time the packet is assigned to an outgoing link queue for transmission. 2. The queuing delay [QUEUE] between the time the packet is assigned to a queue for transmission and the time it starts being transmitted. During this time, the packet waits while other packets in the transmission queue are transmitted. Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Link Packet Delay 3. The transmission delay [TRANS] between the times that the first and last bits of the packet are transmitted. 4. The propagation delay [PROP] is between the time the last bit is transmitted at the head node of the link queue and the time the last bit is received at the next router. This is proportional to the physical distance between transmitter and receiver. Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Nodal (Link) Delay dproc = processing delay typically a few microsecs or less dqueue = queueing delay depends on congestion dtrans = transmission delay = L/R, significant for low-speed links dprop = propagation delay a few microsecs to hundreds of msecs K & R Advanced Computer Networks Performance Metrics

End-to-End Packet Delay Link packet delay = PROC + QD + TRANS + PROP end-to-end packet delay = sum of ALL link packet delays. Be Careful !! end-to-end can be defined either: from Host-to-Host or only from end-to-end nodes within the subnetwork. B & G Advanced Computer Networks Performance Metrics

End-to-End Packet Delay End-to-end delay includes multiple hop link delays. Tanenbaum Advanced Computer Networks Performance Metrics

Bandwidth Delay Product (BDP) Amount of data “in flight” or “in the pipe” Sometimes relative to RTT (i.e., 2 x delay) Example: 100ms x 40Mbps = 4 M bits Is this 500 KB? Advanced Computer Networks Performance Metrics

Queueing Delay (revisited) R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate traffic intensity = La/R La/R ~ 0: average queueing delay small La/R -> 1: delays become large La/R = or > 1: more “work” arriving than can be serviced, average delay infinite! K & R Advanced Computer Networks Performance Metrics

“Real” Internet Delays and Routes What do “real” Internet delay & loss look like? Traceroute program: provides delay measurement from source to router along end-to-end Internet path towards destination. For all i: sends three packets that will reach router i on path towards destination router i will return packets to sender. sender times interval between transmission and reply. 3 probes 3 probes 3 probes K & R Advanced Computer Networks Performance Metrics

“Real” Internet delays and routes traceroute: gaia.cs.umass.edu to www.eurecom.fr Three delay measurements from gaia.cs.umass.edu to cs-gw.cs.umass.edu 1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms 2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms 3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms 4 jn1-at1-0-0-19.wor.vbns.net (204.147.132.129) 16 ms 11 ms 13 ms 5 jn1-so7-0-0-0.wae.vbns.net (204.147.136.136) 21 ms 18 ms 18 ms 6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms 7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms 8 62.40.103.253 (62.40.103.253) 104 ms 109 ms 106 ms 9 de2-1.de1.de.geant.net (62.40.96.129) 109 ms 102 ms 104 ms 10 de.fr1.fr.geant.net (62.40.96.50) 113 ms 121 ms 114 ms 11 renater-gw.fr1.fr.geant.net (62.40.103.54) 112 ms 114 ms 112 ms 12 nio-n2.cssi.renater.fr (193.51.206.13) 111 ms 114 ms 116 ms 13 nice.cssi.renater.fr (195.220.98.102) 123 ms 125 ms 124 ms 14 r3t2-nice.cssi.renater.fr (195.220.98.110) 126 ms 126 ms 124 ms 15 eurecom-valbonne.r3t2.ft.net (193.48.50.54) 135 ms 128 ms 133 ms 16 194.214.211.25 (194.214.211.25) 126 ms 128 ms 126 ms 17 * * * 18 * * * 19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms trans-oceanic link * means no response (probe lost, router not replying) K & R Advanced Computer Networks Performance Metrics

Network Performance Measures Latency :: usually implies the minimum possible delay. Latency assumes no queueing and no contention encountered along the path. Goodput :: {measured at the receiver} the rate in bits per second of useful traffic received. Goodput excludes duplicate packets and packets dropped along the path. Fairness :: either Jain’s fairness or max-min fairness are used to measure fair treatment among competing flows. Quality of Service (QoS) :: a QoS measure accounts for importance of specific metric to one type of application [e.g. jitter and playable frame rate for streaming media]. Advanced Computer Networks Performance Metrics

Wireless Performance Metrics WLANs and WSNs are concerned with packet loss and employ additional metrics: Delivery ratio:: the ratio of packets received to packets sent {excluding duplicates and retransmissions}. Packet loss rate:: the percentage of packets lost or dropped. Link layer retransmission rates:: the percentage of DL layer frames that are retransmitted. Advanced Computer Networks Performance Metrics

Packet Loss queue (aka buffer) preceding link in buffer has finite capacity. packet arriving to full queue is dropped (aka lost) [FIFO Drop Tail router]. lost packet may be retransmitted by previous node, by source end system, or not at all. buffer (waiting area) packet being transmitted A B packet arriving to full buffer is dropped. K & R Advanced Computer Networks Performance Metrics

Advanced Computer Networks Performance Metrics Packet/Frame losses BDP often used as ‘rule of thumb’ in choosing size of the FIFO buffer at a router. Other causes of packet/frame loss: Collisions on media (both wired and wireless media {e.g., hidden terminal}) Wireless conditions (SNR, multipath fading) Out-of-order arrival. Advanced Computer Networks Performance Metrics

Performance Metrics Summary The three most general performance measures are : utilization, throughput and response time. In computer networks, end-to-end delay is an important performance metric. Queueing models are used to analyze and estimate computer network performance. Advanced Computer Networks Performance Metrics

Performance Metrics Summary Other useful metrics include: latency, goodput, fairness and QoS metrics such as jitter or playable frame rate. In wireless networks, delivery ratio, packet loss rate and link layer retransmission rates are valuable network measures. Advanced Computer Networks Performance Metrics