Question

In: Computer Science

Consider sending a large file from a host to another over a TCP connection that has...

Consider sending a large file from a host to another over a TCP connection that has no loss. Suppose TCP uses AIMD for its congestion control without slow start. The initial MSS=4 and cwnd increases by 1 MSS every time a batch of ACKs is received. Assume approximately constant round-trip times. a. how long does it take for cwnd increase from 5 MSS to 9 MSS (assuming no loss events)? b. What is the average throughout (in terms of MSS and RTT) for this connection up through time =6 RTT?

Solutions

Expert Solution

Answer : Given data

* Suppose TCP uses AIMD for its congestion control without slow start.

* The initial MSS=4 and cwnd increases by 1 MSS every time a batch of ACKs is received.

=>TCP uses AIMD for congestion control without slow start.

=>Initial window size = 4 MSS

=>Congestion window(cwnd) increases by 1 MSS every RTT.

(a)

=>cwnd increases from 5 MSS to 9 MSS

Explanation:

=>cwnd window will increase by 1 MSS every RTT

5 MSS | 6 MSS | 7 MSS | 8 MSS | 9 MSS

=>As we can see we are required 4 RTT to reach 9 MSS from 5 MSS cwnd size hence time required = 4 RTT

(b)

=>Time = 6 RTT

Explanation:

=>cwnd window will increase by 1 MSS every RTT

=>Initial window size = 4 MSS

4 MSS | 5 MSS | 6 MSS | 7 MSS | 8 MSS | 9 MSS | 10 MSS

=>We can see after 6 RTT congestion window(cwnd) = 10 MSS

Calculating average throughput:

=>Average throughput = window size/time

=>Average throughput = 10 MSS/6 RTT

=>Average throughput = 5 MSS/3 RTT

___________THE END____________


Related Solutions

Consider sending a large file of F bits from Host A to Host B. There are...
Consider sending a large file of F bits from Host A to Host B. There are three links (and two switches) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 80 bits of header to each segment, forming packets of L=80+ S bits. Each link has a transmission rate of R bps. Find the value of S that minimizes the delay of...
Consider sending a large file of F bits from Host A to Host B. There are...
Consider sending a large file of F bits from Host A to Host B. There are three links (and two switches) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 80 bits of header to each segment, forming packets of L=80+ S bits. Each link has a transmission rate of R bps. The link propagation delay, let's call it d, was not...
Host A and B are communicating over a TCP connection, and Host B has already received...
Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 99. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 30 and 70 bytes of data, respectively. In the first segment, the sequence number is 100, the source port number is 4321, and the destination port number is 80. Host B sends an ACK whenever it receives a segment...
Host A and B are communicating over a TCP connection. The initial sequence number at Host...
Host A and B are communicating over a TCP connection. The initial sequence number at Host A is 2171. Host A opens the connection, sends three segments, the second of which carries 400 bytes of data, and closes the connection. In the segment sent by Host A, source port number is 303, and the destination port number is 80. ) What is the value of the sequence number of the SYN segment? (1.5 marks) ) What is the value of...
Host A and B are communicating over a TCP connection. The initial sequence number at Host...
Host A and B are communicating over a TCP connection. The initial sequence number at Host A is 2171. Host A opens the connection, sends three segments, the second of which carries 400 bytes of data, and closes the connection. In the segment sent by Host A, source port number is 303, and the destination port number is 80. ) What is the value of the sequence number of the SYN segment? (1.5 marks) ) What is the value of...
Hosts A and B are communicating over a TCP connection and Host B has already received...
Hosts A and B are communicating over a TCP connection and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back (See the figure below). The first and second segments contain 80 and 40 bytes of data respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever...
Hosts A and B are communicating over a TCP connection, and Host B has already received...
Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 80 and 40 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgment whenever it receives a segment...
We are sending a MP3 file of 300,000 bits from Host A to Host B. Host...
We are sending a MP3 file of 300,000 bits from Host A to Host B. Host A and B are each connected to a switch S via 100 Mbps links. Assume that each link introduces a propagation delay of 10 µs (microsecond). Calculate the total transfer time of the entire file (from first bit sent to last bit received) for the following: Suppose the MP3 file is sent as one message. S is a store-and-forward device; it begins retransmitting immediately...
We are sending a MP3 file of 1,000,000 bits from a source host to a destination...
We are sending a MP3 file of 1,000,000 bits from a source host to a destination host. All links in the path between source and destination have a bandwidth of 10 Mbps. Assume that the propagation speed is 2.5 * 10 8 meters/sec, and the distance between source and destination is 10,000 km. 1. Now suppose there are two links between source and destination, with one switch connecting the two links. Each link is 5,000 km long. Again suppose the...
1.   (a) We are sending a 30 Mbit MP3 file from a source host to a...
1.   (a) We are sending a 30 Mbit MP3 file from a source host to a destination host. All links in the path between source and destination have a transmission rate of 10 Mbps. Assume that the propagation speed is 2*108 meters/sec, and the distance between source and destination is 10,000 km. Now suppose that the MP3 file is broken into 3 packets, each of 10 Mbits. Ignore headers that may be added to these packets. Also ignore router processing...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT