CS FundamentalsVery hardGATE CS (PYQ pattern)

A 1,000,000-byte message crosses 3 store-and-forward links of 1 Mbps each (ignore propagation and queuing), split into packets with a payload of p bytes plus a 50-byte header; the last packet may be shorter but is padded to full size here (n = ceil(M/p) packets, all of size p + 50). Which payload size gives the smallest end-to-end delay among 500, 1000, 2000, 5000, 10000 and 50000 bytes?

  1. A. 500 bytes
  2. B. 5000 bytes
  3. C. 1000 bytes
  4. D. 2000 bytes

Correct answer: B. 5000 bytes

Delay = (n + 2) x (p + 50) x 8 / 10^6 s with n = ceil(10^6 / p): p = 500: 8.81 s, p = 1000: 8.42 s, p = 2000: 8.23 s, p = 5000: 8.16 s, p = 10000: 8.20 s, p = 50000: 8.81 s. Small packets waste bandwidth on headers; huge packets lose pipelining.

More Computer Networks questions

Exams that ask this topic