Tut 01 Kyo
Tut 01 Kyo
Tut 01 Kyo
KyoKeun Park
January 17, 2020
University of Toronto Mississauga
1
Question 1: Concept Review
For the answers, review the lectures, books, go to office hours, and
use the discussion board!
2
Question 2: Circuit Switching vs Packet Switching
3
Question 2: Circuit Switching vs Packet Switching
4
Question 2: Circuit Switching vs Packet Switching
4
Question 2: Circuit Switching vs Packet Switching
5
Question 2: Circuit Switching vs Packet Switching
5
Question 2: Circuit Switching vs Packet Switching
6
Question 2: Circuit Switching vs Packet Switching
6
Question 2: Circuit Switching vs Packet Switching
(120)
n : Different ways of choosing n users from 120 users
6
Question 2: Circuit Switching vs Packet Switching
7
Question 2: Circuit Switching vs Packet Switching
7
Question 2: Circuit Switching vs Packet Switching
7
Question 2: Circuit Switching vs Packet Switching
8
Question 2: Circuit Switching vs Packet Switching
8
Question 3: Propagation Delay and Transmission Delay
(b) dtrans
(c) dendtoend
10
Question 3: Propagation Delay and Transmission Delay
(b) dtrans
(c) dendtoend
10
Question 3: Propagation Delay and Transmission Delay
10
Question 3: Propagation Delay and Transmission Delay
10
Question 3: Propagation Delay and Transmission Delay
(e) Suppose dprop is greater than dtrans . At time t = dtrans , where is the
first bit of the packet?
11
Question 3: Propagation Delay and Transmission Delay
11
Question 3: Propagation Delay and Transmission Delay
11
Question 3: Propagation Delay and Transmission Delay
(g) Suppose s = 2.5 × 108 , L = 120 bits, and R = 56 kbps. Find the
distance m so that dprop equals dtrans .
12
Question 3: Propagation Delay and Transmission Delay
12
Question 3: Propagation Delay and Transmission Delay
12
Question 3: Propagation Delay and Transmission Delay
12
Question 4: Optimal Packet Size
13
Question 4: Optimal Packet Size
A S1 S2 B
14
Question 4: Optimal Packet Size
A S1 S2 B
14
Question 4: Optimal Packet Size
A S1 S2 B
14
Question 4: Optimal Packet Size
(b) Now do the math: find the value of S that minimizes the delay of
moving the file from Host A to Host B. Disregard propagation delay.
Total packets:
Packet size:
15
Question 4: Optimal Packet Size
(b) Now do the math: find the value of S that minimizes the delay of
moving the file from Host A to Host B. Disregard propagation delay.
Total packets: SF
Packet size: S + 80
How long does it take for first switch to receive the last packet?
15
Question 4: Optimal Packet Size
(b) Now do the math: find the value of S that minimizes the delay of
moving the file from Host A to Host B. Disregard propagation delay.
Total packets: SF
Packet size: S + 80
How long does it take for first switch to receive the last packet?
S+80 F
R · S sec
At this time, how many packets have reached the destination? How
many are in second router?
15
Question 4: Optimal Packet Size
(b) Now do the math: find the value of S that minimizes the delay of
moving the file from Host A to Host B. Disregard propagation delay.
Total packets: SF
Packet size: S + 80
How long does it take for first switch to receive the last packet?
S+80 F
R · S sec
At this time, how many packets have reached the destination? How
many are in second router?
F
S − 2 packets in destination.
A single, SF − 1th packet will be in second router.
15
Question 4: Optimal Packet Size
16
Question 4: Optimal Packet Size
16
Question 4: Optimal Packet Size
16
Question 4: Optimal Packet Size
16