CS FundamentalsVery hardGATE CS

A 1 Gb file must reach 100 peers. The server uploads at 50 Mbps; every peer downloads at 10 Mbps and uploads at 2 Mbps. What are the minimum distribution times for client-server and for P2P distribution?

  1. A. 2000 s and 100 s
  2. B. 10000 s and 400 s
  3. C. 20 s and 400 s
  4. D. 2000 s and 400 s

Correct answer: D. 2000 s and 400 s

Client-server: max(NF/us, F/dmin) = max(2000, 100) = 2000 s. P2P: max(F/us, F/dmin, NF/(us + Σui)) = max(20, 100, 10¹¹ / (50 + 200) Mbps = 400) = 400 s. Peer uploads add 200 Mbps of capacity, but the aggregate term still dominates.

More Computer Networks questions

Exams that ask this topic