netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 2.6.27] tcp_vegas cong avoid fix
       [not found] <20081205164743.GB18146@scriptng>
@ 2008-12-09  8:13 ` David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2008-12-09  8:13 UTC (permalink / raw)
  To: doug.leith; +Cc: netdev, shemminger

From: Douglas Leith <doug.leith@nuim.ie>
Date: Fri, 5 Dec 2008 16:47:43 +0000

> This patch addresses a book-keeping issue in tcp_vegas.c.   At present tcp_vegas
> does separate book-keeping of cwnd based on packet sequence numbers.  A mismatch can develop between this
> book-keeping and tp->snd_cwnd due, for example, to delayed acks acking
> multiple packets.  When vegas transitions to reno operation (e.g. following
> loss), then this mismatch leads to incorrect behaviour (akin to a cwnd
> backoff).  This seems mostly to affect operation at low cwnds where delayed acking can 
> lead to a significant fraction of cwnd being covered by a single ack, leading to the 
> book-keeping mismatch.  This patch modifies the congestion avoidance update to avoid 
> the need for separate book-keeping while leaving vegas congestion avoidance functionally 
> unchanged.  A secondary advantage of this modification is that the use of fixed-point 
> (via V_PARAM_SHIFT) and 64 bit arithmetic is no longer necessary, simplifying the code.
> 
> Some example test measurements with the patched code (confirming no functional
> change in the congestion avoidance algorithm) can be seen at:
> 
> http://www.hamilton.ie/doug/vegaspatch/
> 
> 
> Signed-off-by:  Doug Leith <doug.leith@nuim.ie>

Applied, thanks a lot Doug.

> --- net/ipv4/tcp_vegas.c.orig	2008-12-04 23:51:19.000000000 +0000
> +++ net/ipv4/tcp_vegas.c	2008-12-05 15:04:11.000000000 +0000

I remember asking you to -p1 root your patches last time,
or did I? :-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-09  8:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20081205164743.GB18146@scriptng>
2008-12-09  8:13 ` [PATCH 2.6.27] tcp_vegas cong avoid fix David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).