0% found this document useful (0 votes)
3 views

CNET Sessional-I (Solution)

The document contains a series of questions related to network performance metrics, including propagation delay, transmission delay, and average response time calculations for various network scenarios. It involves calculations for packet transmission between routers, throughput for client-server pairs, and the impact of caching on response times. Key findings include the total average response time with and without caching, highlighting significant reductions in response time due to caching mechanisms.

Uploaded by

i220968
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

CNET Sessional-I (Solution)

The document contains a series of questions related to network performance metrics, including propagation delay, transmission delay, and average response time calculations for various network scenarios. It involves calculations for packet transmission between routers, throughput for client-server pairs, and the impact of caching on response times. Key findings include the total average response time with and without caching, highlighting significant reductions in response time due to caching mechanisms.

Uploaded by

i220968
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Question 1 [15 Marks]

Please consult the textbook

Question 2 [15 Marks]

Access Network-3

Access Network-1
R-3
R-2
R-4

R-1
R-6
R-5
Access Network-2
Figure 1

Consider Figure 1 with Link-1 between Router R-1 and Router R-2 having the distance d = 2 km and
propagation speed s = 2 × 10 m/s. Router R-1 transmits packet of size L = 11,000 bits to Router
R-2 at a rate of R = 100 Mbps.
a. Calculate the propagation delay (dprop) experienced by the packet between R-1 and R-2. [3]

𝑑 2 × 10 20
𝐷 = = = × 10 = 6.67 µ𝑠
𝑠 3 × 10 3

b. Calculate the transmission delay (dtrans), for the packet transmitted by R-1. [3]

𝐿 11000
𝐷 = = × 10 = 110 µ𝑠
𝑅 100

c. Calculate the total time elapsed since a single packet starts to be transmitted at R-1 until it is completely
received at Router R-2. [4]

𝐷 _ _ = 𝐷 +𝐷 = 110 + 6.67 = 116.67 µ𝑠

d. How long does it take by a packet of length 1000 bytes to propagate over the Link-2 from Router R-2 to
Router R-5 of distance 2,500 km, propagation speed 2 × 10 m/s, and transmission rate of 2 Mbps? [3]

Propagation delay=
𝑑 2500 × 10
𝐷 = = = .0125𝑠 = 12.5𝑚𝑠
𝑠 2 × 10
Page 1 of 4
[3 marks for the correct equation and answer. If the answer is wrong but the equation is correct then 2 marks]

This is propagation delay and not transmission delay


 If a student also calculates the transmission delay, then also only 2 marks

e. Does the delay in part (d) depend on packet length? [1]

If equation in (part d) is wrong but (e) or (f) are correct then the response will be considered wrong.
Dose this delay depend on packet length? No
f. Does the delay in part (d) depend on transmission rate? [1]

If equation in (part d) is wrong but (e) or (f) are correct then the response will be considered wrong.
Does this delay depend on transmission rate? No

Question 3 [5 Marks]

Figure 2

Consider the scenario shown in Figure 2, with four different servers connected to four different clients over
four three-hop paths. The four pairs share a common middle hop with a transmission capacity of R = 100
Mbps. The four links from the servers to the shared link have a transmission capacity of R S = 90 Mbps. Each of
the four links from the shared middle link to a client has a transmission capacity of R C = 40 Mbps.

a. What is the maximum achievable end-to-end throughput (in Mbps) for each of the four client-to-server
pairs, assuming that the middle link is fairly shared (divides its transmission rate equally)? [1]

25 Mbps

Page 2 of 4
b. Which link is the bottleneck link? RC, RS, or R. [1]

c. Assuming that the servers are sending at the maximum rate possible, what are the link utilizations for the
server links (RS)? [1.5]

25/90= 0.278 Mbps

d. Assuming that the servers are sending at the maximum rate possible, what are the link utilizations for the
client links (RC)? [1.5]

25/40= 0.625 Mbps

Question 4 [15 Marks]

Consider that you are working on one of the lab systems of FAST-NUCES having a LAN network with 350 Mb/s
transmission rate to institutional Router 1, for which there is an institutional network connected to the
Internet.
Suppose that the average object size is 850,000 bits and that the average request rate from the Lab’s browsers
to the origin servers is 40 requests per second. Also suppose that the amount of time it takes from when the
router on the Internet side (Router 2) of the access link forwards an HTTP request until it receives the response
Page 3 of 4
is 1.5 seconds on average. Model the total average response time as the sum of the average access delay (that
is, the delay from Router 2 to Router 1) and the average Internet delay.

a) Find the total average response time. [8]

L= 850, 000 Bits


R = 500 * 106 bits/ sec
a= 40
Cache response = 0.01 sec
Internet delay = 1.5 sec

Average Transmission Delay = Ttrans = L / R = 0.85 * 10 6 / 500 * 106 = 0.0017 sec

Traffic Intensity on the access Link = Ttrans * a = (0.0017) * 40 = 0.068

The average access delay is = Ttrans / (1-Traffic intensity) = 0.0017 / (1- 0.068)

= 0.0018 sec

Final average response time = 0.0018 + 1.5 = 1.5018 sec

b) Now suppose that a web cache is installed on the FAST Lab network’s LAN. Suppose that the miss rate is
0.4. Find the total response time (considering that the response time from the cache is 0.01 sec) [7]

The average access delay is (40 % for cache miss)

Average Access delay = (0.0017sec) / [1 – (0.4) (0.068)] = 0.0017 seconds


Average Response Time = 0.0017 sec + 1.5 sec =1.5017 sec

For Cache Hit (60 %)

The response time is approximately .01 sec if the request is satisfied by the cache

Average Access delay = 0.6 * 0.01 =0.0006 sec

Final Average Response Time = (0.6)(0.01) + (0.4) (1.5017) = 0.0006 + 0.6007 = 0.601 sec

Thus, the average response time has been reduced from 1.5018 sec to 0.601 sec

Page 4 of 4

You might also like