Delay, loss, layered architectures. packets queue in router buffers. packets queueing (delay)



Similar documents
Internet structure: network of networks

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

ECE/CS 372 introduction to computer networks. Lecture 2. Midterm scheduled for Tuesday, May 7 th

Network Overview. The network edge: The network edge: Internet Services Models. The network edge: A closer look at network structure:

Chapter 1 Computer Networks and the Internet

Chapter 1: Introduction. Chapter 1: roadmap. What is the Internet? Introduction to Computer Networks 計 算 機 網 路 概 論

Roadmap. Cool internet appliances. Introduction to Computer Networks. What s the Internet: nuts and bolts view

Chapter 1 Introduction

Introduction cont. Some Structure in the Chaos. Packet switching versus circuit switching. Access networks and physical media

How To Understand The Internet Of S (Netware)

Chapter 1: Introduction. Chapter 1 Introduction. Chapter 1: roadmap. Cool internet appliances. What s the Internet: nuts and bolts view

Layered protocol (service) architecture

Computer Networks & Security 2014/2015

Chapter 1 Introduction

Introduction. Chapter 1 Introduction. CS 3516 Computer Networks. Chapter 1: Roadmap. Chapter 1: Introduction. Cool Internet Appliances

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

Chapter 1 Computer Networks and the Internet. Chapter 1: Introduction. Chapter 1: roadmap. Cool internet appliances

Chapter 1: Introduction. Chapter 1 Introduction. Chapter 1: roadmap. Cool internet appliances. What s the Internet: nuts and bolts view

Course on Computer Communication and Networks. Lecture 1 & part of lecture 2 Chapter 1: Introduction

Chapter 1 Introduction

What s the Internet. routers: forward packets (chunks of data) millions of connected computing devices: hosts = end systems

1/31/2013. Data Communications & Networks. Session 1 Main Theme. 2 Introduction and Overview. Dr. Jean-Claude Franchitti

Architecture and Performance of the Internet

Lecture 5: Network Attacks I. Course Admin

Internet architecture is very scalable. Thailand Statistics

First Midterm for ECE374 02/25/15 Solution!!

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

Computer Networks and the Internet

Solutions to the Sample Questions on Introduction

Final for ECE374 05/06/13 Solution!!

IT Internet Architecture and Protocols. Lecture 02 Overview of Internet Architecture

TCIPG Reading Group. Introduction to Computer Networks. Introduction 1-1

Computer Networks CS321

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

COMP 361 Computer Communications Networks. Fall Semester Midterm Examination

Computer Networks Homework 1

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Requirements of Voice in an IP Internetwork

Overview: Internet vs Data Center Networks

CSE3214 Computer Network Protocols and Applications. Chapter 1 Examples and Homework Problems

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? What s the Internet? What s the Internet?

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

Answer: that dprop equals dtrans. seconds. a) d prop. b) d trans

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Module 2 Overview of Computer Networks

Midterm Exam CMPSCI 453: Computer Networks Fall 2011 Prof. Jim Kurose

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

What is Network Latency and Why Does It Matter?

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

The Internet. Charging for Internet. What does 1000M and 200M mean? Dr. Hayden Kwok-Hay So

Transport Layer Protocols

Based on Computer Networking, 4 th Edition by Kurose and Ross

Voice over IP. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

Overview of Computer Networks

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Top-Down Network Design

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

The Impact of QoS Changes towards Network Performance

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

First Midterm for ECE374 03/09/12 Solution!!

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Data Communication Networks and Converged Networks

Network Management Quality of Service I

Communications and Computer Networks

Exam 1 Review Questions

ICOM : Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

Course book: Computer Networking. Computer Networks 3 rd edition. By Andrew ST S.Tanenbaum. Top Down approach 3 rd edition.

Applications. Network Application Performance Analysis. Laboratory. Objective. Overview

Homework 2 assignment for ECE374 Posted: 02/21/14 Due: 02/28/14

VoIP network planning guide

Network Layer: Network Layer and IP Protocol

The OSI and TCP/IP Models. Lesson 2

The OSI & Internet layering models

Computer Network Architecture

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

12 Quality of Service (QoS)

Internet Packets. Forwarding Datagrams

Introduction to Computer Networking Chapter 1

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

CS335 Sample Questions for Exam #2

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

How To Understand The Layered Architecture Of A Network

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Chapter 9. IP Secure

Network Troubleshooting

CSCI Topics: Internet Programming Fall 2008

Introduction to computer networks and Cloud Computing

Internet Infrastructure Measurement: Challenges and Tools

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Transcription:

