Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp518664ybl; Wed, 4 Dec 2019 06:37:20 -0800 (PST) X-Google-Smtp-Source: APXvYqw4HdWr6YYHzavcyKdyp/JiFQ02x2dk4LK9qeXfIdtT+tV26ohESeH9ERNdXwN9cvCel1M6 X-Received: by 2002:aca:ad47:: with SMTP id w68mr2694104oie.63.1575470239981; Wed, 04 Dec 2019 06:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575470239; cv=none; d=google.com; s=arc-20160816; b=HjYe2ZnTiMK/PUeQ6Pz0D1UiKPhgDRLDIoBtq2r5WNlaLQEHokkiRoRNASnrbxjrOc 4FQQUxW66VSZxFwn9CkPWHqE6p9UqUiETW0FP0knXKctcHKcS6wwm6mXREa3LfM78/kS CW9jhjY1pAleyLkKlozxxVF4YHmLDoKL5hznxEsCcC9s67khZxcPxf/q9XK9agqIDSTp yZogU4cf2gJThtmSC3w5tYiA9lbl0q4+TdPAgvTqfhKKahz483H1wE8K8vouig4KRTip ff8hPBwmh2UbfhyCo5d1HSqvtPXsLOC3bSA/a3RYWpOVS39UNqvUr9xWWn6mKoD3zs1b VsdQ== 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 :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=gUM078+h5giMXoWVhy0lp59z8XTgxUGEf6h7jHk5+CA=; b=W4sNw7FvDswotZzfUTUIiAVhnaJr1RWZcodefkVu1bv1WkZl1kUX9ccaovcz+Lwzzt /sIGwRB9T7kiQUItSHRU3d3XM0OCY7E0U1vSg0wb8kmyw65Yums2sxSGhrA7aK1od3XN f7PR+1qFKtj5tQb4SaMGq079DNkxp+JmZp/qKYjPR30lz6S1AfS8ux8XkdMOZ8qT1WSq rLWZ/AZsfRaewSuE2Wb1iotXJ5WnZbBCYZyvoQUjz6hmiQ1aMosWUV12RQwOAdmek6CK I6ccN5+DWpK9TdMYxQeEtVfsZZO6JyAgyMtz5tndEfsuIZbarLjFdT5g7hyPMY3iQYuL 3clA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QSZTx6u5; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si3196524ote.242.2019.12.04.06.36.57; Wed, 04 Dec 2019 06:37:19 -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=@redhat.com header.s=mimecast20190719 header.b=QSZTx6u5; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728011AbfLDOen (ORCPT + 99 others); Wed, 4 Dec 2019 09:34:43 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:36823 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727867AbfLDOen (ORCPT ); Wed, 4 Dec 2019 09:34:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575470082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gUM078+h5giMXoWVhy0lp59z8XTgxUGEf6h7jHk5+CA=; b=QSZTx6u5KL7bC28WPIkf9QnFSa7I3tVprN7Ajl8t8LEjhGV7Xq7E6T6pc3O7cTqeLgLC3W JJHuS2KSeLeNoo1QoH2PwOYR4eq0m8QFTiBX0s6CSxlC97raTaXB9/1gFvKItVFd1LtA2F li//Ot2H2NsrTAYir5J97+J7UM3PNHg= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-217-xqpHOeXiP0yZS02QsiqQIA-1; Wed, 04 Dec 2019 09:34:41 -0500 Received: by mail-lf1-f70.google.com with SMTP id q17so1961116lfo.14 for ; Wed, 04 Dec 2019 06:34:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=mlXaGuV5BihlPPhn0yVGmPDI+Nzcq6DL6sF883ku91g=; b=eIF/SWrWMv/3s1gKitWxBEfq70kIMxoiTsU/of5jhwKgjElo6PXQgkB/Gb7LtV7nYO zlF0sJucLVmxktT7UOVRwmjqB9ZKgeJeKRUrIoo6YHaaMmc7NBsECa8Kq+IjnThA9bZ/ ZRDgJPi+eaU7VobWa0FbZysup0S24yrhmooQaEVC2Vv0HQz25NfCVWocaQFi9LMRKLeW XGlqLyIOrsrIKWHNHwU1L8S4jnC3q+PZjYaWBuEa0bT4hP+V0fEJSyLxwMq20+Ta6J2S GI2hJN+EzZIyDK2udI7QSoMAn+pMM3/v8DCcPg3cPMVsq/9xGZ2qzt/q/iN6ZFVsbcZ7 c8Kw== X-Gm-Message-State: APjAAAWFBmg547ddIMoCElX7QT823r/EOuy/HhiBj7BOemOHCpQ25LZL WmWDcn/iV2uVowQMo55HOxrYS1yyjshhLkLZBnSBjk26SUN/tA8xNDA43/hRr2i9RPqxAq/Jjt3 8lIPEdpNYgPmCXx6j6nWNbWTXzGs= X-Received: by 2002:a2e:144b:: with SMTP id 11mr2215667lju.216.1575470079588; Wed, 04 Dec 2019 06:34:39 -0800 (PST) X-Received: by 2002:a2e:144b:: with SMTP id 11mr2215647lju.216.1575470079217; Wed, 04 Dec 2019 06:34:39 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id z5sm3234924lji.32.2019.12.04.06.34.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 06:34:38 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 50F0318193A; Wed, 4 Dec 2019 15:34:36 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Johannes Berg , Kalle Valo , Kan Yan Cc: Dave Taht , Rajkumar Manoharan , Kevin Hayes , Make-Wifi-fast , linux-wireless , Yibo Zhao , John Crispin , Lorenzo Bianconi , Felix Fietkau Subject: Re: [Make-wifi-fast] [PATCH v8 0/2] Implement Airtime-based Queue Limit (AQL) In-Reply-To: References: <20191115014846.126007-1-kyan@google.com> <8736eiam8f.fsf@toke.dk> <87a78p8rz7.fsf@toke.dk> <87muco5gv5.fsf@toke.dk> <87eexvyoy8.fsf@toke.dk> <878so2m5gp.fsf@nemesis.taht.net> <0101016ecf3bc899-6e391bba-96ed-4495-a7be-1aa8dd8f1bf2-000000@us-west-2.amazonses.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 04 Dec 2019 15:34:36 +0100 Message-ID: <87a788noqr.fsf@toke.dk> MIME-Version: 1.0 X-MC-Unique: xqpHOeXiP0yZS02QsiqQIA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Johannes Berg writes: > On Wed, 2019-12-04 at 04:47 +0000, Kalle Valo wrote: >>=20 >> > Overall, I think AQL and fq_codel works well, at least with ath10k. >> > The current target value of 20 ms is a reasonable default. It is >> > relatively conservative that helps stations with weak signal to >> > maintain stable throughput. Although, a debugfs entry that allows >> > runtime adjustment of target value could be useful. >>=20 >> Why not make it configurable via nl80211? We should use debugfs only for >> testing and debugging, not in production builds, and to me the use case >> for this value sounds like more than just testing. > > On the other hand, what application/tool or even user would be able to > set this correctly? Well, it's not inconceivable that someone might write a tool to dynamically tune this; we do allow it to be changed at the qdisc layer after all. But until such a time as someone does that, I agree that it's not terribly likely such a knob is going to see much use. As Kan's results show, for inter-flow latency (like what the separate ping in his test is showing), the FQ part takes care of the latency, and what's left there is the AQL buffering. So I'm a little bit "meh" about this; wouldn't object to making it a knob, but don't think I'm going to spend the time writing that patch myself :) -Toke