From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f43.google.com ([74.125.83.43]:45239 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751659AbeBRVGz (ORCPT ); Sun, 18 Feb 2018 16:06:55 -0500 Received: by mail-pg0-f43.google.com with SMTP id e11so5116227pgq.12 for ; Sun, 18 Feb 2018 13:06:55 -0800 (PST) Message-ID: <1518988012.55655.16.camel@gmail.com> Subject: Re: TCP and BBR: reproducibly low cwnd and bandwidth From: Eric Dumazet To: Oleksandr Natalenko , Eric Dumazet Cc: Neal Cardwell , "David S. Miller" , Netdev , Yuchung Cheng , Soheil Hassas Yeganeh , Jerry Chu , Dave Taht Date: Sun, 18 Feb 2018 13:06:52 -0800 In-Reply-To: <1518987867.55655.15.camel@gmail.com> References: <1697118.nv5eASg0nx@natalenko.name> <7409814.oObJlsYiIU@natalenko.name> <5668348.WVIY7FqTii@natalenko.name> <1518893571.55655.12.camel@gmail.com> <1518987867.55655.15.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org List-ID: On Sun, 2018-02-18 at 13:04 -0800, Eric Dumazet wrote: > > Can you please test the following patch ? > > Note that some cleanups can be done later in TCP stack, removing lots > of legacy stuff. > > Also TCP internal-pacing could benefit from something similar to this > fq patch eventually, although there is no hurry. > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=fefa569a9d4bc4b7758c0fddd75bb0382c95da77   > > Of course, you have to consider why SG was disabled on your device, > this looks very pessimistic. > > Thanks ! > >  include/net/sock.h  |    1 + >  net/core/sock.c     |    2 +- >  net/ipv4/tcp_ipv4.c |    1 + >  net/ipv6/tcp_ipv6.c |    1 + >  4 files changed, 4 insertions(+), 1 deletion(-) Also note that the patch only deals with active connections. My official patch will also take care of passive ones of course.