Docsity

Queuing Delays and End-to-End Delay in Computer Networks, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
Homework#2
Q.1.
10) The queuing delay for packet 1 = 0
The queuing delay for packet 2 = L/R
The queuing delay for packet 3 = 2L/R
The queuing delay for packet n = (n-1)L/R
Average queuing delay for packet N
= 1/N [0 + L/R + 2L/R +………+ (N-1)L/R]
=L/NR[1 + 2 + ……….+ (N-1)]
=(L/NR) (N-1) N/2 = (N-1)L/2R
Q.2
11) a) Traffic intensity = I = La/R
Queuing delay = IL/R(1-I ) for I<1
Total queuing delay = queuing delay + transmission delay
= IL/R(1-I ) + L/R
b) Total delay = IL/R(1-I ) + L/R = L/R[1+I/(1-I)] = L/[R(1- I)]
Traffic Intensity is a fraction in the range
0≤I≤1
For this problem it is given I<1
0≤I<1
For plotting, we assume x = L/R
Total delay D = x/(1-ax) where ax < 1
a=.09 a=.1
1 1.098901 1.111111
2 2.439024 2.5
3 4.109589 4.285714
4 6.25 6.666667
5 9.090909 10
6 13.04348 15
7 18.91892 23.33333
8 28.57143 40
9 47.36842 90
10 100 #DIV/0!
pf3

Partial preview of the text

Download Queuing Delays and End-to-End Delay in Computer Networks and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

Homework# Q.1.

  1. The queuing delay for packet 1 = 0 The queuing delay for packet 2 = L/R The queuing delay for packet 3 = 2L/R The queuing delay for packet n = (n-1)L/R  Average queuing delay for packet N = 1/N [0 + L/R + 2L/R +………+ (N-1)L/R] =L/NR[1 + 2 + ……….+ (N-1)] =(L/NR) (N-1) N/2 = (N-1)L/2R Q.
  2. a) Traffic intensity = I = La/R Queuing delay = IL/R(1-I ) for I< Total queuing delay = queuing delay + transmission delay = IL/R(1-I ) + L/R b) Total delay = IL/R(1-I ) + L/R = L/R[1+I/(1-I)] = L/[R(1- I)] Traffic Intensity is a fraction in the range 0≤I≤ For this problem it is given I< 0≤I< For plotting, we assume x = L/R Total delay D = x/(1-ax) where ax < 1 a=.09 a=. 1 1.098901 1. 2 2.439024 2. 3 4.109589 4. 4 6.25 6. 5 9.090909 10 6 13.04348 15 7 18.91892 23. 8 28.57143 40 9 47.36842 90 10 100 #DIV/0!

Q.3.

12 a) It is important to realize that if there are (N-1) routers, there are (N-1)+2 = N+ nodes between source and destination. All the nodes except the destination will have processing, transmission and queuing delay. Let us denote the source node by n 1 , The routers 1,2….N-1 as n 2 , n 3 ,….nN The destination node as nN+ If each node has a different (heterogeneous) value for dproc. , dtrans , dprop then the expression for end-to-end delay becomes dend-to-end = 1 N i

 ( dproc.^ + dtrans^ + dprop^ )

for the nodes n 1 ,n 2 , n 3 ,….nN b) If each node has an average queuing delay of dqueue , then the average queuing delay for N nodes becomes Ndqueue  dend-to-end = Ndqueue + 1 N i

 ( dproc.^ + dtrans^ + dprop^ )

Q.4.

17 a) Length of the file = 400,000 bits Distance between A and B = 10,000 km = 10^7 m R = 1Mbps Propagation speed = 2.5 x 10^8 m/s  Time required to send the file = transmission delay + propagation delay = (400,000/10^6 ) + (10^7 /2.5 x 10^8 ) = 0.4 + 0.04 = 0.44s b) Let us consider the time required to send 1 packet. This corresponds to transmission delay + propagation delay = (40000/10^6 )+ (10^7 /2.5 x 10^8 ) = 0.08 s The packets are not sent until an ACK is received  Total time required for 10 packets = 10 x 0.08 s = 0.8 s c) the time required in part (b) is almost double that of (a). This is because the propagation delay of 10 packets is 10 times that of a single packet of 400000 bits.

  1. a) The time required to move the packet from the source host to the first packet switch = 7.5 x 10^6 /1.5 x 10^6 = 5 s (only the transmission delay) Time required to move the packet from the source host to the destination