In: Computer Science
Suppose there are 5 links between sending host A and receiving host B, where each link has the same transmission rate R.
What is the end-to-end delay of sending 10 packets of length L from A to B? (Ignore propagation delay and nodal processing delay). Assume there are no other packets on the network.
Solution:
Given,
=>Number of links = 5
=>Transmission rate = R
=>Number of packets = 10
=>Size of each packet = L
Explanation:
=>Host A...link1...(s1)...link2...(s2)....link3....(s3)....link4....(s4)...link5..Host B
=>Here packet switching concept will be used by default.
=>First packet will require all the transmission delays of in between devices and host A and all other packets will required only one transmission delay by host A.
Calculating transmission delay:
=>Tranmission delay = packet length/transmission rate
=>Tranmission delay = L/R
Calculating total delay for first packet:
=>Total delay for first packet = 5*transmission delay
=>Total delay for first packet = 5*(L/R)
Calcualting delay for other 9 packets:
=>Total delay for 9 packet packets = 9*transmission delay
=>Total delay for 9 packet packets = 9*(L/R)
Calculating total delay for 10 packets:
=>Total delay for 10 packets = 5*(L/R) + 9*(L/R)
=>Total delay for 10 packets = 14*(L/R)
I have explained each and every part with the help of statements attached to it.