If your link is the bottleneck, adding buffers (allowing latency to increase)
doesn't decrease loss over the long run, it just hides it in the short run.
If you don't have the bandwidth to send the packets, nothing you do with buffers
or latency will let you get more packets through.
If you push too hard to decrease latency, then you run into times when the link
is idle, so throughput can suffer a little bit.
But right now, real-world buffers commonly get into tens of seconds worth of
traffic. Far beyond what's needed or reasonable to keep the links busy. Using
active queue management to keep the links busy without letting the backlong
build up results in both increased throughput for users, and decreases of
latency of a couple orders of magnatude.
by comparison, ECN on a network that's operating without excessive buffering and
has a large number of flows, is going to only have a small effect on latency and
througput overall.
Yes, when a packet is lost it causes a 'large' amount of latency as the sender
times out and retransmits, but if this is only happening every few thousand
packets, it's a minor effect.
David Lang
On Fri, 27 Mar 2015, Vishal Misra wrote:
If you reduce latency, the dynamics of TCP are such that it will necessarily
increase loss rate. On a bottlenecked link, the relationship of throughput to
the RTT and loss rate of TCP is roughly the following (happy stop supply link
to papers):
throughput = K/(RTT*sqrt(p))
where K is some constant, p is the loss rate and RTT is the round trip time. If
you reduce latencies, to maintain the same throughput (that of the bottlenecked
link), the loss rate has to necessarily go up.
So reducing latencies has the impact of increasing loss rates which affects
things in bad ways as has been pointed out.
With ECN, it is the _marking_ rate that goes up and TCP follows the same
dynamics. Nothing is dropped, no harm done.
That’s why ECN widely adopted is a win-win.
-Vishal
--
http://www.cs.columbia.edu/~misra/
On Mar 27, 2015, at 2:36 PM, John Leslie <[email protected]> wrote:
Scheffenegger, Richard <[email protected] <mailto:[email protected]>> wrote:
... At the least when you are using TCP, a drop will cause head-of-line
blocking on the receiver, for at least 1 RTT;
Yes.
This is a trade-off: many folks believe that a good AQM has enough
benefits for typical TCP flows to overcome that. (YMMV)
_______________________________________________
aqm mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/aqm