Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Problem Solved.
    Home    
    Homework Help    
   Answer Board   
    Resources (Beta)    
   
Member's Topic Headline:

CS

Know the answer? Have a better solution? Share it.
Get Help Now.
View homework problems
explained for free!
Member Testimonials

Question:

Advertisement:

Answer | Ask New Question | Customize Profile | Leaderboards | 
FAQ

Member's Avatar

Novice
Karma Points: 43
Respect (91%):
Date Posted: 7/23/2008 3:23:34 PM  Status: Live
CS
Course Textbook Chapter Problem
Networking Computer Networking: A Top Down Approach ,4th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007. N/A N/A
Question Details:
 

1. Fairness

Suppose there are two connections, A and B, sharing a 10 Kbit link. Let us simplify the TCP congestion control protocol to include the following assumptions:

• 1 MSS = 1000 bits

• the two connections increase their window sizes by 1 MSS per RTT, in lock-step, whenever their aggregate bandwidth is less than or equal to 10 Kbits

• when the aggregate bandwidth is greater than 10 Kbits, both connections simultaneously decrease their window size to 1/2 of the previous size. The window is rounded up to the next MSS size.

(a) Suppose A's window is currently 9000 bits and B's window is 1000 bits, and both their RTTs are 1s. Show how the window sizes change after 20s

(b) Suppose A and B both have a window of 1000 bits, A has RTT of 1s and B has RTT of 2s. Show how the window sizes change after 20s. (Assume that whenever the aggregate bandwidth exceeds 10 Kbit, the next window of each of the connection will be cut in half.)

Answers:

Cramster Expert

Member's Avatar

(Cramster SME)
Moderator
Cramster In-House Subject Matter Expert
Date Posted: 7/24/2008 3:05:25 AM  Status: Live
Asker's Rating: Lifesaver   
Response:
Dear,
 
     Two connections A and B with 10Kbit link
 
         1Maximum segment size = 1000 bits
         the two connections increase their window sizes by 1 MSS per RTT,  
         Bandwidth for any window more than 10Kbits both connection will decrease their window size by 1/2 of the previous size. the window size is rounded up to the next MSS size.   
 
(a)
         A's window size starts at 9000 bits and B's window starts at 1000 bits
         A's window and B's window will increase 1MSS since RTT is 1sec for both window's.
 
 

Time

A’s window

B’s window

0

9000

1000

1

10000

2000

2

5000 (half)

1000(half)

3

6000

2000

4

7000

3000

5

8000

4000

6

4000(half)

2000(half)

7

5000

3000

8

6000

4000

9

7000

5000

10

4000(half)

3000(half)

11

5000

4000

12

6000

5000

13

3000(half)

3000(half)

14

4000

4000

15

5000

5000

16

6000

6000

17

3000(half)

3000(half)

18

4000

4000

19

5000

5000

20

6000

6000

(b) 
            A's window size starts at 1000 bits and B's window starts at 1000 bits
        each time A's window 1MSS per 1 sec and B's window same for 2 sec. 
 

Time

A’s window

B’s window

0

1000

1000

1

2000

1000

2

3000

2000

3

4000

2000

4

5000

3000

5

6000

3000

6

7000

4000

7

8000

4000

8

9000

5000

9

5000(half)

5000

10

6000

3000(half)

11

7000

3000

12

8000

4000

13

9000

4000

14

5000(half)

2000(half)

15

6000

2000

16

7000

3000

17

8000

3000

18

9000

4000

19

5000(half)

4000

20

6000

2000(half)

 




By reading or posting messages on these forums, you are agreeing to the Answer Board's Terms of Service and Conduct (TSC).


About Cramster | Terms of Use | Privacy Policy | Contact Us | Press Room | Site Map | Support | Anti-Cheating Policy

Cramster.com is not affiliated with any publisher. Book covers, title and author names appear for reference only.
Copyright © 2008 Cramster, Inc.