Network Behaviour & Impairments

Slides:



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

Computer Networks Performance Metrics Computer Networks Term B10.
Introduction 1-1 Chapter 1: Introduction Our goal:  get “feel” and terminology  more depth, detail later in course  approach:  use Internet as example.
CS 381 Introduction to computer networks Chapter 1 - Lecture 3 2/5/2015.
Introduction1-1 CSE4213 Computer Networks II Chapter 1 Introduction Course page:
Introduction1-1 Chapter 1: Introduction Our goal:  get context, overview, “feel” of networking  more depth, detail later in course  approach: m descriptive.
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.
Introduction1-1 Chapter 1: Introduction  get context, overview, “feel” of networking  more depth, detail later in course  approach: m descriptive m.
Network core.
Lecture Internet Overview: roadmap 1.1 What is the Internet? (A simple overview last week) Today, A closer look at the Internet structure! 1.2 Network.
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,
Introduction1-1 Data Communication and Networks Lecture 2 Overview (Part 2) September 16, 2004 Joseph Conron Computer Science Department New York University.
Introduction 1 Lecture 3 Networking Concepts slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
Ch 1. Computer Networks and the Internet Myungchul Kim
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April Reading.
CENG4430 (Spring 2011) 1-1 Lecture 1: Introduction  What to learn?  What is the Internet  Network edge End systems, TCP/UDP  Network core circuit switching,
Last quiz question….
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
2-1 Last time  Course mechanics  What is the Internet?  hosts, routers, communication links  communications services, protocols  Network Edge  client-server,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
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.
Wireless access networks  shared wireless access network connects end system to router  via base station aka “access point”  wireless LANs:  b/g.
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.
Lecture 5: Internetworking: A closer View By Dr. Najla Al-Nabhan Introduction 1-1.
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 CS1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights Reserved.
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.
CE3710 Tutorial FAROOQUI NK. What’s the Internet: “nuts and bolts” view  millions of connected computing devices: hosts = end systems  running network.
IEEE Virtual Reality 2011 Introduction to Networked Graphics Anthony Steed Part 2: Actual Internet Performance Requirements and Constraints.
Four sources of packet delay
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of 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)
DELAYS, LAYERED NETWORK MODEL AND NETWORK SECURITY.
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,
PRACTICAL INTRODUCTION TO INTERNET TECHNOLOGY. Practical one PACKET DELAY AND LOSS IN INTERNET In this experiment, you will observe real delays and loss.
What is the Speed of the Internet? Internet Computing KUT Youn-Hee Han.
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
Computer Networks Performance Metrics Computer Networks Spring 2013.
“Real” Internet delays and routes  What do “real” Internet delay & loss look like?  Traceroute program: provides delay measurement from source to router.
1 Ram Dantu University of North Texas, Practical Networking.
Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.
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.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
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
CS 381 Introduction to computer networks
CS 5565 Network Architecture and Protocols
CS4470 Computer Networking Protocols
RSC Part II: Network Layer 1. Basic Concepts
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Session 2 INST 346 Technologies, Infrastructure and Architecture
Computer Networks Performance Metrics
EEC-484/584 Computer Networks
Presentation transcript:

Network Behaviour & Impairments

Network Performance Bandwidth and Throughput Sources/Definitions of latency, jitter and loss

Network properties Latency Jitter Throughput Losses Network Delays – fixed and variable Jitter Variation in Delay: causes and impact Throughput Bandwidth/Capacity: actual/available Losses Packets drops, link and device failures, loops

Latency & Jitter

Reality Check GOLDEN RULE Information propagation IS NOT instantaneous It is not possible for EVERY user to share the EXACT same state at EVERY instance

Impact on the Shared Experience Host C Host A Illustration of Consistency issues by having three different hosts illustrating casual consistency with differences in the updates of an avatar. The host B is the owner of the avatar. In host A, there is a slight delay but then the avatar synchronizes by apparently moving faster than in Host B. The same concerning Host C, where the delay is even greater than in A. Host B

Overview of the Challenge Senses Local Host Mental Model Human Brain Devices Access Network Muscles Human System Network Internal Processing Local Processing Network Processing The total processing time must not exceed the interactive threshold which is determined by Gameplay

Latency and Jitter : Single Host Application System Model Input Simulation Rendering 1 2 3

Latency and Jitter : Networked Host Application System Model Input Simulation Rendering 1 5 2 4 Network Link Physical Internet 3

Latency and Jitter : Client and Server Application System Model Input Simulation Rendering 6 1 2 5 Network Link Physical Internet 3 4 Server Application Simulation

Latency and Jitter : Single Host Application Device Input Simulation Rendering Display Path A Figure 10.1 (Top)

Latency and Jitter : Client and Server Client Application Network Link Physical Input Simulation Rendering Device Display Server Application Path C Path D Path B Figure 10.1 (Bottom)

Latency : Network Perspective Input Queues Output Queues Routing Table Handler

Latency : Network Perspective Input Queues Output Queues Latency Latency Routing Table Latency Handler Sources of latency: Input queue : Queuing latency Processing and error bit checking Output queue : Queuing latency

Network Delay : 4 Components Router Transmission Delay Sender Handle Propagation Delay Handling/Processing Delay Queuing Delay Receiver Router Router Figure 10.2

How do loss and delay (latency/lag) occur? packets queue in router buffers packet arrival rate to link exceeds output link capacity packets queue, wait for turn packet being transmitted (transmission delay) A free (available) buffers: arriving packets dropped (loss) if no free buffers packets queueing (queueing delay) B

Four sources of packet delay 2. queueing: time waiting at output link for transmission (can also be incurred at input to router, waiting for processing) depends on congestion level of router 1. nodal processing: check bit errors determine output link A B propagation transmission nodal processing queueing

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

A note on Queueing delay 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 > 1: more “work” arriving than can be serviced, average delay infinite!

Total delay dtotal = dnodalproc+ dqueue+ dtrans+ dprop dnodalproc = processing delay in the node (router) typically a few microsecs or less dqueue = queuing delay depends on congestion dtrans = transmission delay = L/R, significant for low-speed links dprop = propagation delay a few microsecs to hundreds of msecs

“Real” Internet delays and routes What do “real” Internet delay & loss look like? Traceroute program: provides delay measurement from source to router along end-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

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)

Traceroute Command Man pages will give you the full options that can be used with traceroute Example below specifies the time to wait ‘w’ for a response before giving up (5secs default), the number of queries ‘q’ to send (3 default), and max number of hops ‘m’ to reach destination (30 default) traceroute -w 3 -q 1 -m 16 test.com

Jitter Jitter is: Variation in packet delay Causes Variation in packet lengths -> different transmission times Variation in path lengths -> no fixed paths in the Internet Jitter is caused by the technology of the Internet Routers are capacity bound and demand on routers changes rapidly Some link layers (notably wireless) are shared medium so transmitters will conflict

Jitter Sender Receiver Client A sends at fixed intervals Client B receives at irregular intervals Figure 10.4 Sometimes packets arrive after interval deadline Sender Receiver

Variance of inter-packet arrival times Correct spacing Gaussian distribution Observed distribution Frequency of occurrence Interpacket arrival time

Latency and Jitter : Network Perspective Jittered Timing Regular Timing Internet Sender Receiver Network Latency Transmission Delay : time it takes to put a packet on the outgoing link Propagation Delay : time it takes for the packet to arrive at destination

Difference: Jitter and Latency Latency and Jitter affect streams of packets travelling across the network

Network Latency Estimate Network Latency Estimate = ((TA1 – TA0) - (TB1 – TB0))/2 Clock Offset Estimate = (TB0 - TA0) – Network Latency Estimate ClientA ClientB TA0 TA1 TB0 TB1 Figure 10.6

Network Jitter Estimate Sender TS0 Receiver TS1 TR0 TR1 Figure 10.4 Jitter Estimate = (TR1 – TR0) - (TS1 – TS0) Jitter Moving Averagei = a x Jitter Estimatei + (1-a) x Jitter Moving Averagei-1 where 0 < a < 1

Throughput & Loss

Network Bandwidth/Capacity Bandwidth is a shared resource At local level we share the wireless or share a home or office router However probably, the bottleneck is likely to be upstream to our ISP ISP have intra-ISP bottlenecks The destination site (BBC, Facebook) might have inbound capacity limits

Loss Another GOLDEN RULE Packet Loss is a Good Thing It is the Internet’s defence against failure Dropping packets (hopefully) causes senders (processes or users) to rate-limit

Loss : Network Perspective Input Queues Output Queues Loss Routing Table Handler Queue is full, packet is dropped

Packet loss queue (aka buffer) preceding link has finite capacity packet arriving to full queue dropped (aka lost) 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 lost

Throughput : Network Perspective Throughput : number of bits per time of unit

Throughput : Network Perspective Throughput : number of bits per time of unit Potential Loss and Increased Delay

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) link capacity Rs bits/sec link capacity Rc bits/sec server sends bits (fluid) into pipe server, with file of F bits to send to client

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-2-end path that constrains end-2-end throughput, i.e., the smallest/narrowest link bottleneck link

STATE OF THE INTERNET

Bandwidth and Latency: Wired Broadband is now common in homes 500Kbps – 1Gbps Depends on technology (twisted-pair v. optical) Offices have always been different 1Gbps Ethernet, switched (not shared) is common Outbound varies enormously Low Latency

Bandwidth and Latency: Wireless 2G Don’t try, run web or sms-based applications! 3G / 4G 3G: ~2.4Mbps 4G: 100Mbps – 1Gbps 802.11a-n, ac b: 11 Mbps g: 54 Mbps n: 74 Mbps ac: 150Mbps Latency is moderate-poor: its shared bandwidth

Effect of distance on throughput and download times Based on (Leighton, 2009)