Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6485AC43381 for ; Fri, 22 Feb 2019 12:29:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3BBAE2075A for ; Fri, 22 Feb 2019 12:29:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726712AbfBVM3P (ORCPT ); Fri, 22 Feb 2019 07:29:15 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:37516 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbfBVM3P (ORCPT ); Fri, 22 Feb 2019 07:29:15 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92-RC5) (envelope-from ) id 1gx9x3-0002j0-1J; Fri, 22 Feb 2019 13:29:13 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] mac80211: Change default tx_sk_pacing_shift to 7 From: Johannes Berg In-Reply-To: <20190221172936.21816-1-toke@redhat.com> References: <20190221172936.21816-1-toke@redhat.com> To: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= Cc: linux-wireless@vger.kernel.org, Ben Greear , Grant Grundler , Kalle Valo , wgong@qti.qualcomm.com, ath10k@lists.infradead.org, wgong@codeaurora.org, Kan Yan , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen?= User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.15 Message-ID: Date: Fri, 22 Feb 2019 07:29:15 -0500 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Toke Høiland-Jørgensen wrote: > When we did the original tests for the optimal value of sk_pacing_shift, we > came up with 6 ms of buffering as the default. Sadly, 6 is not a power of > two, so when picking the shift value I erred on the size of less buffering > and picked 4 ms instead of 8. This was probably wrong; those 2 ms of extra > buffering makes a larger difference than I thought. > > So, change the default pacing shift to 7, which corresponds to 8 ms of > buffering. The point of diminishing returns really kicks in after 8 ms, and > so having this as a default should cut down on the need for extensive > per-device testing and overrides needed in the drivers. > > Signed-off-by: Toke Høiland-Jørgensen Patch applied to wireless.git, thanks. a41f56b9a17a (HEAD -> mac80211) mac80211: Change default tx_sk_pacing_shift to 7 -- https://patchwork.kernel.org/patch/10824427/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches