Question
Consider the store and forward packet switched network given below. Assume that the bandwidth of each link is bytes / sec. A user on host A sends a file of size bytes to host B through routers R1 and R2 in three different ways. In the first case a single packet containing the complete file is transmitted from A to B. In the second case, the file is split into 10 equal parts, and these packets are transmitted from A to B. In the third case, the file is split into 20 equal parts and these packets are sent from A to B. Each packet contains 100 bytes of header information along with the user data. Consider only transmission time and ignore processing, queuing and propagation delays. Also assume that there are no errors during transmission. Let T1, T2 and T3 be the times taken to transmit the file in the first, second and third case respectively. Which one of the following is CORRECT?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2014 answer key
Solution
Calculate the end-to-end transmission time across the 3 links for a single packet versus pipelined transmission of multiple packets.
-
System Parameters:
- Link bandwidth bytes/sec = byte/s.
- Topology: consists of 3 links (3 hops).
- User data = bytes.
- Header per packet = bytes.
-
Case 1 (Single packet):
- Data size = bytes, Header = bytes Packet size = bytes.
- Transmission delay per link = ms.
- Total time across 3 hops (store-and-forward):
-
Case 2 (10 packets):
- Data per packet = bytes.
- Packet size = bytes.
- Transmission delay per link = ms.
- Due to pipelining, the first packet reaches Host B after 3 hops ( ms), and each of the remaining 9 packets arrives every ms thereafter:
-
Case 3 (20 packets):
- Data per packet = bytes.
- Packet size = bytes.
- Transmission delay per link = ms.
- Total pipelined time:
-
Comparison:
Therefore, and , which matches option (D).
D
Forgetting that in store-and-forward switching with multiple packets, transmission across subsequent links overlaps in a pipeline rather than multiplying total packets by 3.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 2
- Question
- 36 of 65, printed as CS Q.26
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.