From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 514DC3B25E for ; Mon, 26 Sep 2016 17:38:02 -0400 (EDT) Received: by mail-qt0-x244.google.com with SMTP id 38so6180447qte.2 for ; Mon, 26 Sep 2016 14:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KB1O6sVxaj7GVhmxXjaSPIxHRMvIhEPIbzqCSBc3PhY=; b=b4pj77Xx768K7XDPfbSg+EuZWQaH+QHmvgBAubpw0jQNHOnc8rPGpRtOdB2FAcm3Mp NRex8Pkw+38ZvP6xcY2F0kr0EeyTnu2X31x2+GvG415ocaOJrd6YR1QCw8KCbdXl6W7J cgMV4viR/lBqTsJdGjrEGRV2C9zP+mnBPLCVr4D0P34/90vTdz32rR+EAgISoAPwoqGL tYsMQUK0sVtLL9bIYBmPK6OpR8uQyoPxcLEvwbOVoYuEaHg6omxDuroO88L/xOJdK9+4 11dzyylarXQx6hcQ0EkcA/aN/aMr9qcjqyRNnG8kzBCSww3vXVFJ8jaoVMbl74/TY6++ 91Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KB1O6sVxaj7GVhmxXjaSPIxHRMvIhEPIbzqCSBc3PhY=; b=bVnkAgzZ9Z6vUl1xVnTmeip+uhb0E3Tq3yaUJNsjGnZofgRX/RrTVAxw5gvNqMtxDr q5k/RBhnLlkthiiFOHPoLoMAnsBz+nm12YqYp1dVsAIq27VzuyzccTX/PuLSQSr1U8w8 Z3uRX5YjBlU2k6snBC1hzlSfDtq/eMGba3iZcLs+cqDeFtTaCPWTlyQJemrRPAsIAcZk 7nmB770Uq23RBL8F/+rXOtrCQO7kiacIdvUwbo9h11ncuYWWDFcdKF5m+acHIc2jiGI8 z3U3mHaqL+JuNBaMP5IjCVS+C+xDZj56NIwGgKSrfTocax2MCsWrXXeS4kXeeEokJq7E o0VA== X-Gm-Message-State: AA6/9RnpE+Gw+QZJp5SFNbh5ar5DwKEknwqZ7lYpac14KMX624wVUyviDNoLpB2LqOZwung0vcLrElDyKPKgUw== X-Received: by 10.237.37.170 with SMTP id x39mr9686005qtc.148.1474925881901; Mon, 26 Sep 2016 14:38:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.137.214 with HTTP; Mon, 26 Sep 2016 14:38:01 -0700 (PDT) In-Reply-To: References: From: Dave Taht Date: Mon, 26 Sep 2016 14:38:01 -0700 Message-ID: To: Aaron Wood Cc: "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cerowrt-devel] BBR congestion control algorithm for TCP in net-next X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 21:38:02 -0000 I just put a netperf server up in linode's freemont, ca, cloud (kvm paravirtualized hardware), with sch_fq enabled, ecn disabled, and bbr as the default cc. (reno and cubic are also allowed) I am curious if y'all hit it with your rrul, tcp_ndown, rtt_fair_var_down (vs flent-freemont in the same dc) etc, that you get sane results - with and without sqm-scripts moderating your connection. I've always kind of worried that sch_fq would misbehave in a virtualized environment, and they seem to do some odd things with policing/shaping in their world that I've not sorted out (speeds > 200Mbit) DNS for flent-bbr-west.bufferbloat.net is propagating (both IPv4 and IPv6) Til then: the ipv4 for the thing is: 173 dot 230 dot 156 dot 252 I've put a broad sweep of results up in my github, haven't looked at them to a huge extent yet. On Mon, Sep 26, 2016 at 12:45 PM, Aaron Wood wrote: > Thanks! And sorry that I missed the sample code in the patch. > > On Mon, Sep 26, 2016 at 12:30 Neal Cardwell wrote: >> >> On Mon, Sep 26, 2016 at 2:47 PM, Aaron Wood wrote: >> > Dumb question on this: The tcp_bbr_info struct for a socket can be >> > inspected at runtime through the ss utility or through a get socket op= ts >> > call, right? >> >> Yes, you can use either approach: >> >> (1) from code you can use TCP_CC_INFO socket option; there is sample >> code in the original kernel patch for TCP_CC_INFO: >> https://patchwork.ozlabs.org/patch/465806/ >> >> (2) from ss: if you download and build the net-next branch of the >> iproute2 package: >> >> http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/log/= ?h=3Dnet-next >> then you will get support to print out the main parameters for a BBR >> connection, eg: >> >> The patch with BBR support for ss is here: >> >> http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/comm= it/?h=3Dnet-next&id=3D2f0f9aef94129643133363b4503468cdccc481cc >> >> As the commit notes, the BBR output looks like: >> bbr:(bw:1.2Mbps,mrtt:18.965,pacing_gain:2.88672,cwnd_gain:2.88672) >> >> Hope that helps, >> neal >> >> > >> > -Aaron >> > >> > On Sat, Sep 17, 2016 at 11:34 AM, Maciej Soltysiak >> > >> > wrote: >> >> >> >> Hi, >> >> >> >> Just saw this: https://patchwork.ozlabs.org/patch/671069/ >> >> >> >> Interested to see how BBR would play out with things like fq_codel or >> >> cake. >> >> >> >> "loss-based congestion control is unfortunately out-dated in today's >> >> networks. On >> >> today's Internet, loss-based congestion control causes the infamous >> >> bufferbloat problem" >> >> >> >> So, instead of waiting for packet loss they probe and measure, e.g. >> >> when >> >> doing slow start (here called STARTUP) they don't speed up until pack= et >> >> loss, but slow down before reaching estimated bandwidth level. >> >> >> >> Cake and fq_codel work on all packets and aim to signal packet loss >> >> early >> >> to network stacks by dropping; BBR works on TCP and aims to prevent >> >> packet >> >> loss. >> >> >> >> >> >> Best regards, >> >> Maciej >> >> >> >> >> >> _______________________________________________ >> >> Cerowrt-devel mailing list >> >> Cerowrt-devel@lists.bufferbloat.net >> >> https://lists.bufferbloat.net/listinfo/cerowrt-devel >> >> >> > >> > >> > _______________________________________________ >> > Cerowrt-devel mailing list >> > Cerowrt-devel@lists.bufferbloat.net >> > https://lists.bufferbloat.net/listinfo/cerowrt-devel >> > > > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org