Docsity

INFS612 Networking HW1: Calculating Delays & Data Rates, Assignments of Information Technology

Toggle sidebar
bg1
INFS612 HW1 Hiroko Ikezawa
12/1/2020
INFS 612 Computer Networking HW1
1. Problems from Chapter 1
Problem 3: F = L * M bits
Number of packets = M
Size of a packet = L bits
a) Virtual Circuit Network with Packet-Switching
size of a packet = (L+h) bits
setup time = Ts seconds
ans.: T = Ts + Q *(L + h)/R + (M-1)*(L+h)/R (seconds)
b) Packet-Switching with connectionless service
Size of a packet + (L + 2h) bits
ans.: T = Q * (L+2h)/R + (M-1)*(L+2h)/R (seconds)
c) Message Switching
No packets. Size of the file = (LM + 2h) bits
ans.: T = Q * (LM+2h)/R (seconds)
d) Circuit Switching
ans.: T = Ts + (LM+h)/R (seconds)
Problem 4:
Yes, the delays in the applet correspond to the delays in Problem 3.
The propagation delays affect the overall end-to-end delays both for packet switching
and message switching equally, i.e. it causes the delays of the same amount of time. If
the propagation delays are 3 seconds in packet switching, those in message switching are
also 3 seconds.
Problem 6: Propagation speed = s meters/second
Size of a packet = L bits
a) dprop = m / s
b) dtrans = L/R
c) dnodal = m / s + L/R
d) The first bit is in Host A. (about to leave)
e) The first bit is somewhere on the link.
f) The first bit is in Host B.
g) S = 2.5 * 108 , L = 100bits, R = 28kbps
L/R = m/s
m = L*S/R
m = 100*(2.5 * 108)/28000
Ans.: m = = 8.92857 * 10 5
(meters)
- 1 -
pf3

Partial preview of the text

Download INFS612 Networking HW1: Calculating Delays & Data Rates and more Assignments Information Technology in PDF only on Docsity!

12/1/

INFS 612 Computer Networking HW

  1. Problems from Chapter 1 Problem 3: F = L * M bits Number of packets = M Size of a packet = L bits a) Virtual Circuit Network with Packet-Switching size of a packet = (L+h) bits setup time = Ts seconds ans.: T = Ts + Q (L + h)/R + (M-1)(L+h)/R (seconds) b) Packet-Switching with connectionless service Size of a packet + (L + 2h) bits ans.: T = Q * (L+2h)/R + (M-1)(L+2h)/R (seconds) c) Message Switching No packets. Size of the file = (LM + 2h) bits ans.: T = Q * (LM+2h)/R (seconds) d) Circuit Switching ans.: T = Ts + (LM+h)/R (seconds) Problem 4: Yes, the delays in the applet correspond to the delays in Problem 3. The propagation delays affect the overall end-to-end delays both for packet switching and message switching equally, i.e. it causes the delays of the same amount of time. If the propagation delays are 3 seconds in packet switching, those in message switching are also 3 seconds. Problem 6: Propagation speed = s meters/second Size of a packet = L bits a) dprop = m / s b) dtrans = L/R c) dnodal = m / s + L/R d) The first bit is in Host A. (about to leave) e) The first bit is somewhere on the link. f) The first bit is in Host B. g) S = 2.5 * 10^8 , L = 100bits, R = 28kbps L/R = m/s m = LS/R m = 100*(2.5 * 10^8 )/ Ans.: m = = 8.92857 * 10^5 (meters)

12/1/ Problem 8: a) 1Mbps / 100Kbps = 10 users b) P = 0. c) P = 40! / (n!(40-n)!) * (0.1) n^ * (0.9) ^(40-n) (40 choose n) d) P = 1- (probability that 0 to 10 users transmitting simultaneously) Pn = 40! / (n!(40-n)!) * (0.1) n^ * (0.9) ^(40-n) (40 choose n) P = 1 – (P 0 + P 1 + P 2 + … + P 10 ) P = 1 – ((40!/(0!(40-0)!) * (0.1) 0 * (0.9) ^(40)^ +(40!/(2!(38)!) * (0.1) 2 * (0.9) ^(38)^ )

  • … + (40!/(40)!*(0)!) * (0.1) 40 * (1-0.1) ^(0)^ )) p = 1-(0.9985) Ans.: p = 0. Problem 12: Centreville, VA to Fairfax, VA Tracing route to jiju.gmu.edu [129.174.1.52] average standard deviation 10:00 am 197.88 37. 1:00 pm 176.96 16. 10:00 pm 168.52 11. Average = 181. Standard Deviation = 15. Centreville, VA to Tokyo, Japan Tracing route to www.mugi.com [210.189.82.17] average standard deviation 10:00 am 274.18 90. 1:00 pm 230.07 79. 10:00 pm 231.39 75. Average = 245. Standard Deviation = 25.
  1. (1) dprop = 2 msec dat_switch = 2 msec dconversion = 2 msec (to buffer voice at Host B) size of a packet = 512 * 8 = 4096 (bits) R = 4Mbps dtrans = (512 * 8) / 4000000 = 0. d = dprop + dqueue + dtrans + dconversion Ans.: d = 0.002 + 0.002 + 0.001024 + 0.002 = 0.007024 (seconds) (2) File size = F bits