Lec05 Network Delays
Lec05 Network Delays
Humaira Ehsan
Computer Networks
1
Humaira Ehsan |
control
• Q: How to provide circuit-like behavior?
• bandwidth guarantees needed for audio/video apps
• still an unsolved problem (chapter 7)
2
Q: human analogies of reserved resources (circuit
switching) versus on-demand allocation (packet-switching)?
Internet structure: network of networks
Humaira Ehsan |
Tier-1 Tier 1 ISP
providers
interconnect
(peer)
privately
Tier 1 ISP Tier 1 ISP
3
Tier-1 ISP: e.g., Sprint
to/from backbone
peering
… …
.
Humaira Ehsan |
…
…
to/from customers
4
Internet structure: network of networks
Tier-2 ISPs
Tier-2 ISP pays Tier-2 ISP also peer
Tier-2 ISP privately with
Humaira Ehsan |
tier-1 ISP for
connectivity to Tier 1 ISP each other.
rest of Internet
tier-2 ISP is
customer of
tier-1 provider Tier 1 ISP Tier 1 ISP Tier-2 ISP
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Local and tier- Tier-2 ISP Tier-2 ISP
3 ISPs are
Humaira Ehsan |
customers of Tier 1 ISP
higher tier
ISPs
connecting
them to rest Tier 1 ISP
Tier 1 ISP Tier-2 ISP
of Internet
local
Tier-2 ISP Tier-2 ISP 6
ISP
local local local
ISP ISP ISP
Internet structure: network of networks
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Humaira Ehsan |
Tier 1 ISP
Humaira Ehsan |
structure
1.4 Delay, loss and throughput in packet-switched
networks
1.5 Protocol layers, service models
1.6 Networks under attack: security
8
How do loss and delay occur?
Humaira Ehsan |
A
B
packets queueing (delay)
9
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Four sources of packet delay
Humaira Ehsan |
transmission router
A propagation
B
nodal
processing queueing 10
Delay in packet-switched networks
Humaira Ehsan |
Note: s and R are very different
quantities!
transmission
A propagation
B 11
nodal
processing queueing
Caravan analogy
Humaira Ehsan |
service car (transmission 12*10 = 120 sec
time) • Time for last car to
• car~bit; caravan ~ packet propagate from 1st to
• Q: How long until caravan 2nd toll both:
is lined up before 2nd toll 100km/(100km/hr)= 1 hr
booth? • A: 62 minutes 12
Caravan analogy (more)
Humaira Ehsan |
• Toll booth now takes 1 • 1st bit of packet can
min to service a car arrive at 2nd router
• Q: Will cars arrive to before packet is fully
2nd booth before all transmitted at 1st router!
cars serviced at 1st • See Ethernet applet at AWL
booth? Web site 13
Nodal delay
Humaira Ehsan |
• depends on congestion
• dtrans = transmission delay
• = L/R, significant for low-speed links
• dprop = propagation delay
• a few microsecs to hundreds of msecs
14
Queueing delay (revisited)
Humaira Ehsan |
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!
15
“Real” Internet delays and routes
Humaira Ehsan |
• router i will return packets to sender
• sender times interval between transmission and reply.
3 probes 3 probes
3 probes
16
“Real” Internet delays and routes
Humaira Ehsan |
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) 17
19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms
Packet loss
Humaira Ehsan |
buffer
(waiting area) packet being transmitted
A
B
packet arriving to 18
full buffer is lost
Throughput
Humaira Ehsan |
server,
server sendswith link
bits pipe capacity
that can carry link that
pipe capacity
can carry
file of
(fluid) F bits
into pipe fluid at rate
Rs bits/sec Rfluid at rate
c bits/sec
to send to client Rs bits/sec) Rc bits/sec)
19
Throughput (more)
Rs bits/sec Rc bits/sec
Humaira Ehsan |
Rs bits/sec Rc bits/sec
bottleneck link
link on end-end path that constrains end-end throughput 20
Throughput: Internet
scenario
Humaira Ehsan |
often bottleneck
Rc Rc
Rc