Week 1 - Fundamentals - 2
Week 1 - Fundamentals - 2
Fundamentals
Week 1-Lecture 3
Introduction 1-1
Today’s lecture
time needed to
= L (bits)
transmit L-bit
packet into link R (bits/sec)
Introduction 1-3
Packet-switching: store-and-forward
L bits
per packet
3 2 1
source destination
R bps R bps
D
B
nodal
processing queueing
B
nodal
processing queueing
Introduction 1-7
Queueing delay
average queueing
• R: link bandwidth (bps)
delay
• L: packet length (bits)
• a: average packet arrival
rate
traffic intensity
= La/R
La/R ~ 0: avg. queueing delay small La/R ~ 0
La/R -> 1
* Check online interactive animation on queuing and loss
Introduction 1-8
Delay factor contributions to Total Delay
• dprop
• for a link connecting two routers on the same university campus negligible
• for two routers interconnected by a satellite link(100s km) 100+ milliseconds
• dtrans
• > bandwidths (10 Mbps and higher) negligible [more bits/sec]
• If large Internet packets sent over low-speed dial-up modem links hundreds of milliseconds
.
• dproc is often negligible
• Super fast routers
Propagation delay is defined as the time taken Tranmission delay is a function of
for bits in a packet to go over a transmission A. Distance
link. B. Speed of light in a medium
A. True C. Bandwidth
B. False D. Packet size
# dtrans #dprop
Total delay =
R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link
Introduction 1-12
How do loss and delay occur?
packets queue in router buffers
packet arrival rate to link (temporarily) exceeds output link
capacity
packets queue, wait for turn
packet being transmitted (delay)
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
Introduction 1-13
Packet loss
• queue (aka buffer) preceding link in buffer 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
Introductionon queuing and loss
* Check out the Java applet for an interactive animation 1-14
Throughput
server,
server withbits
sends linkpipe
capacity
that can carry linkpipe
capacity
that can carry
file of into
(fluid) F bitspipe Rs bits/sec
fluid at rate Rc bits/sec
fluid at rate
to send to client Rs bits/sec) Rc bits/sec)
Introduction 1-15
If four routers are separated by 10km, but with different capacity optical
fibre cables, which delay component will be constant and which one will
vary?
A. dprop constant, dtrans varying
B. dprop varying, dtrans varying
C. dprop varying, dtrans constant
D. dprop constant, dtrans constant
“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-17
Throughput (more)
• Rs < Rc What is average end-end throughput?
Rs bits/sec Rc bits/sec
Rs bits/sec Rc bits/sec
bottleneck link
link on end-end path that constrains end-end throughput
Or the ACCESS NETWORK
Introduction 1-18
Throughput: Internet scenario
• per-connection end-
end throughput: Rs
min(Rc,Rs,R/10) 10 connections (fairly) Rs Rs
• in practice: Rc or Rs is share backbone
bottleneck link R
often bottleneck bits/sec R
bottleneck link Rc Rc
SHARED LINK IN THE CORE
Rc
Throughput depends not only on the transmission rates of the links along the path,
but also on the intervening traffic