Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp264744ybl; Thu, 12 Dec 2019 17:54:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzO667gQg2O1TU/vcpotjGlDpu0nH4D1+G1NgtPnExJd9HdYiZ6azAzRMCOJUaQlVPhkO2v X-Received: by 2002:a9d:32e5:: with SMTP id u92mr12002844otb.85.1576202086584; Thu, 12 Dec 2019 17:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576202086; cv=none; d=google.com; s=arc-20160816; b=ka9/VqWsBGM+K+sLpB4sfH77uFeZQsK/RwYWjZyekqb+CnndFfoYf4GeYbZpGOh+j+ 6BdaF+5loDP9tNU++nE3ridM9xIwS7EsZzNfTNJJ+L/A4IIA+k39rOr9SgMoP5n85/QF xydMdVV1c0NKATZDptRJdJn3lygbljlZzKnD5FLDCuu6NW+lG1onNC1a5UAcZDPleneg V2HDFAxvR5afMk5/VcAPMcMO/bRaKYpad7tT3YK6IVy9hqjKzc7vYZliB2OevWR+itPC xVuu9IYIhRLGaxgAuz+ppSrPC3Tr5IQgAVsCXiFThiyyi/rYy9jr8Z7bFovlGEo6u3sY hl3Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=DQN+c/XoQHFCxSakIJRYUeZx27nMrip4+1yJpWHdOaU=; b=CDDhFVPg7Ror+9qnyve/C5llSfpZOQEAUkdXuQYUFuCurfHoTgrNh3R+92MXAJH91+ dsRuw5xYN68jf11anMyiBBTBh9zR2p67OTwym0nS+GrVujeQenbVNuJcIncPyXoL4TaA sXqkz1/vzAOk8BKEt0PTePglYPp/Oht8LI/Y1x+dzcgnvgQDPRhBRvjStaBlRGiDatZv dBQiiSkd8XrjMy6AC91Q6Z2QPXWTlOAiQyyvGm4C6gGYmnNaqo5Z+Z/PhNZYZdnYB7/d hsIJ+/2Lk6AfdLn30lR8QrN7sncs+9M8E8w3SgGeUipN0Mu/Z+W0Hd1EoFee2otTovnl rTlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eiOUp9da; 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 g17si4159259otk.252.2019.12.12.17.54.25; Thu, 12 Dec 2019 17:54:46 -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=eiOUp9da; 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 S1731389AbfLMBq7 (ORCPT + 99 others); Thu, 12 Dec 2019 20:46:59 -0500 Received: from mail-pg1-f172.google.com ([209.85.215.172]:38303 "EHLO mail-pg1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbfLMBq6 (ORCPT ); Thu, 12 Dec 2019 20:46:58 -0500 Received: by mail-pg1-f172.google.com with SMTP id a33so706474pgm.5; Thu, 12 Dec 2019 17:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DQN+c/XoQHFCxSakIJRYUeZx27nMrip4+1yJpWHdOaU=; b=eiOUp9daulK1XiDWuJczbXZ91xl5eAYXTVgIDlIyHXD3ph+vj2XY25A9md64czwV5A Bpund4OeiqP8MfMBrPTHKcGWfduxfCzUAS/oZZnoEHYdCID4uuvGVBWicDYmT5CBZS3o HCemndy7tV/uErRxeGC2Jjxah+qzX0v02rhssWsd4szHdBEaQttBrknRum+Roi43iFMA mObyfolVtIiY7A5faifRIhViFDB5o8qJ0v3dDTYog1JsGz3bhN+KDJ/hwduwoNgppUOv PO1wEM4ZoAKd3IhpwneynsiTrFZ6FlyyOZxGY+3lqN7fdJ2ksT5gupdY+k4Ro2heDtS/ 4UMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DQN+c/XoQHFCxSakIJRYUeZx27nMrip4+1yJpWHdOaU=; b=fM+28wqeHaaKy6Kcg3s+iyVMZC0qXt+CtsBF80poQKUeXPhFNMYlR81sqNKBmnBMiS VQTQ6Xitf0FodsOaAN6CkqkZDKLytw0CIQH+eKDcQuCD+8UW/csbMPKMt8Ew1MkYs83r bE47ypvO+yTM/lGyxo+29gb0ahQokb8QVnl65Yyi1GpzMcEEdUH6yw0asZx54i9ScnpT FO/R6+wYkrbVPcyBjUqz2dvOPtKbhglw6QhJ8bQQUB4Dmtht3RXUvmFVNop5pZYyo0e4 M35jSsxE1FyDJC/EOAPYbERKOzBGM6UNRziKYDWOG1PU5GQ4voRhjAaVK3fxT32umtX3 5F5g== X-Gm-Message-State: APjAAAXbH9ZyW6wpE0kEbMPhPmfLQC+h3aaD2F95O64GFc6RlGJtkVPT 0VSkJYeCZol4Nb2Z2v/U9k87OLk+ X-Received: by 2002:a65:488f:: with SMTP id n15mr14683013pgs.61.1576201617698; Thu, 12 Dec 2019 17:46:57 -0800 (PST) Received: from [192.168.86.235] (c-73-241-150-58.hsd1.ca.comcast.net. [73.241.150.58]) by smtp.gmail.com with ESMTPSA id e27sm8910691pfj.129.2019.12.12.17.46.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2019 17:46:56 -0800 (PST) Subject: Re: [Make-wifi-fast] debugging TCP stalls on high-speed wifi To: Simon Barber , Dave Taht Cc: Make-Wifi-fast , Johannes Berg , linux-wireless , Neal Cardwell , Netdev References: <14cedbb9300f887fecc399ebcdb70c153955f876.camel@sipsolutions.net> <99748db5-7898-534b-d407-ed819f07f939@gmail.com> <22B5F072-630A-44BE-A0E5-BF814A6CB9B0@superduper.net> From: Eric Dumazet Message-ID: <34a05f62-8dd0-9ea0-2192-1da5bfe6d843@gmail.com> Date: Thu, 12 Dec 2019 17:46:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <22B5F072-630A-44BE-A0E5-BF814A6CB9B0@superduper.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 12/12/19 4:59 PM, Simon Barber wrote: > I’m currently adding ACK thinning to Linux’s 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. 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.