CSC430 Computer Networks: Revised: August 2019
CSC430 Computer Networks: Revised: August 2019
Computer networks
Chapter 1
Introduction
Uses of Computer Networks
Network Classifications
what’s the Internet?
what’s a protocol?
network edge; hosts, access net, physical media
network core: packet/circuit switching, Internet
structure
performance: loss, delay, throughput
protocol layers, service models
history
Revised: August 2019
Delay, loss, throughput in networks
Introduction 1-2
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-3
Four sources of packet delay
transmission
A propagation
B
nodal
processing queueing
Introduction 1-4
Four sources of packet delay
Processing:
check bit errors
determine output link
Queueing
time waiting at output link for transmission
depends on congestion level of router
transmission
Transmission delay: A propagation
R=link bandwidth (bps)
L=packet length (bits)
time to send bits into link,
B processing
dtrans = L/R
queueing
Propagation delay:
d = length of physical link
s = propagation speed in medium (~2x108 m/sec)
propagation delay
dtrans and dprop
dprop = d/s
very different
Note: s and R are very different quantities!
Introduction 1-5
Nodal delay
d nodal d proc d queue d trans d prop
Introduction 1-6
Queueing delay (revisited)
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
* Check out the Java applet for an interactive animation on queuing and loss La/R -> 1
Introduction 1-7
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 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-8
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-9
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
Sends out a special packet called the Internet Control Message Protocol
(ICMP) echo request packet.
Enter the word tracert, followed by a space, then the domain name.
1-13
Introduction
Traceroute
Probes successive hops to find network path
...
Local
Remote
Host
Host
14
Computer Networks
Traceroute
...
1 hop
2 hops
3 hops N-1 hops
N hops
Local
Remote
Host
Host
Computer Networks 15
Using Traceroute
Computer Networks 16
“Real” Internet delays, routes
traceroute: gaia.cs.umass.edu to www.eurecom.fr
3 delay measurements from
gaia.cs.umass.edu to cs-gw.cs.umass.edu
1 cs-gw (128.119.240.254) 1 ms 1 ms 2 ms
2 border1-rt-fa5-1-0.gw.umass.edu (128.119.3.145) 1 ms 1 ms 2 ms
3 cht-vbns.gw.umass.edu (128.119.3.130) 6 ms 5 ms 5 ms
4 jn1-at1-0-0-19.wor.vbns.net (204.147.132.129) 16 ms 11 ms 13 ms
5 jn1-so7-0-0-0.wae.vbns.net (204.147.136.136) 21 ms 18 ms 18 ms
6 abilene-vbns.abilene.ucaid.edu (198.32.11.9) 22 ms 18 ms 22 ms
7 nycm-wash.abilene.ucaid.edu (198.32.8.46) 22 ms 22 ms 22 ms trans-oceanic
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)
19 fantasia.eurecom.fr (193.55.113.142) 132 ms 128 ms 136 ms
1-18
Introduction
1-19
2-20
Introduction
Recall that:
d nodal d proc d queue d trans d prop
Describe What can be done to reduce each of these sources of delay.
1-21
2-22
Introduction
1-23
Internet history
1961-1972: Early packet-switching principles
1961: Kleinrock - 1972:
queueing theory shows • ARPAnet public demo
effectiveness of packet- • NCP (Network Control
switching Protocol) first host-host
1964: Baran - packet- protocol
switching in military nets • first e-mail program
• ARPAnet has 15 nodes
1967: ARPAnet
conceived by Advanced
Research Projects
Agency
1969: first ARPAnet node
Introduction 1-24
operational
Internet history
1972-1980: Internetworking, new and proprietary nets
Chapter 1