Académique Documents
Professionnel Documents
Culture Documents
Thanks to
J. J. Lukkien
J.F. Kurose & K.W. Ross
Y. Richard Yang
(Yale University)
Delay
host 1- node 1
Processing
circuit delay node 1
establishment
Delay
host 2- host 1
data
transmission DATA
time
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 5
Delay calculation
Total delay: dproc + dprop + dtrans
• Processing delay: dproc
• Propagation delay: dprop
– time required for transmission of the first bit of the data
packet from its source to its ultimate destination
– dprop=l/c;
• l - length of the physical link [m]
• c - propagation speed [m/s]
• Transmission delay
– time required to push a complete data packet into a network
– dtrans=P/R
• P – packet length [bits]; R – transmission rate [bps]
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 6
Delay calculation (cnt’d)
Analogy with propagation and transmission delay
The time required to push out the cars onto the highway by the tollbooth is
analogous to the transmission delay in the communication network.
The time taken by the cars to traverse the highway segment is analogous to
the propagation delay in the network
propagation delay
host 1 – node1
processing &
message queuing delay
of packet 1 at
node 2
message
time message
Store-and-Forward
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 9
Why not message switching ?
Message size M
Address info, size A; A should be << M
Number of hops m
Latency:
Channel throughput R [bps] 1. The time it takes for a packet to
cross a network connection,from
– transmission delay: m(s+(A+M)/R) sender to receiver.
M=7.5 Mb
transmission delay:
R=1.5 Mbps
M
3 15 [s]
R
Store complete message and than forward
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 11
Message versus packet switching
EXAMPLE
host 1 node 1 host 2
node 2
Split the message into 5000 packets each 1500 bits long
Store only one packet and then forward it !
1 ms to transmit packet on one link
pipelining: each link works in parallel
delay reduced from 15 s to 5.002 s!!
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 12
Packet switching
– transmission delay:
(m-1)(s+(A+P)/R) + M/P(s+(A+P)/R)
•Note: M+mP rather than Mm
– latency: (m-1)(A+P)/R
time
A P T
e2e data flow transmission divided in packets
header + trailer carry control information for switching
(the source and the final destination addresses, etc.)
router
router
router
in order
E
A
propagation delay
transmission delay host 1 – node1
of packet 1 at host 1 packet 1 processing &
packet 2 queuing delay
of packet 1 at
packet 3 packet 1 node 2
packet 2
packet 3 packet 1
packet 2
packet 3
time
Igor Radovanovic, i.radovanovic@tue.nl
19/04/2018 TU/e Computer Science, System Architecture and Networking 24
Delay calculation
R = link bandwidth (bps)
L = packet length (bits)
l = average packet arrival rate (pkt/sec)
L l = average bits arrival rate (b/sec)
Introduce buffers
E
A
SVC 2
Setting virtual
connection
propagation delay
transmission delay host 1 – node1
of packet 1 at host 1 packet 1 processing &
packet 2 queuing delay
of packet 1 at
packet 3 packet 1 node 2
packet 2
packet 3 packet 1
packet 2
packet 3
1 Mb link
• each user:
– 100 kbps when “active”
– active 10% of time
• circuit-switching:
– 10 users
• packet switching:
– with 35 users, probability > 10 active less than .0004
3. a data transmission rate; the maximum amount of information (bits/second) that can be
transmitted along a channel
Latency
A synonym for delay, is an expression of how much time it takes
for a packet of data to get from one designated point to another (single transaction).
where is latency important ?
The contributors to network latency include:
Example:
1. propagation 3. node processing
internet interactive games
2. transmission 4. queuing
video conferencing
Telephone modems
QUESTION:
For downloading large files what is more important
1. larger bandwidth, or
2. smaller latency?