Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp388282ybl; Thu, 12 Dec 2019 20:43:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyy9ngsVTa91OMqjhVXi0rR2Ta46WTPL2cDCayWsu5Bcf1A2du0rGVas77hvS97WCHesxZL X-Received: by 2002:a9d:7342:: with SMTP id l2mr12413967otk.98.1576212198431; Thu, 12 Dec 2019 20:43:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576212198; cv=none; d=google.com; s=arc-20160816; b=QOTxv6XQfOsx3LPzDPCxLywmOyCqpvZIaZ1F8CPibxBUKiVL+BPkWSIUNmrlDPBWFZ 0xglTd86mjyseUscN8yD+GieGsyOFTtY65/uKpz8e4QPVoE9mIpPu0dKSffBEmMgtUzW gMoJaaWVZsmvT5S9rIwvnN5O0VzeiJnBUIAZ24WrrM++gIM+6ARIY8oLvctbMwUPByYI g0H2F7T3bp+SCb6l4jh+aSMUhVpyIVa16fmEutwpTVKwFlBjicbeQdQq3hxgETTkW2J3 JPamTCJYGrHuxt1x3GUVZbo5059SHgAl4PZsbG5WZXRwh6AUh0obtgndXg0gks3d71qQ 4APA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=QthJDPFS7nC/yW0U0bf8QlKUYmsIKhyJY5u98hEJawE=; b=D5dN4CK3yVzXMQSSV77bZ2WkYgzlFqRh5IEvtZQHAYy1H/Vef8wWGknU5fGEsrUuKn 505JAxTFRsZdQt/obbGGiRhhND3+Pa48ytDBJMYu50CmlMjTF/xo9vDbHWG2Adxzmg3t cNUSzZ8BP+rBQopHWsYhqL7ONi33KZOYPTMYGCSByR4rkBz0FKdxEvVMmJ3ret4/vAP3 MRiwYiOx8/s1E7CftAx+nGBsWog8PuHVXflc3LTnhGcalph4aHFCvtYdrgji3n4mSWZl EZos5azU5DFHNZqcd+6kKlwwtr7ynM2IVcIm5dH24wei4ZBlSQQhJWV6UYNGhHYIqExg dcmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H0QFgUEx; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si4657370otk.80.2019.12.12.20.42.53; Thu, 12 Dec 2019 20:43:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H0QFgUEx; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731725AbfLMEmS (ORCPT + 99 others); Thu, 12 Dec 2019 23:42:18 -0500 Received: from mail-io1-f43.google.com ([209.85.166.43]:34141 "EHLO mail-io1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731677AbfLMEmR (ORCPT ); Thu, 12 Dec 2019 23:42:17 -0500 Received: by mail-io1-f43.google.com with SMTP id z193so1094810iof.1; Thu, 12 Dec 2019 20:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QthJDPFS7nC/yW0U0bf8QlKUYmsIKhyJY5u98hEJawE=; b=H0QFgUExbKoezQOgWpIhAlmuOqeakyKGbYvy4ZrJ2gkih+zO1HShIaX9hTtS71m13N dJHwQR7lmjEaYwQRSbSonOeCyWI3voVQjG7O4Iw3XWm9WAWXkkyIYu5M0R7c2kT4z268 OtgzsLaBb/YwxJq0KYPIuq3wXHxvIHn7mAJlSHyatjvjDRX7xTC2ksat+g5mwK62fnRO EpjKPCYKkZIqVq7y1ZoMuSH3yZKeyPs3uAbTywiCucg12Ntxq6qaUhszvdVU+NkkyU1q MQT7Z6I+jyebIJCIu0aBJN+hfAXFH+RTyGXduNAdLiwveJL1diAFORpkIY5sDIgJNaZQ 8AAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QthJDPFS7nC/yW0U0bf8QlKUYmsIKhyJY5u98hEJawE=; b=WkEC78a4LOVCDnTAwdj6pSxuLmf7nh1wUiGXS4Tkg6BcsodbX4SmGLNtOlnjo3F8XP V+0eHsUuNl/T0fullLTnmD7jOkngfekVTElrvjXd2U4ATZPMzdhAFlUJORrJzBZ5yGpA V51xvb/cJe0/M4Lf9/g94P1pFkKC62VFlZcb1CRhvfUX3S++611Ponc43f+LV8WR8r+h DsifEftB/IQvxl29woocFatf0Unls7Phk8BcA/WD3JH7B8zCFPoE52mmXe74PjBuHsib wviCkGpcI/KtsF8mBybXNPkAlX/h0fYcNoZ4KTrk8jGU8C+lgFhRzSjaf9zHf3n/o8Hu JkxA== X-Gm-Message-State: APjAAAWzt/wNSewhlmJUStJhvSpodxDqmSLlOmJ+/Pw3UoKpQalB/Hbf pxILIz6BMtkqmn0bl+P1r49jKpPAn4ev2h3CuaI= X-Received: by 2002:a02:6515:: with SMTP id u21mr10699337jab.82.1576212137023; Thu, 12 Dec 2019 20:42:17 -0800 (PST) MIME-Version: 1.0 References: <14cedbb9300f887fecc399ebcdb70c153955f876.camel@sipsolutions.net> <99748db5-7898-534b-d407-ed819f07f939@gmail.com> <22B5F072-630A-44BE-A0E5-BF814A6CB9B0@superduper.net> <34a05f62-8dd0-9ea0-2192-1da5bfe6d843@gmail.com> In-Reply-To: <34a05f62-8dd0-9ea0-2192-1da5bfe6d843@gmail.com> From: Dave Taht Date: Thu, 12 Dec 2019 20:42:04 -0800 Message-ID: Subject: Re: [Make-wifi-fast] debugging TCP stalls on high-speed wifi To: Eric Dumazet Cc: Simon Barber , Make-Wifi-fast , Johannes Berg , linux-wireless , Neal Cardwell , Netdev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Dec 12, 2019 at 5:46 PM Eric Dumazet wrote= : > > > > On 12/12/19 4:59 PM, Simon Barber wrote: > > I=E2=80=99m currently adding ACK thinning to Linux=E2=80=99s GRO code. = Quite a simple addition given the way that code works. > > > > Simon > > > > > > Please don't. > > 1) It will not help since many NIC do not use GRO. > > 2) This does not help if you receive one ACK per NIC interrupt, which is = quite common. Packets accumulate in the wifi device and driver, if that's the bottleneck. > > 3) This breaks GRO transparency. > > 4) TCP can implement this in a more effective/controlled way, > since the peer know a lot more flow characteristics. > > Middle-box should not try to make TCP better, they usually break things. I generally have more hope for open source attempts at this than other means. And there isn't much left in TCP that will change in the future; it is an ossified protocol. 802.11n, at least, has a problem fitting many packets into an aggregate. Sending less packets is a win in multiple ways: A) Improves bi-directional throughput B) Reduces the size of the receivers txop (and retries) - the client is also often running at a lower rate than the ap. C) Delivers the most current ack, sooner When further transiting an aqm that uses random numbers, it hits the right packet sooner, also. I welcome experimentation in this area. --=20 Make Music, Not War Dave T=C3=A4ht CTO, TekLibre, LLC http://www.teklibre.com Tel: 1-831-435-0729