Minutes IETF120: iccrg: Fri 20:00
minutes-120-iccrg-202407262000-00
| Meeting Minutes | Internet Congestion Control (iccrg) RG | |
|---|---|---|
| Date and time | 2024-07-26 20:00 | |
| Title | Minutes IETF120: iccrg: Fri 20:00 | |
| State | Active | |
| Other versions | markdown | |
| Last updated | 2024-07-30 |
minutes-120-iccrg-202407262000-00
IETF 120 ICCRG
- first draft of notes is by Neal Cardwell
Hackathon update - Chairs, 5 minutes
- tested careful resume draft
- clients interacting with Quiche server via ns-3 simulator
- results were presented in TSVWG
- slightly different cwnd w/ different implementations
- presented interop matrix
Q from Colin Perkins:
- great that group is doing hackathon
- encourage circulating topics earlier, to allow organization students
Ssthresh after slow start overshoot - Michael Welzl
- not about Hystart or Hystart++; about overshoot
- beta of 0.5 is too much
- beta of 0.7 is "even more too much"
- ssthresh too large means: after recovery, we will lose a packet
again
Matt Mathis
- cool to see this written down; I had back of the envelope versions
of this in the past - suggest looking into:
- 1: saving for each packet the cwnd at the time this was sent, using
this to set ssthresh - 2: compare cwnd to ssthresh
Neal Cardwell
- have you looked at BBRv3 solution for slow-start overshoot
- would be interesting to see your experiments repeated for BBRv3
- even better than looking at cwnd at the time of packet transmit is
looking at volume of data delivered at the end of the first round
trip of fast recovery after slow start: you can measure the flow's
share of BDP + queue exactly
Matt Mathis
- That's similar to relentless TCP
- you decrease your estimate of the pipe size by the number of the
losses you experienced - intrinsict trade-off
- how fast you accelerate
- signal is delayed by one RTT
- trying to estimate the link bw by dispersion type metrics (how much
the slow-start bursts get spread out) - but dispersion bw samples get distorted by wifi re-clocking acks
- fundamental trade-off between speed of acceleration and degree of
overshoot
Chris Box provided relentless URL in chat stream:
https://www.gdt.id.au/~gdt/presentations/2010-07-06-questnet-tcp/reference-materials/papers/mathis-relentless-congestion-control.pdf
Randell Jesup
- from chat thread: "Dispersion measurement is something I used in the
Ojo videophone's CC back around 2004. This was RTP, so I had
timestamps for each packet to use, and the receiver would compare if
the packets are coming in slower than the timestamps (which says
queues are building) or faster (queues are draining), and tell the
sender. This fed into the RMCAT group creation, for example. I'm
sure there are better solutions for tcp-like flows now, though.
Dispersion is a useful data input"
Pacing in transport protocols - draft-welzl-iccrg-pacing - Michael Welzl
Neal:
- to clarify, Linux TCP pacing is not limited to 1ms granularity
- the TSO burst is auto-sized to 1ms burst by default
- so typically the pacing delay is 1ms, but not at high (>512Mbps) or
low (<24Mbps) speeds
Reese Q:
- plans?
Michael A:
- want this doc it to be published as informational RFC
Matt:
- great work; glad to see this written down
- TSO is probably extremely important in having side effects in
fairness - if you pace w/o TSO, and hit queue full, you get phase effects that
have high probability of locking out other flows - TSO has bursts, which allow other cross traffic to get in the queue
- simulators that don't do TSO will show unrealistically bad fairness
Jonathan Lennox:
- would be interesting look at pacer in Google's WebRTC library
- targeting low delay
Gorry Fairhurst:
- we're doing pacing w/ careful resume
- picoQUIC has scheduler doing this at the top
- CloudFlare has tc fq qdisc do the pacing underneath
- if you're doing CloudFlare approach, you actually do need to do the
pacing underneath: be careful to verify the expected pacing actually
happens
Michael:
- I looked at native TCP implementation
- fq qdisc takes timestamps from upper layers and implements them
L4S and Prague congestion control - draft-briscoe-iccrg-prague-congestion-control, Koen De Schepper
Koen:
-
L4S RTT fairness solution:
- with L4S, if RTT is less than 25ms, you behave like a 25ms flow
- so L4S flows with RTT <= 25ms are fair
- e.g., an L4S flow with RTT=100ms is only penalized by 100ms/25ms
= 4x
-
new: pacing with cwnd below the minimum window
Matt Mathis:
- did you consider schemes where you pace at less than 1 packet per
round trip - this "Pacing below Minimum window" slide is confusing
Koen:
-
yes, that's what we do here
- we pace at a rate of less than 1 packet per RTT when the cwnd is
fractional
- we pace at a rate of less than 1 packet per RTT when the cwnd is
-
L4S flow rate is: 1/p - 1 [Mbps]
- where p is the ECN mark probability
-
The L4S min rate of 100 kbps means 1 packet per 12.5ms
-
I'm a proponent of having both classic and L4S queues
- some apps prioritize throughput, so can use classic, and build
buffers - some apps prioritize low latency, so can use L4S, and keep
buffers mostly empty - for the network, the intention of the application
(high-throughput or low-latency) is clear
- some apps prioritize throughput, so can use classic, and build
-
UDP Prague
- made this public during hackathon
- in github: https://github.com/L4STeam/udp_prague
- can compile on any platform
- allows evolving Prague without changing the API
Q&A:
Matt Mathis: Q:
- thank you for this deck
- it's a huge help to coming up to speed with L4S
- when was the 250us pacing size conversation
Koen
- based on experience, and threshold of 1ms
- got quite some pushback
- it's OK to have up to 500us
- preferably around 250us
- with different burst sizes, some networks might give preference to
bigger or smaller burst, so it's better to standardize
Matt:
- if you imagine GOogle going from 1ms TSO to 250us TSO, would be many
Megawatts and possibly Gigawatts - burst since in Linux ends up being imposed on the Internet
Koen:
- in latest code we had to make patches to allow configuration
- if TSO burst is 1ms, can't make the queue threshold 1ms
- open for discussion
Tianji Jiang:
- L4S is marking and congestion path on same node
- have you evaluated case where congestion happens several hops after
the ECN-marking node? - there is a real scenario: in cellular network, between RAN network
and core network
Koen:
- if you have a bottleneck and you determine a marking probability,
you need to apply that ASAP - maybe you are referring to 3GPP, where RAN gives marking probability
- might be difficult to get that to work if latency is large
- this is not recommended
- recommended to do it within 5ms, 10ms, 25ms at max
- and that might start making the system unstable
Tianji Jiang:
- if you have L4S flow and non-L4S flow, will the delayed marking
effect the non-L4S flow?
Koen:
- normally L4S and classic are seprate
- but you can mix them if you have the right coupling and smoothing
(immediate marking for L4S, smoothing for classic drops)
Koen:
- if anyone is interested in trying this UDP prague CC library, we're
interested in collaborating
CC Response While Application-Limited - Matt Mathis
- you want to set ssthresh from the cwnd at the point of loss
- and not have it impacted by stall
Michael W:
- agree that ssthresh should be set to flightsize at the time that it
caused the loss
Matt:
- if you have an ACK for which flightsize=cwnd recently, then this is
safe - related to cwnd validation
- they have to do w/ what assumptions you make about how recently did
you use cwnd
Gorry Fairhurst:
- 7661 and rate-limited increase are different pieces of the puzzle,
but their not the same thing - 7661 says when something goes wrong, do something smart
- should look at QUIC as well
Matt:
- I don't turst my understanding of the documents or the history
enough to be more blunt - I like the notion of caputuring max flight size, becuase that tells
you what you observed recently - you know the pipe at that instant was at least that big
Neal:
- definitely support Matt's work
- there's a huge negative performance impact from really using RFC
5681 - the discrepency between standards and implementations is huge, and
determintal - discrepency between QUIC (ssthresh = k * cwnd) and TCP (ssthresh =
k * flightsize) is huge, and sad
Michael:
- It would be nice to record and use the flight size at the time the
data was sent, when calculating ssthresh
Matt:
- correct
Neal:
- setting ssthresh based on flightsize * beta is a tragedy, and too
pessemistic in performance terms, and nobody really does it, because
if that - this is an important open area for research
Gorry:
- flight size goes up and down a lot
- you have to have some average of flight size over time
- that's why NewCWV has buckets
- NewCWV was experimental at the time
Matt:
- that needs to be explored
- in any web browsing where you reuse a connection, you get lumpy data
- in dash video, you get periodic chunks with similar sizes
- what's fun: if the path has a resonance between chunk size and pipe
size
Gorry:
- it's possible to see flight size bump and down in dramatic way
- a lot of time has passed since 7661, maybe we can build on the
accumulated experience