DOC PREVIEW
CMU CS 15744 - Congestion Control

This preview shows page 1-2-3-20-21-22-41-42-43 out of 43 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 43 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

15-744: Computer NetworkingCongestion ControlOverviewCongestionCongestion CollapseOther Congestion Collapse CausesWhere to Prevent Collapse?Congestion Control and AvoidanceCongestion Control vs. AvoidanceSlide 10ObjectivesBasic Control ModelLinear ControlPhase plotsSlide 15Additive Increase/DecreaseMultiplicative Increase/DecreaseConvergence to EfficiencyDistributed Convergence to EfficiencyConvergence to FairnessConvergence to Efficiency & FairnessIncreaseWhat is the Right Choice?Slide 25TCP Congestion ControlTCP Congestion Control - SolutionsTCP Congestion Control BasicsSelf-clockingSlow StartSlow Start ExampleSlow Start Sequence PlotCongestion WindowCongestion AvoidanceReturn to Slow StartCongestion Avoidance Sequence PlotOverall TCP BehaviorSlide 38How to Change WindowFast RecoveryFast RecoveryNewReno ChangesRate Halving RecoveryNext Lecture: Transport Alternatives15-744: Computer NetworkingL-8 Congestion ControlL -8; 10-03-02© Srinivasan Seshan, 2002 2Congestion Control•Congestion control basics•TCP congestion control•Assigned reading•[JK88] Congestion Avoidance and Control•[CJ89] Analysis of the Increase and Decrease Algorithms for Congestion Avoidance in Computer NetworksL -8; 10-03-02© Srinivasan Seshan, 2002 3Overview•Congestion sources and collapse•Congestion control basics•TCP congestion control•TCP interactionsL -8; 10-03-02© Srinivasan Seshan, 2002 4Congestion•Different sources compete for resources inside network•Why is it a problem?•Sources are unaware of current state of resource•Sources are unaware of each other•In many situations will result in < 1.5 Mbps of throughput (congestion collapse)10 Mbps100 Mbps1.5 MbpsL -8; 10-03-02© Srinivasan Seshan, 2002 5Congestion Collapse•Definition: Increase in network load results in decrease of useful work done•Many possible causes•Spurious retransmissions of packets still in flight•Classical congestion collapse•How can this happen with packet conservation•Solution: better timers and TCP congestion control•Undelivered packets•Packets consume resources and are dropped elsewhere in network•Solution: congestion control for ALL trafficL -8; 10-03-02© Srinivasan Seshan, 2002 6Other Congestion Collapse Causes•Fragments•Mismatch of transmission and retransmission units•Solutions•Make network drop all fragments of a packet (early packet discard in ATM)•Do path MTU discovery•Control traffic•Large percentage of traffic is for control•Headers, routing messages, DNS, etc.•Stale or unwanted packets•Packets that are delayed on long queues•“Push” data that is never usedL -8; 10-03-02© Srinivasan Seshan, 2002 7Where to Prevent Collapse?•Can end hosts prevent problem?•Yes, but must trust end hosts to do right thing•E.g., sending host must adjust amount of data it puts in the network based on detected congestion•Can routers prevent collapse?•No, not all forms of collapse•Doesn’t mean they can’t help •Sending accurate congestion signals•Isolating well-behaved from ill-behaved sourcesL -8; 10-03-02© Srinivasan Seshan, 2002 8Congestion Control and Avoidance•A mechanism which:•Uses network resources efficiently•Preserves fair network resource allocation•Prevents or avoids collapse•Congestion collapse is not just a theory•Has been frequently observed in many networksL -8; 10-03-02© Srinivasan Seshan, 2002 9Congestion Control vs. Avoidance•Avoidance keeps the system performing at the knee•Control kicks in once the system has reached a congested stateLoadThroughputLoadDelayL -8; 10-03-02© Srinivasan Seshan, 2002 10Overview•Congestion sources and collapse•Congestion control basics•TCP congestion control•TCP interactionsL -8; 10-03-02© Srinivasan Seshan, 2002 11Objectives•Simple router behavior •Distributedness•Efficiency: Xknee = xi(t)•Fairness: (xi)2/n( xi2)•Power: (throughput/delay)•Convergence: control system must be stableL -8; 10-03-02© Srinivasan Seshan, 2002 12Basic Control Model•Let’s assume window-based control•Reduce window when congestion is perceived•How is congestion signaled?•Either mark or drop packets•When is a router congested?•Drop tail queues – when queue is full•Average queue length – at some threshold•Increase window otherwise•Probe for available bandwidth – how?L -8; 10-03-02© Srinivasan Seshan, 2002 13Linear Control•Many different possibilities for reaction to congestion and probing•Examine simple linear controls•Window(t + 1) = a + b Window(t)•Different ai/bi for increase and ad/bd for decrease•Supports various reaction to signals•Increase/decrease additively•Increased/decrease multiplicatively•Which of the four combinations is optimal?L -8; 10-03-02© Srinivasan Seshan, 2002 14Phase plots•Simple way to visualize behavior of competing connections over timeEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2L -8; 10-03-02© Srinivasan Seshan, 2002 15Phase plots•What are desirable properties?•What if flows are not equal?Efficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2Optimal pointOverloadUnderutilizationL -8; 10-03-02© Srinivasan Seshan, 2002 16Additive Increase/DecreaseT0T1Efficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2•Both X1 and X2 increase/decrease by the same amount over time•Additive increase improves fairness and additive decrease reduces fairnessL -8; 10-03-02© Srinivasan Seshan, 2002 17Multiplicative Increase/Decrease•Both X1 and X2 increase by the same factor over time•Extension from origin – constant fairnessT0T1Efficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2L -8; 10-03-02© Srinivasan Seshan, 2002 18Convergence to EfficiencyxHEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2L -8; 10-03-02© Srinivasan Seshan, 2002 19Distributed Convergence to EfficiencyxHEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2a=0b=1L -8; 10-03-02© Srinivasan Seshan, 2002 20Convergence to FairnessxHEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2xH’L -8; 10-03-02© Srinivasan Seshan, 2002 21Convergence to Efficiency & FairnessxHEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2xH’L -8; 10-03-02© Srinivasan Seshan, 2002 22IncreaseEfficiency LineFairness LineUser 1’s Allocation x1User 2’s Allocation x2xLL -8;


