0% found this document useful (0 votes)
52 views18 pages

Week 3 - Lec 2

1) The document discusses key performance metrics for computer networks including transmission delay, propagation delay, processing delay, and queuing delay. 2) Packet switching networks divide data into packets that are transmitted individually and may experience queueing delays if the arrival rate exceeds link capacity. 3) The four main sources of delay for packet switched networks are processing, queueing, transmission, and propagation, with queueing delay increasing as traffic intensity approaches link capacity.

Uploaded by

Heet Mistry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views18 pages

Week 3 - Lec 2

1) The document discusses key performance metrics for computer networks including transmission delay, propagation delay, processing delay, and queuing delay. 2) Packet switching networks divide data into packets that are transmitted individually and may experience queueing delays if the arrival rate exceeds link capacity. 3) The four main sources of delay for packet switched networks are processing, queueing, transmission, and propagation, with queueing delay increasing as traffic intensity approaches link capacity.

Uploaded by

Heet Mistry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Computer Networks

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

packet time needed to L (bits)


transmission = transmit L-bit =
delay 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

• takes L/R seconds to transmit one-hop numerical example:


(push out) L-bit packet into
link at R bps  L = 7.5 Mbits
 R = 1.5 Mbps
• store and forward: entire
packet must arrive at router  one-hop transmission
before it can be transmitted delay = 5 sec
on next link
 end-end delay = 2L/R (assuming more on delay shortly …
zero propagation delay) Introduction 1-4
Example analogy for sources of delay
What are the main components of delay when we use packet switching?
 Processing delay
 queuing delay
 transmission delay
 propagation delay
Four sources of packet delay
C
transmission
A propagation

D
B
nodal
processing queueing

dnodal = dproc + dqueue + dtrans + dprop

dtrans: transmission delay: func(L, R) dprop: propagation delay: func(d)


 L: packet length (bits)  d: length of physical link
 R: link bandwidth (bps)  s: propagation speed (~2x108 m/sec)
 dtrans = L/R dtrans and dprop  dprop = d/s
very different
* Check out the online interactive exercises for more examples:
1-7
Four sources of packet delay
transmission
A propagation

B
nodal
processing queueing

dnodal = dproc + dqueue + dtrans + dprop

dproc: nodal processing dqueue: queueing delay


 check bit errors  time waiting at output link for
transmission
 determine output link  depends on congestion level of
 typically < msec router

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: avg. queueing delay large


 La/R > 1: more “work” arriving
than can be serviced, average delay infinite!

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 =

dEnd-End =N(dproc + dqueue + dtrans + dprop)


Packet Switching: queueing delay, loss

R = 100 Mb/s C
A
D
R = 1.5 Mb/s
B
queue of packets E
waiting for output link

queuing and loss:


 if arrival rate (in bits) to link exceeds transmission rate of link for a period of time:
• packets will queue, wait to be transmitted on link
• packets can be dropped (lost) if memory (buffer) fills up

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

• throughput: rate (bits/time unit) at which bits


transferred between sender/receiver
• instantaneous: rate at given point in time
• average: rate over longer period of time

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 > Rc What is average end-end throughput?

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

10 connections (fairly) share


backbone bottleneck link R bits/sec
Introduction 1-17
“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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy