My original attempt at sending this was blocked due to the ip address embedded in the url I'd included.... resending... On 10/13/2011 01:30 PM, Juliusz Chroboczek wrote: > Dave, > > I'm not sure what you are getting at. ECN is designed for routers, not > for end-points. Which happens to be what I'm primarily working on at the moment. Secondly, in mesh networks, all machines are routers. > Assering ECN congestion-experienced at the sender will > cause the sender to react to the congestion indication after a whole RTT > (after the ECN-echo is received). For end-to-end flow control, it is > both simpler and more efficient to reduce the sending rate immediately, > without going over the network. > > There's a good reason why we're careful to distinguish congestion > control (router-to-endpoint) and flow control (endpoint-to-endpoint). > The latter is much easier. My message was overly broad in scope and I failed to distinguish between 'asserting ECN from userspace', and 'indicating a flow was ECN capable' >> 1) Applications such as bittorrent (transmission, etc) that are much >> more aware of their overall environment could assert ECN on their UDP >> streams to indicate congestion. > The sender can react to congestion by simply reducing the sending rate. > The receiver can react to congestion by pipelining fewer chunk requests > to the sender. > And what I meant here, was more 'indicate a flow is ecn capable' than 'assert ECN', so routers in the middle can do better signalling. ...although I can still imagine circumstances where asserting ECN makes sense at the endpoint. See for example: http://en.wikipedia.org/wiki/Data_Center_TCP >> 3) Web Proxies. A web proxy could note when it was experiencing >> congestion on one side of the proxied connection (or another) and signal >> the other side to slow down. > It can cause the other side to slow down by simply stopping reading, > thus causing the normal TCP flow control (not congestion control) to > kick in. Yes, but in this case a TCP flow will continue to scale the window and thus sending rate until those buffers fill. Signalling ECN sooner would allow a middlebox/web proxy/split tcp session that is blocking on send to throttle the overall rate from the other side at the speed it is actually capable of retransmitting. > What would be useful, on the other hand, would be the ability to set the > ECN enabled codepoint on UDP packets, Agreed. > and have some means to reliably > check whether the Congestion-Experienced codepoint has been set by some > intermediate router. From the previous discussion on this thread it looks as though the core capabilities exist, if not application code... which looks simple to play with, and then apply to the AQM work ongoing. > But that's different from what you appear to be > suggesting. > You make my thoughts clearer, as always. Also, as we discussed elsewhere, setting the ECN capable bit on streams such as VOIP has a packet preservation-through-a-single-congested-endpoint feature that may well be useful. Completely as a side note, I've been looking over the shortest queue first algorithm for AQM, which is quite promising in and of itself, without qos or signalling needed at all. My first attempt at sending this mail failed due to the embedded ip address for the paper in the google search - if you search for this, you can find the paper I'm referring to: Self-Prioritization of Audio and Video Traffic > -- Juliusz -- Dave Täht