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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 02 Oct 2013 16:46:00 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org, ncardwell@...gle.com, ycheng@...gle.com,
	maze@...gle.com
Subject: Re: [PATCH] tcp: sndbuf autotuning improvements

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 01 Oct 2013 10:23:44 -0700

> From: Eric Dumazet <edumazet@...gle.com>
> 
> tcp_fixup_sndbuf() is underestimating initial send buffer requirements.
> 
> It was not noticed because big GSO packets were escaping the limitation,
> but with smaller TSO packets (or TSO/GSO/SG off), application hits
> sk_sndbuf before having a chance to fill enough packets in socket write
> queue.
> 
> - initial cwnd can be bigger than 10 for specific routes
> 
> - SKB_TRUESIZE() is a bit under real needs in some cases,
>   because of power-of-two rounding in kmalloc()
> 
> - Fast Recovery (RFC 5681 3.2) : Cubic needs 70% factor
> 
> - Extra cushion (application might react slowly to POLLOUT)
> 
> tcp_v4_conn_req_fastopen() needs to call tcp_init_metrics() before
> calling tcp_init_buffer_space()
> 
> Then we realize tcp_new_space() should call tcp_fixup_sndbuf()
> instead of duplicating this stuff.
> 
> Rename tcp_fixup_sndbuf() to tcp_sndbuf_expand() to be more
> descriptive.
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Neal Cardwell <ncardwell@...gle.com>
> Signed-off-by: Yuchung Cheng <ycheng@...gle.com>
> Acked-by: Maciej Żenczykowski <maze@...gle.com>

I assume this is meant for net-next as that is where this applies
cleanly.

Applied, thanks.
--
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