Packet Size & Congestion Control draft-briscoe-tsvwg-byte-pkt-mark-02.txt draft-briscoe-tsvwg-byte-pkt-mark-02.txt Bob Briscoe, BT & UCL IRTF ICCRG Mar.

Slides:



Advertisements
Similar presentations
The Transmission Control Protocol (TCP) carries most Internet traffic, so performance of the Internet depends to a great extent on how well TCP works.
Advertisements

Guidelines for Adding Congestion Notification to Protocols that Encapsulate IP draft-briscoe-tsvwg-ecn-encap-guidelines-00 Bob Briscoe IETF-80 Mar 2011.
1 IETF 88 IETF88 Vancouver Congestion control for video and priority drops Background for draft-lai-tsvwg-normalizer-02.txt Toerless Eckert,
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli University of Calif, Berkeley and Lawrence Berkeley National Laboratory SIGCOMM.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. March 2005, presentation to AVT draft-ietf-dccp-tfrc-voip-01.txt.
Explicit Congestion Notification (ECN) RFC 3168 Justin Yackoski DEGAS Networking Group CISC856 – TCP/IP Thanks to Namratha Hundigopal.
Sizing Router Buffers Guido Appenzeller Isaac Keslassy Nick McKeown Stanford University.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
The Power of Explicit Congestion Notification Aleksandar Kuzmanovic Northwestern University
1 EE 627 Lecture 11 Review of Last Lecture UDP & Multimedia TCP & UDP Interaction.
Internetworking Fundamentals (Lecture #1) Andres Rengifo Copyright 2008.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
Internet Research Needs a Critical Perspective Towards Models –Sally Floyd –IMA Workshop, January 2004.
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Travis Grant – Mingzhe Li, Choong-Soo Lee, Emmanuel.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
Streaming Video Gabriel Nell UC Berkeley. Outline Scalable MPEG-4 video – Layered coding method – Integrated transport-decoder buffer model RAP streaming.
10th Workshop on Information Technologies and Systems 1 A Comparative Evaluation of Internet Pricing Schemes: Smart Market and Dynamic Capacity Contracting.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
1 Guidelines for Adding Congestion Notification to Protocols that Encapsulate IP draft-briscoe-tsvwg-ecn-encap-guidelines-01 Bob Briscoe IETF-85 Nov 2012.
Datagram Congestion Control Protocol
PCN WG (Pre-Congestion Notification) – a brief status update Philip Eardley, BT TSVAREA, IETF-73 Minneapolis 18 Nov 08
U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
MaxNet NetLab Presentation Hailey Lam Outline MaxNet as an alternative to TCP Linux implementation of MaxNet Demonstration of fairness, quick.
Korea Advanced Institute of Science and Technology Network Systems Lab. 1 Dual-resource TCP/AQM for processing-constrained networks INFOCOM 2006, Barcelona,
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. August 2005 draft-ietf-dccp-tfrc-voip-02.txt Slides:
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. November 2005 draft-ietf-dccp-tfrc-voip-02.txt Slides:
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-01.txt draft-briscoe-tsvwg-byte-pkt-mark-01.txt Bob Briscoe, BT & UCL IETF-70.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-00.txt draft-briscoe-tsvwg-byte-pkt-mark-00.txt Bob Briscoe, BT & UCL IETF-69.
DCCP, TFRC & Open Problems in Congestion Control for Media Applications Tom Phelan 13-Feb-2007 ICCRG.
Requirements for Simulation and Modeling Tools Sally Floyd NSF Workshop August 2005.
報告人:林祐沁 學生 指導教授:童曉儒 老師 March 2, Wireless Video Surveillance Server Based on CDMA1x and H.264.
1 Congestion Control Computer Networks. 2 Where are we?
Congestion exposure BoF candidate protocol: re-ECN Bob Briscoe Chief Researcher, BT Nov 2009 This work is partly funded by Trilogy, a research project.
Byte and Packet Congestion Notification draft-ietf-tsvwg-byte-pkt-congest-00.txt draft-ietf-tsvwg-byte-pkt-congest-00.txt Bob Briscoe, BT & UCL IETF-73.
DCCP: Issues From the Mailing List Sally Floyd, Eddie Kohler, Mark Handley, et al. DCCP WG March 4, 2004.
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. March draft-ietf-dccp-tfrc-voip-01.txt
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Solving this Internet resource sharing problem... and the next, and the next Bob Briscoe Chief Researcher BT Group (& UCL) Lou Burness, Toby Moncaster,
Flow rate fairness dismantling a religion draft-briscoe-tsvarea-fair-01.pdf Bob Briscoe Chief Researcher, BT Group IETF-68 tsvwg Mar 2007 status: individual.
Thoughts on the Evolution of TCP in the Internet (version 2) Sally Floyd ICIR Wednesday Lunch March 17,
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
CONGESTION CONTROL.
Lecture Network layer -- May Congestion control Algorithms.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Byte and Packet Congestion Notification draft-briscoe-tsvwg-byte-pkt-mark-02.txt draft-briscoe-tsvwg-byte-pkt-mark-02.txt Bob Briscoe, BT & UCL IETF-71.
RMCAT architectural overview Michael Welzl 1 RMCAT, 85 th IETF Meeting
Thoughts on the Evolution of TCP in the Internet Sally Floyd PFLDnet 2004 February 16, 2004.
Real-time Transport for Assured Forwarding: An Architecture for both Unicast and Multicast Applications By Ashraf Matrawy and Ioannis Lambadaris From Carleton.
1 Three ways to (ab)use Multipath Congestion Control Costin Raiciu University Politehnica of Bucharest.
Accelerating Peer-to-Peer Networks for Video Streaming
Corelite Architecture: Achieving Rated Weight Fairness
Impact of New CC on Cross Traffic
Internet Networking recitation #9
Congestion Control, Internet transport protocols: udp
CONGESTION CONTROL.
Internet Congestion Control Research Group
Internet Networking recitation #10
EE 122: Differentiated Services
Review of Internet Protocols Transport Layer
DCCP: Issues From the Mailing List
Presentation transcript:

Packet Size & Congestion Control draft-briscoe-tsvwg-byte-pkt-mark-02.txt draft-briscoe-tsvwg-byte-pkt-mark-02.txt Bob Briscoe, BT & UCL IRTF ICCRG Mar 2008

2 what does congestion notification on a packet of a certain size mean? notification of excess bits? transport reduces bit-rate notification of excess packets? transport can increase packet size but hold bit-rate neither of the above? related questions how should congestion notification scale with packet size? principles for future protocol design taking into account existing deployments which algorithms should depend on packet size? when network equipment encodes congestion notification into a packet? and/or when transport decodes congestion notification from a packet? for any of: drop ECN PCN [PCN] deterministic marking [DPM, ADPM] Δexplicit rates (e.g. XCP)

3 why decide now? between transport & network part of answering ICCRG question what’s necessary & sufficient forwarding hardware for future cc? near-impossible to design transports to meet guidelines [RFC5033] if we can’t agree whether transport or network should handle packet size DCCP CCID standardisation hard to assess TFRC small packet variant experiment [RFC4828] PCN marking algorithm standardisation imminent (chartered) but depends on this decision what little advice there is in the RFC series (on RED) is unclear: it seems to give perverse incentives to create small packets it seems to encourage a dangerous DoS vulnerability evolving larger PMTUs may solve other scaling problems

4 bit-congestible and packet-congestible bit-congestible resources e.g. transmission links, most buffer memory packet-congestible resources (often cycle-congestible) e.g. route look-ups, firewalls, fixed size packet buffers most network resources are solely bit-congestible by design, max bit-rates protect packet processors (no survey evidence for this – only assertions) r pps x bps consider a link of bit-rate x [bps] feeding a packet processor of rate r [pps] with min packet size of h [b/pkt] as long as r ≥ x/h resource is always bit-congestible h

5 increasing range of packet sizes as we increase max packet size to increase bit-rate min packet size doesn’t increase too cannot guarantee transports will not send tiny packets future could be more mixed bit-congestible & packet-congestible but processing speed growth currently faster than transmission r pps x bps as x increases with h const if growth in r doesn’t keep up r ≥ x/h may no longer hold resource sometimes pkt-congestible? h

6 growing list of confusable causes of drop 1.transmission loss 2.congestion a)bit-congestion b)packet-congestion 3.policing a)for numerous reasons b)…beyond scope today if we find a way to distinguish 1. & 2., when standardising we should consider distinguishing 1, 2a), 2b), 3)... safe approach if unsure, assume byte-congestion and reduce bit-rate (& pkt-rate) only maintain bit-rate if explicit indication otherwise wholly explains losses

7 future protocol design cause of a drop will remain unguessable not cost-effective for all resources to include smarts AQM, XCP, etc will never be omnipresent consider higher layer devices: firewalls, servers, proxies and lower layer devices: home-hubs, DSLAMs, WLAN cards, node-Bs careful network design can hide dumb queues so even worst traffic matrix cannot congest dumb queues (spare slide) –sufficient overprovisioning of dumb resources –upstream elements contain AQM smarts: ‘sacrificial throttling’ but transports cannot assume careful network design AQM has to remain an optimisation, not a generic invariant

8 which layer should adjust for packet size network or transport? stages where packet size might be relevant: 1.measuring congestion (queue length in bytes or packets?) 2.coding congestion (drop or ECN marking) into a specific packet 3.decoding congestion notification from a specific packet #1 is orthogonal to others only depends on how the resource gets congested complicated (see I-D [byte-pkt] ) but not controversial local implementation issue, not IETF/IRTF standards we’ll focus on #2 vs. #3

9 tempting to reduce drop for small packets drops less control packets, which tend to be small SYNs, ACKs, DNS, SIP, HTTP GET etc makes TCP bit-rate less dependent on pkt size but we need principles – these are merely expedients small != control favouring smallness will encourage smallness given TCP’s bit-rate depends on packet size is that sufficient reason to change the network layer for every transport?

