From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 4D5BF3B2A4 for ; Thu, 19 Sep 2019 13:44:39 -0400 (EDT) Received: by mail-pg1-x544.google.com with SMTP id u72so2279064pgb.10 for ; Thu, 19 Sep 2019 10:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eero.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=KV7BcvVoIG2Uqk9r+7/9f3w5prQhME9V1LLUutRolBE=; b=uZHjeIj/sglu3+IuPenK9IEHeEBP81Q4z+qBPBqMuKlP+1l9koWIJYZVF9q01mV3sI y8sP4C6YroshRsQOq2ryYGn1R2Yp6hIL1ApB/i+9eI8ANaJqn1fTQ0oUBFeMAXTzS0iN 3rVPCn4MJWWXYaPs/qK/NCMr5za6VKXNr8wjw= 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-transfer-encoding :content-language; bh=KV7BcvVoIG2Uqk9r+7/9f3w5prQhME9V1LLUutRolBE=; b=tJimdzbVVdbtmfHm0VuhRYZqwrZP+4rNYyILuQMmzJ/Tq/biXcGEWttIqRLXYYGKdc pnS7Wn2U6sMWwvh+tWROkD5YzYvVQecG56TN7eJAqGy/iqxWsERM1AbylZ3kMYGLGzsM wI6D0HMDmul8BQPMTBsjihX4DQrOp1nBptcGYOg+2rmdiZxZmCcKPzT1YZfGK9R4pOmO pJrHZoS5Ntzu+ISQHIX9oaTvKVLkCIuekFNNLFyOdzhyuNHlaBC3ammlS2t+1INASBfr h0wY04Hm+MdbCr2Qd5PRY6Rb+JyNISjVfrZA2zH9X52EN/zvZ3ugdyQuR1WZPxwNHzEQ Oa0Q== X-Gm-Message-State: APjAAAWjRvvpvWN+ZFUHfxUF5W+Qh4ft6zlZWRIRKqcVNU+jF+E/XLiA 7pe08HNaiDfyIrWrSRkvIPRIhQ== X-Google-Smtp-Source: APXvYqz2KQhgCTfkrUM5ZHfxzNO49be/EC1oFfZEpGvfuCcBOrDdMdeuR3+saQ19c/jHQQE10YDuhQ== X-Received: by 2002:a65:6084:: with SMTP id t4mr10497447pgu.248.1568915078451; Thu, 19 Sep 2019 10:44:38 -0700 (PDT) Received: from [10.0.2.15] (eero.static.monkeybrains.net. [199.116.72.162]) by smtp.gmail.com with ESMTPSA id f62sm17760523pfg.74.2019.09.19.10.44.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 10:44:37 -0700 (PDT) To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Johannes Berg Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, John Crispin , Lorenzo Bianconi , Felix Fietkau References: <156889576422.191202.5906619710809654631.stgit@alrua-x1> <156889576869.191202.510507546538322707.stgit@alrua-x1> From: Peter Oh Message-ID: Date: Thu, 19 Sep 2019 10:44:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <156889576869.191202.510507546538322707.stgit@alrua-x1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Mailman-Approved-At: Thu, 19 Sep 2019 13:57:17 -0400 Subject: Re: [Make-wifi-fast] [PATCH RFC/RFT 4/4] mac80211: Apply Airtime-based Queue Limit (AQL) on packet dequeue X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 17:44:39 -0000 On 9/19/19 5:22 AM, Toke Høiland-Jørgensen wrote: > From: Toke Høiland-Jørgensen > > This patch ports that idea over to mac80211. The basic idea is simple > enough: Whenever we dequeue a packet from the TXQs and send it to the > driver, we estimate its airtime usage, based on the last recorded TX rate > of the station that packet is destined for. The way to decide the last recorded TX rate could be vary among drivers. In terms of ath10k driver and FW, they use 4 PPDUs to update the Tx rate. Isn't it too small sampling number to be used for AQL? Peter