|
Staff
|
Quiz 2 - HTTP Connections, RTTs, and DelaysThursday, Oct 13, 2011 Question 2 is an actual question from the 2010 mid-term exam. Consider downloading the webpage of www.gomonarchs.com The base HTML page contains the following embedded objects:
This question will consider the time it takes to download the entire main web page for www.gomonarchs.com from a remote web browser. The round trip time from the browser to any server can be represented by RTT. Transmission and queuing delays are ignored. You may assume that the IP addresses for all of the hostnames are already cached.
Solutions1) 3 TCP connections:
2) 7 RTTs:
3) 358 ms dprop = number of RTTs * RTT
dprop = 7 * 50 ms = 350 ms
dtrans for one object = L/R
L = 1000 B = 8,000 b
8,000 b * 1000 ms 8
---------- = --- ms = 2 ms
4,000,000 b 4
dtrans = number of objects * dtrans for one object
dtrans = 4 * 2 ms = 8 ms
de2e = dtrans + dprop
de2e = 8 ms + 350 ms = 358 ms
|