Computer Networks Delay, loss and throughput Layered architectures How do loss and delay occur? packets queue in router buffers packet arrival rate to exceeds output capacity packets queue, wait for turn packet being transmibed (delay) A B free (available) buffers: arriving packets dropped (loss) if no free buffers packets queueing (delay) 1

Four sources of packet delay 1. Nodal processing: check bit errors determine output 2. Queueing Kme waikng at output for transmission depends on congeskon level of router A transmission 3. Transmission delay: aka store & forward delay R= bandwidth (bps) L=packet length (bits) Kme to send bits into = L/R 2. PropagaKon delay: d = length of s = propagakon speed in medium (~2x10 8 m/sec) propagakon delay = d/s propagation B nodal processing queueing Note: s and R are very different quankkes! Caravan analogy ten-car caravan toll booth cars propagate at 100 km/hr toll booth takes 12 sec to service car (transmission Kme) car~bit; caravan ~ packet Q: How long unkl caravan is lined up before 2nd toll booth? Time to push enkre caravan through toll booth onto highway = 12*10 = 120 sec Time for last car to propagate from 1st to 2nd toll both: 100km/ (100km/hr)= 1 hr A: 62 minutes 100 km 100 km toll booth Cars now propagate at 1000 km/hr Toll booth now takes 1 min to service a car Q: Will cars arrive to 2nd booth before all cars serviced at 1st booth? 1st bit of packet can arrive at 2nd router before packet is fully transmibed at 1st router! 2

Nodal delay d proc = processing delay typically a few microsecs or less d queue = queuing delay depends on congeskon d trans = transmission delay = L/R, significant for low- speed s d prop = propagakon delay a few microsecs to hundreds of msecs Queueing delay (revisited) R= 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! 3

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 desknakon. For all i: sends three packets that will reach router i on path towards desknakon router i will return packets to sender sender Kmes 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 * means no response (probe lost, router not replying) 4

Packet loss queue (aka buffer) preceding in buffer has finite capacity packet arriving to full queue dropped (aka lost) lost packet may be retransmibed by previous node, by source end system, or not at all A buffer (waiting area) packet being transmitted B packet arriving to full buffer is lost Throughput throughput: rate (bits/kme unit) at which bits transferred between sender/receiver instantaneous: rate at given point in Kme average: rate over longer period of Kme server server, sends with bits (fluid) file of into F pipe bits to send to client pipe that capacity R s bits/sec can carry fluid at rate R s bits/sec) pipe capacity R c bits/sec that can carry fluid at rate R c bits/sec) 5

Throughput (more) R s < R c What is average end- end throughput? R s bits/sec R c bits/sec R s > R c What is average end- end throughput? R s bits/sec R c bits/sec bo7leneck on end- end path that constrains end- end throughput Throughput: Internet scenario per- conneckon end- end throughput: min (R c,r s,r/10) in prackce: R c or R s is ocen bobleneck R s R s R s R R c R c R c 10 connections (fairly) share backbone bottleneck R bits/sec 6

Protocol Layers Networks are complex! many pieces : hosts routers s of various media applicakons protocols hardware, socware QuesKon: Is there any hope of organizing structure of network? Or at least our discussion of networks? OrganizaKon of air travel ticket (purchase) baggage (check) gates (load) runway takeoff ticket (complain) baggage (claim) gates (unload) runway landing a series of steps 7

Layering of airline funckonality ticket (purchase) ticket (complain) ticket baggage (check) baggage (claim baggage gates (load) gates (unload) gate runway (takeoff) runway (land) takeoff/landing departure airport intermediate air-traffic control centers arrival airport Layers: each layer implements a service via its own internal- layer ackons relying on services provided by layer below Why layering? Dealing with complex systems: explicit structure allows idenkficakon, relakonship of complex system s pieces layered reference model for discussion modularizakon eases maintenance, updakng of system change of implementakon of layer s service transparent to rest of system e.g., change in gate procedure doesn t affect rest of system layering considered harmful? 8

Internet protocol stack applicakon: supporkng network applicakons FTP, STP, HTTP Transfer unit: message transport: process- process data transfer TCP, UDP Transfer unit: segment network: roukng of datagrams from source to desknakon IP, roukng protocols Transfer unit: datagram : data transfer between neighboring network elements PPP, Ethernet Transfer unit: frame : bits on the wire Transfer unit: none (signal) application transport network ISO/OSI reference model presentakon: allow applicakons to interpret meaning of data, e.g., encrypkon, compression, machine- specific convenkons session: synchronizakon, checkpoinkng, recovery of data exchange Internet stack missing these layers! these services, if needed, must be implemented in applicakon needed? application presentation session transport network 9

message segment H t datagram H n H t frame H l H n H t source application transport network EncapsulaKon switch H l H t H n H t H n H t destination application transport network H n H t H l H n H t network H n H t router 10