10 proposed test congestion control scaling with packet size two scenarios: identical except for one aspect same number of sources with same mix of apps divide the same load into 1.fewer large packets 2.more small packets passes if it responds to congestion in the same way in both scenarios assume links shared by many flows increasing congestion hits more flows with drops/marks

11 does reducing drop for small packets scale? byte-mode drop variant of RED  for bit-congestible resources FAILS scalability test even combination of TCP & squared byte-mode RED [Cnodder] which cancels out dependence on packet size of TCP’s bit rate intuition as packet sizes increase, the higher drop fraction needed to get the same bit-rate removes an increasing fraction of the goodput, requiring greater load to compensate conversely, with smaller packets, very few bytes need to be dropped to notify TCP with sufficient packets. So when queues actually overflow, the bytes that have to be discarded represent a much higher notification fraction, causing TCP to overreact

12  network layer adjustment transport congestion control packet-mode packet drop linear byte-mode packet drop squared byte-mode packet drop TCP [RFC2581] or TFRC [RFC3448] transport layer adjustment TFRC-SP [RFC4828] flow bit rate per RTT in terms of s = packet size p = drop (or marking) rate prior to adjustment layer to adjust rate for size of a dropped packet network or transport?

13 favouring small packets: DoS vulnerability small packet attacks push out larger packets leaving most small packets to attack the next queue & the next, & the next DoS vulnerability similar to that of drop tail queues AQM was partly about not locking-out large packets* shouldn’t add lock-out back again in the AQM algorithm * not stated and not a motivation according to at least one author (Floyd)

