Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEF81C6FD1D for ; Tue, 21 Mar 2023 10:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230366AbjCUKl0 (ORCPT ); Tue, 21 Mar 2023 06:41:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbjCUKlY (ORCPT ); Tue, 21 Mar 2023 06:41:24 -0400 Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 066D12706; Tue, 21 Mar 2023 03:41:08 -0700 (PDT) Received: from [192.168.108.81] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id D099020041A; Tue, 21 Mar 2023 11:40:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1679395264; bh=KCCATZkTr+7Q3TiUEqunw+3zj4NwVvKmBZameTcJZZ0=; h=Date:To:Cc:From:Subject:From; b=uToAtzfIpIaP4K567OQRcAp3j5BLtqLpONLanYT+KGrwDJHQHB/ounDJorAs627uw YalRsK6VxilPt7sYfuiwQXedPkl7qk+qRfnyxArlUViS10V/Ang1GBAVITq8FIdikC z3f1v3DtmKKESeRNv3MIG+kUf1pNHLUrQ+jG3MwsDpxQZ+Lem03Rm9ur9eCwSey4hu pQXH134cmjPTL/Ptm+pXqlFc3OKt19N82KriW1RmzpH4IceKu3LIMRes0Pm8EyEwjG bR9/DgLsGUnUym+pHRHuffznAkullCl5ic1A2VosUA9pqjy1HLVWMuIr4TBiKXfFkN S9CZlRY2+PSRQ== Message-ID: Date: Tue, 21 Mar 2023 11:40:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: linux-wireless@vger.kernel.org, MMC , AML Cc: Neil Armstrong , Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , Eric Dumazet , Ulf Hansson , Pieter-Paul Giesberts , Alexander Prutskov , Joseph chuang , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Angus Ainslie , Heiner Kallweit , Pierre-Hugues Husson From: Marc Gonzalez Subject: [Performance regression] BCM4359/9 on S905X2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello everyone, I've been benchmarking an Amlogic S905X2 board. It provides a BCM4359/9 WiFi chip connected through SDIO. There's a large performance gap between vendor kernel and mainline. (Downloading a 1GB file to /dev/null from a device inches away) # curl -o /dev/null http://192.168.1.254:8095/fixed/1G % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1024M 100 1024M 0 0 27.5M 0 0:00:37 0:00:37 --:--:-- 28.6M vs 100 1024M 100 1024M 0 0 11.0M 0 0:01:32 0:01:32 --:--:-- 11.0M Line 1 = vendor kernel (4.9.180 amlogic android) Line 2 = mainline kernel (6.2.0-rc8) Why is the vendor kernel 2.5 times faster? (I'm using the same firmware files, but it seems the vendor kernel reads an additional configuration file that the mainline vendor seems to ignore.) Regards