View Full Document

CMU CS 15744 - Congestion Control

Documents in this Course
Lecture

Lecture

25 pages

Lecture

Lecture

10 pages

Lecture

Lecture

10 pages

Lecture

Lecture

45 pages

Lecture

Lecture

48 pages

Lecture

Lecture

19 pages

Lecture

Lecture

97 pages

Lecture

Lecture

39 pages

Lecture

Lecture

49 pages

Lecture

Lecture

33 pages

Lecture

Lecture

21 pages

Lecture

Lecture

52 pages

Problem

Problem

9 pages

Lecture

Lecture

6 pages

03-BGP

03-BGP

13 pages

Lecture

Lecture

42 pages

lecture

lecture

54 pages

lecture

lecture

21 pages

Lecture

Lecture

18 pages

Lecture

Lecture

18 pages

Lecture

Lecture

58 pages

lecture

lecture

17 pages

lecture

lecture

46 pages

Lecture

Lecture

72 pages

Lecture

Lecture

44 pages

Lecture

Lecture

13 pages

Lecture

Lecture

22 pages

Lecture

Lecture

48 pages

lecture

lecture

73 pages

17-DNS

17-DNS

52 pages

Lecture

Lecture

10 pages

lecture

lecture

53 pages

lecture

lecture

51 pages

Wireless

Wireless

27 pages

lecture

lecture

14 pages

lecture

lecture

18 pages

Lecture

Lecture

16 pages

Lecture

Lecture

14 pages

lecture

lecture

16 pages

Lecture

Lecture

16 pages

Lecture

Lecture

37 pages

Lecture

Lecture

44 pages

Lecture

Lecture

11 pages

Lecture

Lecture

61 pages

Multicast

Multicast

61 pages

Lecture

Lecture

19 pages

Lecture

Lecture

8 pages

Lecture

Lecture

81 pages

Lecture

Lecture

9 pages

Lecture

Lecture

6 pages

Lecture

Lecture

63 pages

Lecture

Lecture

13 pages

Lecture

Lecture

63 pages

Lecture

Lecture

50 pages

lecture

lecture

35 pages

Lecture

Lecture

47 pages

Lecture

Lecture

29 pages

Lecture

Lecture

92 pages

Load more
Download Congestion Control
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Congestion Control and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Congestion Control 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?