Computer Networks: Delay, Loss and Throughput Layered Architectures
Computer Networks: Delay, Loss and Throughput Layered Architectures
Computer Networks: Delay, Loss and Throughput Layered Architectures
Networks
Delay,
loss
and
throughput
Layered
architectures
A
B
3.
Nodal processing:
Queueing
2.
transmission
Transmission delay:
PropagaKon delay:
propagation
nodal
processing
queueing
Caravan
analogy
100 km
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
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!
Nodal
delay
dproc
=
processing
delay
typically
a
few
microsecs
or
less
depends on congesKon
3 probes
3 probes
Packet
loss
queue
(aka
buer)
preceding
link
in
buer
has
nite
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
buffer
(waiting area)
A
B
packet arriving to
full buffer is lost
Delay,
loss,
layered
architectures
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
link
capacity
that
can carry
server,
server
sendswith
bits pipe
R
bits/sec
fluid
file of
F pipe
bits
s at rate
(fluid)
into
Rs bits/sec)
to send to client
link that
capacity
pipe
can carry
Rfluid
bits/sec
c
at rate
Rc bits/sec)
Throughput
(more)
Rs
<
Rc
What
is
average
end-end
throughput?
Rs bits/sec
Rc bits/sec
Rc bits/sec
bo7leneck
link
link
on
end-end
path
that
constrains
end-end
throughput
Delay,
loss,
layered
architectures
Rs
Rs
Rs
R
Rc
Rc
Rc
Protocol
Layers
Networks
are
complex!
many
pieces:
hosts
routers
links
of
various
media
applicaKons
protocols
hardware,
socware
QuesKon:
Is
there
any
hope
of
organizing
structure
of
network?
Or
at
least
our
discussion
of
networks?
ticket (complain)
baggage (check)
baggage (claim)
gates (load)
gates (unload)
runway takeoff
runway landing
airplane routing
airplane routing
airplane routing
a
series
of
steps
Delay,
loss,
layered
architectures
ticket (complain)
ticket
baggage (check)
baggage (claim
baggage
gates (load)
gates (unload)
gate
runway (land)
takeoff/landing
airplane routing
airplane routing
runway (takeoff)
airplane routing
departure
airport
airplane routing
airplane routing
intermediate air-traffic
control centers
arrival
airport
Why
layering?
Dealing
with
complex
systems:
explicit
structure
allows
idenKcaKon,
relaKonship
of
complex
systems
pieces
application
transport
network
link
physical
application
presentation
session
transport
network
link
physical
source
message
segment Ht
datagram Hn Ht
frame Hl Hn Ht
M
M
EncapsulaKon
application
transport
network
link
physical
link
physical
switch
destination
M
Ht
Hn Ht
Hl Hn Ht
application
transport
network
link
physical
Hn Ht
Hl Hn Ht
network
link
physical
Hn Ht
router
10