lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 09 Dec 2008 00:13:38 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	doug.leith@...m.ie
Cc:	netdev@...r.kernel.org, shemminger@...tta.com
Subject: Re: [PATCH 2.6.27] tcp_vegas cong avoid fix 

From: Douglas Leith <doug.leith@...m.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@...m.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? :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