Lecture 04-Network Delays
Lecture 04-Network Delays
Lecture 04
Network Delays
Lecture 04: Network Delays
What’s the Internet: “nuts and bolts”
view
PC • millions of connected computing devices:
mobile network
server – hosts = end systems
wireless – running network apps global ISP
laptop
smartphone
home
communication network
regional ISP
wireless
links
links fiber, copper,
wired
links radio, satellite
transmission
rate: bandwidth
Packet switches: forward
router packets (chunks of data) institutional
routers and switches network
1-2
Lecture 04: Network Delays
In a real world
store-and-forward
L bits
per packet
3 2 1
source destination
R bps R bps
What the delay would be for P packets sent over a series of N links?
(N+P-1)
Lecture 04: Network Delays
B
nodal
processing queueing
B
nodal
processing queueing
100 km 100 km
ten-car toll toll
caravan booth booth
time to “push” entire
• cars “propagate” at caravan through toll
100 km/hr booth onto highway =
• toll booth takes 12 sec to 12*10 = 120 sec
service car (bit time for last car to
transmission time) propagate from 1st to
• car~bit; caravan ~ packet 2nd toll both:
• Q: How long until caravan 100km/(100km/hr)= 1
is lined up before 2nd toll hr
booth? A: 62 minutes
Lecture 04: Network Delays
Caravan analogy (more)
100 km 100 km
ten-car toll toll
caravan booth booth
B
nodal
processing queueing
average queueing
• R: link bandwidth (bps)
delay
• L: packet length (bits)
• a: average packet
arrival rate
traffic intensity
= La/R
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction 1-16
Lecture 04: Network Delays
Lecture 04: Network Delays
“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
Introduction 1-18
“Real” Internet delays,
Lecture 04: Network Delays
routes
traceroute: gaia.cs.umass.edu to www.eurecom.fr
3 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 trans-oceanic
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 link
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 * * * * means no response (probe lost, router not replying)
19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms
Throughput
server, with
server sends link capacity
pipe that can carry link capacity
pipe that can carry
file ofbits
F bits fluid at rate
Rs bits/sec fluid at rate
Rc bits/sec
to(fluid)
send into
to client
pipe Rs bits/sec) Rc bits/sec)
Lecture 04: Network Delays
Throughput (more)
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck
link onlink
end-end path that constrains end-end
throughput
Throughput: Internet
Lecture 04: Network Delays
scenario
• per-connection
Rs
end-end
Rs Rs
throughput:
min(Rc,Rs,R/10) R
• in practice: Rc
Rc Rc
or Rs is often
Rc
bottleneck
10 connections (fairly) share
backbone bottleneck link R bits/sec
Lecture 04: Network Delays