Question

Computer Networks

Suppose that the congestion window of a TCP connection starts from W/2 bytes, grows as specified in the congestion avoidance state until reaching W bytes, and then resets to W/2 bytes upon detecting a lost segment. Assume each segment contains MSS bytes of data, and each round takes RTT seconds. a) Give the number of rounds it takes for the window to grow from W/2 to W. b) Give the total number of bytes transmitted in a period, i.e., the period from the time the window is W/2 to just before the next time it becomes W/2 again Give the loss rate (fraction of lost segments in the long run). c) d) Show that for W >> MSS (: much larger than), the average throughput is approximately 1.22 MSS RTT - VL

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) In congestion avoidance until you get detection of lost segment we get increment of 1 packet for each acknowledgement received. So it takes total time of (W - (W/2))*RTT

b) W/2 + (W/2 + 1) + ...... + W = 3/8 W^2 + 3/4 W .It has to grow from W/2 to W. So we sum it up.

c)If we take the value W/2 + (W/2 + 1) + ...... + W = 3/8 W^2 + 3/4 W = K, then for every K packets we will observe a loss So we get the value of the loss rate L = 1/K

d)Let the first loss occur when the window size is W. Then the window size becomes W/2. So next loss occur again at W. No.of packets transmitted :
W/2 + (W/2 + 1) + ...... + W = 3/8 W^2 + 3/4 W = K
Then loss rate L = 1/K
For larger values of W , we have W^2 term dominating over W.
So loss rate becomes L = 8/(3W^2) which gives W = \sqrt{\frac{8}{3*L}}

The standard formula for the Average Throughtput = 0.75 (Max bytes transferred in a period)/RTT.

Max bytes transferred is when window size is max = W * MSS. So using these two equation we get the following answer.

Substituting the above found value of W in terms of loss rate we get the required equation:
\frac{1.22*MSS}{RTT*\sqrt{L}} which is required answer.

Add a comment
Know the answer?
Add Answer to:
Computer Networks Suppose that the congestion window of a TCP connection starts from W/2 bytes, grows...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 6. Figure 1 shows an example variation of congestion window for TCP Reno. Assume that TCP...

    6. Figure 1 shows an example variation of congestion window for TCP Reno. Assume that TCP segment size is 1500 bytes and average RTT is 150 msec. i) What is the average throughput (in bits/sec) during transmission rounds starting from round 6 until round 10 starts. ii) What are the values of ssthresh at the 18th and 24th transmission rounds? iii) Suppose TCP Tahoe is used (instead of TCP Reno), and there is a timeout event at 22nd round. How...

  • check my answers for Networking I came up with these answers, can check my answers Question...

    check my answers for Networking I came up with these answers, can check my answers Question 1: General What data rate is needed to transmit an uncompressed 4" x 6" photograph every second with a resolution of 1200 dots per inch and 24 bits per dot (pixel)? 691,200 kb/s 28.8 kb/s 8.29 Mb/s 829 Mb/s Question 2: Layering "Layering" is commonly used in computer networks because (check all that apply): -It forces all network software to be written in ‘C’....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT