Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp705304ybe; Wed, 4 Sep 2019 06:36:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgxciRPMVG8fLmT60Vi7Z+xLSeno+ulj+PUYQhv8U4utZ8pCuaghHcYckwWrFtJqDeNidq X-Received: by 2002:a63:ed55:: with SMTP id m21mr35341745pgk.343.1567604170312; Wed, 04 Sep 2019 06:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567604170; cv=none; d=google.com; s=arc-20160816; b=XAA2Wr8tvOJMDaRJHMahlDTM0NT2SLR3H7xjBrD/f09aPi5QJW9/ZpResRWy5sMR2C 313MWep4TqsKvjxn4MmQ3xXLt2lKgA7xzHniuy6l2LPDtIGzAS9pGtAJOYvZLorwXxpG oKH+n9cRAMaSbdJjL4DN6ejlzLhNH5Sr/QlvaQ8PILGbm3w50szOZUw2P5wa6B+K2qiO jQoHINF5HUbrbYNuuqm8s1fbsPG0RVzFoCSGQbFKo3edjaLQynnCzeV9vMKuJbmtTxnV Ce+WdRV2kfBPnlmPgYvC4eqNPlSSa6JCTZ1/g5eteZ7FvExDtJskL4Zfl9H2sWSkKQ2a zYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=gZVXM2lF7XitHyhvCpLsMc0AQciJqMO6mO/BtVuO2Bg=; b=VtizGBImPJZPgsbG8K0CqkpdxdBupfrtm0ZBBnTA5yGwDrJGqz+S3fAcVwJWMbJkRZ fBy3w8pnMHUwf7pPLItRjoxsDXYxq25Gb/KG3GMMKl8UkXnHnLsmncIBIDNiDVHiadft 1h9uEVVv0Y2xMlHS9ppHFY1qQzuzy+i+us+x4KIMXbtr+mdaQh4KLU1uB+GoHKbibCs8 lTQqhXwnt75igUhKrZ7n74swkXrp8w2J6ldrLNcTOH2obshOH4A2gIeKhoVCFiOvxn2V dS/M6oUKcHZ/xGCbJr9GQq1fBpj/HGJ6SRrguv88nAKIhjCO/04S6DoUTfUXJqlrkGw1 GSDQ== 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 t189si1149820pgt.428.2019.09.04.06.35.55; Wed, 04 Sep 2019 06:36:10 -0700 (PDT) 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 S1730066AbfIDNeo (ORCPT + 99 others); Wed, 4 Sep 2019 09:34:44 -0400 Received: from mail.taht.net ([176.58.107.8]:59680 "EHLO mail.taht.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729626AbfIDNeo (ORCPT ); Wed, 4 Sep 2019 09:34:44 -0400 Received: from dancer.taht.net (unknown [IPv6:2603:3024:1536:86f0:eea8:6bff:fefe:9a2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.taht.net (Postfix) with ESMTPSA id 71D9F22898; Wed, 4 Sep 2019 13:34:42 +0000 (UTC) From: Dave Taht To: Wen Gong Cc: "ath10k\@lists.infradead.org" , "linux-wireless\@vger.kernel.org" Subject: Re: [PATCH 2/7] ath10k: change max RX bundle size from 8 to 32 for sdio References: <1566302108-18219-1-git-send-email-wgong@codeaurora.org> <1566302108-18219-3-git-send-email-wgong@codeaurora.org> <87k1apnyyo.fsf@taht.net> <259d8d7f8c2a4c428ae14ff211c83c1a@aptaiexm02f.ap.qualcomm.com> Date: Wed, 04 Sep 2019 06:34:29 -0700 In-Reply-To: <259d8d7f8c2a4c428ae14ff211c83c1a@aptaiexm02f.ap.qualcomm.com> (Wen Gong's message of "Wed, 4 Sep 2019 04:43:21 +0000") Message-ID: <87lfv4chi2.fsf@taht.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wen Gong writes: >> -----Original Message----- >> From: Dave Taht >> Sent: Wednesday, September 4, 2019 12:10 AM >> To: Wen Gong ; ath10k@lists.infradead.org; >> linux-wireless@vger.kernel.org >> Subject: [EXT] Re: [PATCH 2/7] ath10k: change max RX bundle size from 8 to >> 32 for sdio >> >> >> In terms of deeply grokking what increasing buffering to achieve high >> bandwidth on a testbench, vs what it can do to clobber latency in the >> real world at low bandwidths, I tend to point folk at: >> >> https://www.youtube.com/watch?v=Rb-UnHDw02o&t=25m40s >> >> where I got a whole bunch of hackers to stand up and act like packets >> in an aggregating FIFO wifi queue. >> >> This key section is only 8 minutes long, and I promise, y'all laugh >> at least 3 times at the demonstration. >> >> At the time, also, the ath10k was so overbuffered that on one test >> I could try to start 100 flows, and only get five. >> >> https://lwn.net/Articles/705884/ >> >> and on my slides: >> >> https://blog.linuxplumbersconf.org/2016/ocw//system/presentations/3963/ >> original/linuxplumbers_wifi_latency-3Nov.pdf >> > Hi Dave, > So your mean is change 8 to 32 will impact latency? It will increase latency of rx? Heh. for rx, in this case, probably not! I just get twitchy every time folk fiddle with buffer sizes. In one recent case someone had fiddled with the interrupt polling interval on something, going from 1ms to 10ms - it saved on cpu, but... ... just trying to make sure folk grok the tradoffs with a bit of laughter. carry on! > >> >> 0xFFFEFFFF