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=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 1750AC43381 for ; Thu, 21 Feb 2019 16:22:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DE6CA20836 for ; Thu, 21 Feb 2019 16:22:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b="S5DaXEK9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbfBUQWS (ORCPT ); Thu, 21 Feb 2019 11:22:18 -0500 Received: from mail2.candelatech.com ([208.74.158.173]:58974 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbfBUQWR (ORCPT ); Thu, 21 Feb 2019 11:22:17 -0500 Received: from [192.168.100.195] (firewall.candelatech.com [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail2.candelatech.com (Postfix) with ESMTPSA id D5C1340B2C6; Thu, 21 Feb 2019 08:22:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail2.candelatech.com D5C1340B2C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1550766135; bh=Hl+BiyDx9OxnMaHUe9vkjaEnUeOmx+ykC7aBxuszHn8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=S5DaXEK9wkjMmuSzm2ECpSUnhjJtl3ynmTk7u22lOCT/WjT1atTxpQYa8PCHGqyUP uKremJRb0pgPsrVNWloVOXQ9rNFQaRB9B333sJLaGbGJhwVkh3xkqsTqtLtTa86eAH wq9XA1/b0fxG4uAAN5AcIPRuQXkNmIV68XWwr/cU= Subject: Re: [PATCH v2 2/2] ath10k: Set sk_pacing_shift to 6 for 11AC WiFi chips To: Kalle Valo , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rg?= =?UTF-8?Q?ensen?= Cc: Grant Grundler , Kan Yan , linux-wireless@vger.kernel.org, Johannes Berg , wgong@qti.qualcomm.com, ath10k@lists.infradead.org, wgong@codeaurora.org References: <1533724802-30944-1-git-send-email-wgong@codeaurora.org> <1533724802-30944-3-git-send-email-wgong@codeaurora.org> <87sh3pdtpg.fsf@toke.dk> <87mutue4y8.fsf@toke.dk> <1535967508.3437.31.camel@sipsolutions.net> <87in3m25uu.fsf@toke.dk> <1535975240.3437.61.camel@sipsolutions.net> <878t4i1z74.fsf@toke.dk> <871sa7ylmi.fsf@toke.dk> <87r2c1i1vj.fsf@toke.dk> <871s41nmvx.fsf@kamboji.qca.qualcomm.com> From: Ben Greear Organization: Candela Technologies Message-ID: Date: Thu, 21 Feb 2019 08:22:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <871s41nmvx.fsf@kamboji.qca.qualcomm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2/21/19 8:10 AM, Kalle Valo wrote: > Toke Høiland-Jørgensen writes: > >> Grant Grundler writes: >> >>> On Thu, Sep 6, 2018 at 3:18 AM Toke Høiland-Jørgensen wrote: >>>> >>>> Grant Grundler writes: >>>> >>>>>> And, well, Grant's data is from a single test in a noisy >>>>>> environment where the time series graph shows that throughput is all over >>>>>> the place for the duration of the test; so it's hard to draw solid >>>>>> conclusions from (for instance, for the 5-stream test, the average >>>>>> throughput for 6 is 331 and 379 Mbps for the two repetitions, and for 7 >>>>>> it's 326 and 371 Mbps) . Unfortunately I don't have the same hardware >>>>>> used in this test, so I can't go verify it myself; so the only thing I >>>>>> can do is grumble about it here... :) >>>>> >>>>> It's a fair complaint and I agree with it. My counter argument is the >>>>> opposite is true too: most ideal benchmarks don't measure what most >>>>> users see. While the data wgong provided are way more noisy than I >>>>> like, my overall "confidence" in the "conclusion" I offered is still >>>>> positive. >>>> >>>> Right. I guess I would just prefer a slightly more comprehensive >>>> evaluation to base a 4x increase in buffer size on... >>> >>> Kalle, is this why you didn't accept this patch? Other reasons? >>> >>> Toke, what else would you like to see evaluated? >>> >>> I generally want to see three things measured when "benchmarking" >>> technologies: throughput, latency, cpu utilization >>> We've covered those three I think "reasonably". >> >> Hmm, going back and looking at this (I'd completely forgotten about this >> patch), I think I had two main concerns: >> >> 1. What happens in a degraded signal situation, where the throughput is >> limited by the signal conditions, or by contention with other devices. >> Both of these happen regularly, and I worry that latency will be >> badly affected under those conditions. >> >> 2. What happens with old hardware that has worse buffer management in >> the driver->firmware path (especially drivers without push/pull mode >> support)? For these, the lower-level queueing structure is less >> effective at controlling queueing latency. > > Do note that this patch changes behaviour _only_ for QCA6174 and QCA9377 > PCI devices, which IIRC do not even support push/pull mode. All the > rest, including QCA988X and QCA9984 are unaffected. Just as a note, at least kernels such as 4.14.whatever perform poorly when running ath10k on 9984 when acting as TCP endpoints. This makes them not really usable for stuff like serving video to lots of clients. Tweaking TCP (I do it a bit differently, but either way) can significantly improve performance. Recently I helped a user that could get barely 70 stations streaming at 1Mbps on stock kernel (using one wave1 on 2.4, one wave-2 on 5Ghz), and we got 110 working with a tweaked TCP stack. These were /n stations too. I think it is lame that it _still_ requires out of tree patches to make TCP work well on ath10k...even if you want to default to current behaviour, you should allow users to tweak it to work with their use case. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com