From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.6 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C42E3C282C0 for ; Wed, 23 Jan 2019 20:07:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 96E3D21872 for ; Wed, 23 Jan 2019 20:07:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="q8zlhQBj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726262AbfAWUHK (ORCPT ); Wed, 23 Jan 2019 15:07:10 -0500 Received: from mail-vs1-f74.google.com ([209.85.217.74]:50425 "EHLO mail-vs1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfAWUHJ (ORCPT ); Wed, 23 Jan 2019 15:07:09 -0500 Received: by mail-vs1-f74.google.com with SMTP id f203so1204962vsd.17 for ; Wed, 23 Jan 2019 12:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=Ohkp4m0/1eehsaRH2PvD35JEb0DPRIBj7bGUdBBswsM=; b=q8zlhQBj1vRNLWSMHiFRymuSActNMWUzYAQo2FIcMfrKJziXoq2MXUARzUyfjlt+x9 S6iZMGClj+qgSkxEXrmmygoFNyJDL3uD5baiFAaPML5VHNwIBXCr7p7grRT8sox7TPB1 Wc7AAx+KbSZ8tiAnZSGZbmzcUWse3XxF1XllK/kJvjvmYWn4UBP7LnEpJg4E6xOKiHWP 9HF/CNd1wGpkslhAbTt2ik5PK0B7jVNKwuNknG0gLdn7iFnQPg75EJv2afMasR5C96q1 2bDhwvgwERyENDZL3/+tF3ivA2JY5CGp3avfFyeV47Q0jOrkMgLNVWdptnk7Q4u2WAFC 7qEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=Ohkp4m0/1eehsaRH2PvD35JEb0DPRIBj7bGUdBBswsM=; b=R8k1+LZ9+W4tnU7ISVJiLqqIUrLr5I0LobAzMGqQzikkUkgS5BwUepMmhdHUWqG0zW rkmiJyzB1Sz0gbITMeEE1XAyUxO8LyYDKc9HObmKndQCdW5a4Sr26E/CJHLbHEkOtfbp JtJhyeLxbysos2F8Tvp6rmEP5iG1RGMC4GzTQcuiIcTlmA+RAvl8H7AVkr7X8KTDgmbm LoWuBFMrY0YZnfla8zfj2QxanBnuH3x8TEjDYgUqmq2rm6JV1xYh8VklGMADjiRtKbRd g6zsLGhS3CT6gvZiUfyHhbLkKBrFqSnOqe3Ya9MLImw2EP82glJof9LlJ9gK5yAmrpVH nhvQ== X-Gm-Message-State: AJcUukf+X4olXQtktvXP56p80JHMZSovWoCusnXH1IvPTV9Q2tixjsJC 9XYIKkIjPnl1wPNNDZ+OQ/Ge/ZycHnK9vQs= X-Google-Smtp-Source: ALg8bN4/Q5MbTzhV+CT85q2hgmDvcqvrp/UnEEozP2lj7+skfVjenduEX4uK9gjkvpHvZjqrqS5pnsE+Ear7zZY= X-Received: by 2002:a67:3e58:: with SMTP id l85mr2931274vsa.14.1548274028910; Wed, 23 Jan 2019 12:07:08 -0800 (PST) Date: Wed, 23 Jan 2019 12:04:52 -0800 Message-Id: <20190123200454.260121-1-priyarjha@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.20.1.321.g9e740568ce-goog Subject: [PATCH net-next 0/2] tcp_bbr: Improving TCP BBR performance for WiFi and cellular networks From: Priyaranjan Jha To: David Miller Cc: netdev@vger.kernel.org, Priyaranjan Jha Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Ack aggregation is quite prevalent with wifi, cellular and cable modem link tchnologies, ACK decimation in middleboxes, and common offloading techniques such as TSO and GRO, at end hosts. Previously, BBR was often cwnd-limited in the presence of severe ACK aggregation, which resulted in low throughput due to insufficient data in flight. To achieve good throughput for wifi and other paths with aggregation, this patch series implements an ACK aggregation estimator for BBR, which estimates the maximum recent degree of ACK aggregation and adapts cwnd based on it. The algorithm is further described by the following presentation: https://datatracker.ietf.org/meeting/101/materials/slides-101-iccrg-an-update-on-bbr-work-at-google-00 (1) A preparatory patch, which refactors bbr_target_cwnd for generic inflight provisioning. (2) Implements BBR ack aggregation estimator and adapts cwnd based on measured degree of ACK aggregation. Priyaranjan Jha (2): tcp_bbr: refactor bbr_target_cwnd() for general inflight provisioning tcp_bbr: adapt cwnd based on ack aggregation estimation include/net/inet_connection_sock.h | 4 +- net/ipv4/tcp_bbr.c | 180 +++++++++++++++++++++++++---- 2 files changed, 161 insertions(+), 23 deletions(-) -- 2.20.1.321.g9e740568ce-goog