

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Name_______________________GT#gt _ _ ____ Sec. ECE3076 Homework 4 (answers) Due: Wednesday Oct. 3, 2007 (before class - we will discuss in class, so no late submissions accepted) 1. TCP with Slow-Start and no Congestion A 20 Mbps network connection has a 50 ms round trip time (RTT). A server begins sending maximum-size (MSS) packets (after the initial SYN-ACK). The client ACK's every packet, and has a receiver-window which holds 12 maximum-size (1200 byte) packets. Show how many TCP segments (packets) are sent in each RTT period below: Time Period Start (ms) No. Segments sent 0 (SYN-ACK) 50 1 100 2 150 4 200 8 250 12 300 12 If the MSS is 1200 bytes, what is the average transmission rate during the first 200 ms (include bytes sent at periods 50-200 ms)? _____14 * 1200 * 8 / 0.2s = 672,000 ________ (bps) What is the maximum transfer rate after slow-start is done (bytes/second)? 12 * 1200 * 8 / 0.05s = 2,304,000 (bps) 2. Bandwidth-Delay Product (aka - "Data in the Pipeline") a. What does TCP guarantee that UDP does not (for byte-stream sent in multiple packets)? ________________In-order, complete delivery (with no duplications)__________________________ b. If the round-trip time (RTT) for a dedicated 100 Mbit/s connection to California is 30 ms, what is minimum TCP widow size that will allow this channel to be fully utilized? **375,000** _ (bytes) This value is called the Bandwidth-Delay Product, BDP (or data-in-the pipeline). c. What will the maximum throughput be if the window is 37.5 kbytes in the example above? _ 10 M __ (bits/s) [easy - Rate * Window / BDP ] d. What will the maximum throughput be if the window is 200 kbytes in the example above? _ 100M __ (bits/s) [easy - full Rate if Window > BDP]
3. TCP and UDP Checksum a. What is the one's compliment 8-bit checksum of the following 8-bit binary numbers: _____ 10111111 ___ 1 0 1 1 1 0 0 1 1 0 0 0 0 1 1 0 1 0 0 1 1 1 1 1 1 0 1 0 0 0 0 0 0 (after overflow wrap-around) 1 0 1 1 1 1 1 1 (after bit-wise inversion) b. On a shared network, the buffer delay (and RTT) may increase due to congestion. Circle the right answer: This will (^) increaseincrease / decrease the packets/s being sent into the network, and ease / worsen/ worsen the congestion. c. On a shared network, the average sender-window size may decrease due to lost packets. Circle the right answer: This will increaseincrease / decrease the packets/s being sent into the network, and ease / worsen/ worsen the congestion. ECE3076 HW-3 p. 1
Name_______________________GT#_gt _ _ ____ Sec.
A2 = 70/8 + 507/8 = 53 Dev2 = 70-50 = 20 DevRTT = |20|/4+123/4 =14 RTO = 53 + 414 = 109 A3 = 20/8 + 537/8 = 49 Dev3 = 20-53 = -33 DevRTT = |-33|/4+143/4 =19 RTO = 49 + 419 = 125 ECE3076 HW-3 p. 2