1 / 18

Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers

Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers. Go Hasegawa Osaka University, Japan hasegawa@cmc.osaka-u.ac.jp. Backgrounds. TCP (Transmission Control Algorithm) Majority in the current Internet, also in the future

janine
Télécharger la présentation

Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Analysis of Dynamic Behaviors ofMany TCP ConnectionsSharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan hasegawa@cmc.osaka-u.ac.jp GLOBECOM2001

  2. Backgrounds • TCP (Transmission Control Algorithm) • Majority in the current Internet, also in the future • Analytic investigation is necessaryto understand its characteristics GLOBECOM2001

  3. Past researches on TCP throughput analysis • Long-term average throughput • Short-term throughput is important for short file transfer • Assume constant packet loss ratio • Packet loss ratio changes dynamically due to bursty packet loss • Assume RED works fine at the router • Bad parameter setting degrades RED performance, causing bursty packet loss GLOBECOM2001

  4. Objectives • Analysis of window size distribution of TCP connections • Using simple Markov modeling of TCP behavior • Many TCP connections accommodated • TD (Tail-Drop) and RED (Random Early Detection) • Effect of bursty packet loss • Evaluation of TD/RED routers in terms of … • Short-term fairness among TCP connections • Effect of poor parameter set of RED • Effect of TD buffer size GLOBECOM2001

  5. Network model TD/RED Router Buffer Size: B packets • N sender hosts transmit packets to receiver host by TCP Reno • Two packet dropping disciplines at router • TD (Tail Drop) • RED (Random Early Detection) • Focus on changes of window size, and ssthresh value of TCP connection Sender Host 1 Receiver Host Sender Host 2 Sender Host N GLOBECOM2001

  6. Markov modeling of TCP behavior • State is a combination of window size and ssthresh values of a TCP connection • (wi , ti ) • State transition occurs at every RTT • cwndincreases when no packet loss occurs • cwnd and ssthdecrease when packet loss occurs • State transition probabilities are dependent on… • Packet loss probability at the router buffer • Slow start, congestion avoidance algorithms of TCP GLOBECOM2001

  7. Increasing window size • When no packet loss occurs • Probability: (1 – p)wi • State transition from(wi , ti) to … • (2wi , ti) • When wi < (1/2)ti(Slow Start Phase) • (ti , ti) • When (1/2)ti < wi < ti(Phase Shift) • (wi+1, ti) • When ti < wi(Congestion Avoidance Phase) GLOBECOM2001

  8. Decreasing window size • When packet loss occurs • Probability: 1- (1 - p)wi • State transition from(wi , ti) to … • (1, wi /2) • When timeout occurs • (wi /2, wi /2) • When fast retransmit occurs • Probability of timeout • Dependent on wiand number of lost packets in a window GLOBECOM2001

  9. Packet loss probability: p • Past researches assume p is constant • Actually dependent on… • Router buffer size: B • Window size: wi • Packet discarding discipline • TD (Tail Drop),RED (Random Early Detection) GLOBECOM2001

  10. Tail-drop router • Bursty packet loss occurs when the router buffer overflows • To calculate p, we have derived … • poverflow:frequency of buffer overflow • Loverflow : # of lost packets in each buffer overflow • Li : # of lost packets for each TCP connection in each buffer overflow • p = min(1, poverflow・Li /wi ) GLOBECOM2001

  11. Tail-drop router (2) • poverflow:frequency of buffer overflow • Considering queue dynamics • 1/(N(Wf – Nw’) • Loverflow : # of lost packets in each buffer overflow • Each TCP connection increases its window size by 1 packet at every RTT • N packets are lost in total • Li: # of lost packets for each TCP connection in each buffer overflow • Proportional to window size of each TCP connection GLOBECOM2001

  12. RED router • Packet discarding probability is determined from average queue length • For applying to our model, we use instantaneous queue length; GLOBECOM2001

  13. RED router (2) • q: queue length • Assume that other TCP connections are in steady state, and queue length is affected only by wi • q = ((N-1)/N)w* + wi – 2tr • p = pred (q) GLOBECOM2001

  14. Accuracy of Analysis • N=1000, BW=1.5 Mbps, t =2 msec 1 1 B=8000 [packets] B=3000 [packets] 0.1 RED: Simulation 0.1 RED: Simulation 0.01 0.01 TD: Simulation Probability Density Function 0.001 0.001 TD: Analysis TD: Simulation 0.0001 0.0001 TD: Analysis RED: Analysis RED: Analysis 1e-005 1e-005 0 10 20 30 0 10 20 30 Window Size Window Size GLOBECOM2001

  15. 80 TD 99.9999% 70 60 TD 99.99% 50 Window Size [packets] 40 30 RED 99.9999% 20 RED 99.99% 10 0 200 300 400 500 600 700 800 900 Buffer Size / maxth [packets] Fairness evaluation • Fairness of TD is much affected by buffer size • Variation of window size of RED is small, regardless of buffer size • RED can provide better fairness in short-term TCP throughput GLOBECOM2001

  16. Conclusion • Analysis of window size distribution of TCP connections • TD/RED disciplines • Burst packet loss • Fairness evaluation of TD/RED router • RED can give short-term fairness among connections GLOBECOM2001

  17. GLOBECOM2001

  18. maxth 1 80 Queue Length 60 40 maxp Average Queue Length 20 minth 0 minth maxth 100 105 110 115 120 RED router • Probability is changed according to average queue length • Avoid buffer overflow, keep queue length low Packet Discarding Probability Queue Length [packets] Time [sec] Average Queue Length [packets] GLOBECOM2001

More Related