3. Calculate the total time required to transfer a 1000-KB (KB: Kilo-Byte) file
ID: 3753163 • Letter: 3
Question
3. Calculate the total time required to transfer a 1000-KB (KB: Kilo-Byte) file in the following cases, assuming a Round Trip Time (RTT) of 50ms, a packet size of 1KB, and an initial 2*RTT of handshaking to establish the connection before data is sent (2 points):
a) the bandwidth is 1.5Mbps (million bits per second), and data packets can be sent continuously.
b) the bandwidth is still 1.5Mbps, but we use a protocol with ACK to improve reliability. After we finish sending each data packet we must wait one RTT to receive ACK before sending the next.
Explanation / Answer
IF YOU HAVE ANY DOUBTS PLEASE COMMENT BELOW
ANS:
a)
Initial Handshaking = 2 * R.T.T. = 2*50 ms = 100 ms
we can send continuously :
to send 1000KB file, & BandWidth is 1.5 Mbps..
So, time to transmit is 1000KB / 1.5 Mbps = 5333.33 ms
Total Time = T.T. + Initial Handshaking time
= 5333.33 + 100 = 5433.33 ms
b)
Initial Handshaking = 2 * R.T.T. = 2*50 ms = 100 ms
time to send 1 packet = 1KB / 1.5 Mbps = 16 / 3 ms
Inter packet gap = 1 R.T.T. = 50 ms
Total Time = Initial Handshaking time + 1000 packets T.T.
+ 999 * R.T.T.(waiting time)
= 100 + 1000(16/3) + 999(50)
= 55383.33 ms = 55.38 sec.
THANK YOU
RATE THUMBSUP PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.