Professional Documents
Culture Documents
Week 3 - Lec 2
Week 3 - Lec 2
Introduction
Week 3-Lecture 2
Introduction 1-1
Recap: Week 3-Lec
Today’s lecture
1
• Performance metrics • Other performance metrics
• Network sharing principles
• Circuit switching
• Packet switching
Host: sends packets of data
host sending function:
takes application message
breaks into smaller chunks, two packets,
known as packets, of length L L bits each
bits
transmits packet into access
network at transmission rate R 2 1
• link transmission rate, aka R: link transmission rate
link capacity, aka link host
bandwidth
L bits
per packet
3 2 1
source destination
R bps R bps
D
B
nodal
processing queueing
B
nodal
processing queueing
Introduction 1-8
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-9
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
# dtrans #dprop
Total delay =
# 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
* Check out the Java applet for an interactive Introduction
animation on queuing and loss 1-14
Throughput
server,
server withbits
sends linkpipe
capacity
that can carry linkpipe
capacity
that can carry
file of into
(fluid) F bits
pipe fluid at rate
Rs bits/sec fluid at rate
R bits/sec
to send to client c
Rs bits/sec) Rc bits/sec)
Introduction 1-15
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
Introduction 1-16
Throughput: Internet scenario
• per-connection end-
end throughput: Rs
min(Rc,Rs,R/10) Rs Rs
• in practice: Rc or Rs is
often bottleneck R
Rc Rc
Rc
3 probes 3 probes
3 probes
Introduction 1-18