Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp973909ybl; Thu, 12 Dec 2019 07:48:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyzUhanrXqdbapmyuVtlIp8frMtOrJKgBcOkPuUmxH4Q05I7X0UNN0m3Ipxg5oC6yLJXQ50 X-Received: by 2002:a05:6830:603:: with SMTP id w3mr8728743oti.217.1576165685222; Thu, 12 Dec 2019 07:48:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576165685; cv=none; d=google.com; s=arc-20160816; b=m9nUjUKaraKuQdlOnec5qTplcVxUlU4d1idm6huHzKRC4hEv1HQrPkAXO/7Sda3BJK hokyoJaI6OzdJNGSzptL+ZZQstm9a9wwgpQQkGp8ZRwvTFABgZDcgSmh6b7VtosiGuHb CmG/ePOuIZNBnMGgDQuTqYYRjQKNuAccVzxQoNcKQBBHea61wDtWKcOnEw0xs7gRaW41 B/dqF9x0ARUu4oALZd0kaQNXKzyA9D0HUQT2zK5sbQZgZ+0eZbOiMwBlzVar7yb1Iamk TzEm+neNqrZ1MA2EBOkqY9gLsWai77XMjH/yUzLL47Ikfi79LgsHv30O9s5E+BBZs3c2 0xVA== 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=wSGASpPR6+ZrBpFmEZ82Icf6QqVLBb8I91pL923qdVc=; b=wZluuyCgby5StuLx9IpPH/CBPhai3fWzfxQtU9yzTOW4e6fvPB0TGDXZT5/TNiFEzN fOvrDkOOkOAGhq7CZVynmwkSBT2njD8/1uedbVdkQDdETVO4k2RLSpkeGLkmVT0UJc8A EfvzSwEGQoxPQ+yZIOtkTyi2mUS8GoHnkG7LEaOrlJ8hVhLnSiY6fPYBMBSGprZDUMes UZuoxP30qQ8WVCEUX68VTcfZx+sBXxVxhDHRkTNha57FB+VXq2ObTTVEhh7p5LU6CRC0 1AbolbCDSgm3q8LElDs+eYLLEcvmfDdo8/ol3DORrTqxkKkI/7+jzqYzQzD4qxuPfYre aPxg== 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 b10si2905971oib.205.2019.12.12.07.47.53; Thu, 12 Dec 2019 07:48:05 -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 S1729340AbfLLPrh (ORCPT + 99 others); Thu, 12 Dec 2019 10:47:37 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:43966 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729013AbfLLPrg (ORCPT ); Thu, 12 Dec 2019 10:47:36 -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 1ifQgf-007QNn-GP; Thu, 12 Dec 2019 16:47:33 +0100 Message-ID: Subject: Re: debugging TCP stalls on high-speed wifi From: Johannes Berg To: Neal Cardwell Cc: Eric Dumazet , Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , linux-wireless@vger.kernel.org, Netdev Date: Thu, 12 Dec 2019 16:47:30 +0100 In-Reply-To: (sfid-20191212_161133_657244_F94C6EAB) References: <14cedbb9300f887fecc399ebcdb70c153955f876.camel@sipsolutions.net> (sfid-20191212_161133_657244_F94C6EAB) 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 Hi Neal, On Thu, 2019-12-12 at 10:11 -0500, Neal Cardwell wrote: > On Thu, Dec 12, 2019 at 9:50 AM Johannes Berg wrote: > > If you have any thoughts on this, I'd appreciate it. > > Thanks for the detailed report! Well, it wasn't. For example, I neglected to mention that I have to actually use at least 2 TCP streams (but have tried up to 20) in order to not run into the gbit link limit on the AP :-) > I was curious: > > o What's the sender's qdisc configuration? There's none, mac80211 bypasses qdiscs in favour of its internal TXQs with FQ/codel. > o Would you be able to log periodic dumps (e.g. every 50ms or 100ms) > of the test connection using a recent "ss" binary and "ss -tinm", to > hopefully get a sense of buffer parameters, and whether the flow in > these cases is being cwnd-limited, pacing-limited, > send-buffer-limited, or receive-window-limited? Sure, though I'm not sure my ss is recent enough for what you had in mind - if not I'll have to rebuild it (it was iproute2-ss190708). https://p.sipsolutions.net/3e515625bf13fa69.txt Note there are 4 connections (iperf is being used) but two are control and two are data. Easy to see the difference really :-) > o Would you be able to share a headers-only tcpdump pcap trace? I'm not sure how to do headers-only, but I guess -s100 will work. https://johannes.sipsolutions.net/files/he-tcp.pcap.xz Note that this is from a different run than the ss stats. johannes