220 likes | 466 Views
Amit Mondal Aleksandar Kuzmanovic Northwestern University. When TCP Friendliness Becomes Harmful. http://networks.cs.northwestern.edu/. Introduction. Internet was designed for throughput TCP probes for available b/w even if it causes packet losses Interactive applications suffer!
E N D
Amit Mondal Aleksandar Kuzmanovic Northwestern University When TCP Friendliness Becomes Harmful http://networks.cs.northwestern.edu/
Introduction • Internet was designed for throughput • TCP probes for available b/w even if it causes packet losses • Interactive applications suffer! • Telnet, ssh, games, chat all use TCP • Telnet delay from typed character until echo • Includes transmission, propagation and queuing delay • It loss, TCP retransmits
Upgrading mice to elephants data packets strict priority TCP-fair rate “dummy” packets Padding misbehavior
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
Source of the problem How TCP detects packet loss? Retransmission Timeout (RTO) (1 second) Triple duplicate acknowledgment/Fast retransmit (~ 10-100 ms) How does it affect interactive applications? Burst size (~ 1-2 packets) Inter-burst time (~ seconds) Packet loss is detected by timeout, which degrades the response time in orders of magnitude
improvement C D A B A deeper look RTO Incentive for misbehavior!
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
Related Work • Packet marking & differential dropping [Guo and Matta ‘01] • Service differentiation [Noureddine and Tobagi ‘02] • Differential Congestion Notification [ Le et al. ’04] • Explicit congestion notification [Floyd ‘94] • TCP smart framing [Mellia et al. ‘05]
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
Implication Packet switched => Circuit switched
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
p 1-p 1-Q Q RTT RTO 1-p 1-p p p RTO 1-p 1-p 2RTO p p 4RTO 2RTO Quantifying padding induced-gain P = packet loss ratio Q = prob. packet loss is detected timeout Correlated packet loss (FIFO) Random packet loss (RED)
RED FIFO Modeling Upgrading interactive TCP flows to fully backlogged flows always pays-off
Simulations 1) Queuing delay plays a role 2) Consecutive packet losses can affect overall gain achieved
Outline • Source of the problem • Related work • Implication • Padding-induced response time gain • Sustainable countermeasures • Conclusion
Sustainable countermeasures (1) Differentiated minRTO Application-limited flows use reduced value for minRTO parameter Short-term padding with dummy packets Enable that a packet loss is detected via fast retransmit mechanism Actual packet followed by three tiny dummy packets. A diversity approach TCP sends k (k>1, k is a small integer) copies of the packet without violating congestion control mechanism In reality k=2 is sufficient
Sustainable countermeasures (2) Differentiated minRTO does not work Short-term padding and diversity approaches outperform fully-backlogged approach
Sustainable countermeasures (3) RED FIFO Short-term padding and diversity approaches outperform fully-backlogged approach
RED FIFO Overhead and Sustainability Issue: What happens when everyoneadopts our approach? Short-term padding and diversityapproaches provide significantly friendlier environment
Conclusion TCP’s loss recovery mechanism degrades response time of interactive applications relative to long flows during congestion. Incentive for padding misbehaviour and seriously degrades overall networks performance. Explored simple, sustainable and easily deployable solutions.