GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 73

Optimal packet size on three links

Computer Networks · Physical Layer & Transmission · Full GATE CSE 2005 paper

GATE 2005, Q73 2 marks · MCQ
Report issue

Physical Layer & Transmission

Question 73, GATE 2005: A24-byte message traverses a single packet-switched path with two intermediate nodes (three equal-rate store-and-forward links). Every packet has a 3-byte header. Optimum total packet size: A4; B6; C7; D9 bytes. Use equal payload segments and neglect packet-independent propagation.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Let payload size be p bytes, so each packet has size p+3 and there are 24/p packets. Across three equal-rate store-and-forward links the serialization makespan, apart from constant propagation terms, is (24/p+2)(p+3)=30+2p+72/p byte-times. Its derivative is 2−72/p², giving p=6 bytes. This divides 24 exactly, and the total packet size is 6+3=9 bytes, option D. Packet size includes the header; six is only the payload.

For k packets of lengthp+3, a three-link pipeline needs k+2 packet transmission times: three for the first packet, one for each later packet. Substituting k=24/p gives 30+2p+72/p. Its derivative vanishes atp=6 and the second derivative 144/p³ is positive. Payload 6 divides 24, so no unequal final packet is needed. Adding its 3-byte header gives total 9, distinguishing the asked packet size from payload size.

Original paper, page 10