Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp56129ybl; Thu, 12 Dec 2019 14:00:18 -0800 (PST) X-Google-Smtp-Source: APXvYqw8jInqM8cqb9aFQszLuGvThi5Q4KQSD0JHNBnhydxiQtcsB+lDpoEwe4jXbmytotd/IEjC X-Received: by 2002:a05:6830:603:: with SMTP id w3mr10614385oti.217.1576188018138; Thu, 12 Dec 2019 14:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576188018; cv=none; d=google.com; s=arc-20160816; b=IfGkPGIkj2ef7cRv+afESuBzgONR4Xzm7FxJw9IzeOal23KoKZafGGd2JEXM2GchCt COdv7abOhYm3iAdQbUN0mH6YINx+gZqsAtwQmjdCyHxIuiIpnmaqHv6S7lq+sWueHi3v HF/31uy0M6cmgdesK6rf2J8IlM0JiXJLigV0MO8AMJnCpCbqVaC1VpY77KZ2Hgq6aVqH ey/iZnYkX32UOTFrcHnNk2Yc8h4zIX95fqk1xn3ndO//IzRXHvpjJbaq+o37BcryIl4V ZRCfnoJgydDb1QEXC5jAhzrN/ip5txC7cMbFHdztq3BBF4WWpwuBEtrtekEsmj4SEJR7 umsg== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=sznieQcpWcaccVuctEW0fMJpOx6rhb32k58bIW7OD90=; b=HfaYQ+NhGDNNwcdqr33chbATyaUAK36+FpLy9hdDdKoQDy0es3J5zVqppeRKl322hq NVgaMZ7c9Zv6dPNLxiCmnirrih/9vde7OJXXvY6CJdaRYeNpZ14IM7jhcCmVNw6cbvtJ I9ERrwETuqIMbhP6eMvqhwNAABcuNNae5P5uHXP0O4YX3AXEbAB+ZZ5YoqMAuk25Q/k2 cO/W25Oa/BiGDKL72e3ReWcrDwACUGrZTZ30WolUMWRe9b88lOyIZhLCj90qmnL5e15j EO3iY1ZMTcwCe7JAPPiberHHY9Zg6yW594rBN3i2mrDe7fQh6Th4Lp7JZHFT7Y8YTWD8 6FmQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si4126122oik.171.2019.12.12.14.00.07; Thu, 12 Dec 2019 14:00: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731184AbfLLVxx (ORCPT + 99 others); Thu, 12 Dec 2019 16:53:53 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:53276 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730784AbfLLVxx (ORCPT ); Thu, 12 Dec 2019 16:53:53 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1ifWP6-008BTJ-Q3; Thu, 12 Dec 2019 22:53:48 +0100 Message-ID: <2e66d606e5f1c96c9564d4e0289289eba9653461.camel@sipsolutions.net> Subject: Re: debugging TCP stalls on high-speed wifi From: Johannes Berg To: Eric Dumazet , Neal Cardwell Cc: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , linux-wireless@vger.kernel.org, Netdev Date: Thu, 12 Dec 2019 22:53:47 +0100 In-Reply-To: (sfid-20191212_225019_821334_39786E03) References: <14cedbb9300f887fecc399ebcdb70c153955f876.camel@sipsolutions.net> <99748db5-7898-534b-d407-ed819f07f939@gmail.com> (sfid-20191212_225019_821334_39786E03) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2019-12-12 at 13:50 -0800, Eric Dumazet wrote: > I presume you could hack TCP to no longer care about bufferbloat and you'll > probably match Windows 'performance' on a single flow and a lossless network. > > Ie always send ~64KB TSO packets and fill the queues, inflating RTT. > > Then, in presence of losses, you get a problem because the retransmit packets > can only be sent _after_ the huge queue that has been put on the sender. Sure, I'll do it as an experiment. Got any suggestions on how to do that? I tried to decrease sk_pacing_shift even further with no effect, I've also tried many more TCP streams with no effect. I don't even care about a single flow that much, honestly. The default test is like 10 or 20 flows anyway. > If only TCP could predict the future ;) :) johannes