14 example: comparing each RED mode simple packet streams (no congestion response) same drop probability for any packet universally deployed propose: SHOULD lower drop probability for smaller packets ‘RED’ RFC2309 (sort of) recommends propose: SHOULD NOT REDbyte-modepacket drop 1500B pkts60B pkts input1Mbps drop prob.48%1.9% output520kbps980kbps RED packet-mode packet drop 1500B pkts60B pkts input1Mbps drop prob.25% output750kbps see note in I-D about dynamic effects

15 RED byte mode packet drop deployment survey wide range of types of company large L3 & L2 equipment vendors wireless equipment vendors firewall vendors large software businesses with a small selection of networking products “no response” includes 10 open source (Linux/FreeBSD) institutions quick look at one (Fedora): not implemented “not implemented” includes very large fraction of the market e.g. Cisco, Alcatel-Lucent (two who have given permission to be identified) since 10-Nov-2004 byte-mode RED default in ns2 simulator NOTE: later ns2 simulations with default RED & mixed packet sizes likely to be very unlike real Internet 1417%not implemented 22%not implemented probably (tbc) 00%implemented 6881%no response (so far) 84100%companies/org’s surveyed

16 summary congestion notification on a packet of a certain size means......notification of excess bits assuming a predominantly bit-congestible world open research question: is a packet-congestible world likely? pls discuss on need consensus: allow for packet size in transport, not network AQM algorithms should not favour small packets* pls discuss / support / bash this I-D on need a programme of transport congestion control updates to take this meaning of packet size into account to ensure transports (including TCP) scale with packet size * don’t turn off RED completely: would also favour small packets at least as much as RED byte mode packet drop * only RED byte mode packet drop deprecated byte mode queue measurement (often called just ‘byte mode’) is OK

Packet Size & Congestion Control draft-briscoe-tsvwg-byte-pkt-mark-02.txt draft-briscoe-tsvwg-byte-pkt-mark-02.txt Q&A

18 sacrificial throttling: example SIP signalling ADSL Modem & router ADSL RTP (audio, video) BB BGW SIP signalling access radio access b/w brokers only resource control the access network core BGW BB non-blocking inner core [Reid05] fully meshed load balanced using ECMP even with dual inner core failures outer core remains the bottleneck WRED AQM on outer core links not on hi-speed inner core links

19 more info (not including the well-known stuff) [byte-pkt] Bob Briscoe, “Byte and Packet Congestion Notification” draft-briscoe- tsvwg-byte-pkt-mark-02.txt (work in progress), (Feb 2008)draft-briscoe- tsvwg-byte-pkt-mark-02.txt [Reid05] Andy B. Reid, Economics and scalability of QoS solutions, BT Technology Journal, 23(2) pp97 – 117 (April 2005) [PCN] Eardley, P., “Pre-Congestion Notification Architecture,” draft-ietf-pcn- architecture-03 (work in progress), (Feb 2008)Pre-Congestion Notification Architecture [RFC2039] Bob Braden et al “Recommendations on Queue Management and Congestion Avoidance in the Internet,” RFC 2309 (Apr 1998)Recommendations on Queue Management and Congestion Avoidance in the Internet [RFC4828] Floyd, S. and E. Kohler, “TCP Friendly Rate Control (TFRC): The Small- Packet (SP) Variant,” RFC 4828 (Apr 2007)TCP Friendly Rate Control (TFRC): The Small- Packet (SP) Variant [ADPM] Lachlan Andrew et al, “Adaptive Deterministic Packet Marking” IEEE Comm. Letters, 10(11): (Nov 2006)Adaptive Deterministic Packet Marking [DPM] R.W. Thommes and M.J. Coates, “Deterministic Packet Marking for Time- Varying Congestion Price Estimation”, IEEE/ACM Transactions on Networking, 14(3): (Jun 2006)Deterministic Packet Marking for Time- Varying Congestion Price Estimation