From mboxrd@z Thu Jan 1 00:00:00 1970 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 663DBC433F5 for ; Sun, 29 May 2022 22:47:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8FCFC8D0002; Sun, 29 May 2022 18:47:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 881A68D0001; Sun, 29 May 2022 18:47:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 71FD48D0002; Sun, 29 May 2022 18:47:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 62CC18D0001 for ; Sun, 29 May 2022 18:47:13 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 2CCC46B5 for ; Sun, 29 May 2022 22:47:13 +0000 (UTC) X-FDA: 79520267946.22.61F33D6 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by imf01.hostedemail.com (Postfix) with ESMTP id 9C22840013 for ; Sun, 29 May 2022 22:47:06 +0000 (UTC) Received: from [192.168.1.107] ([37.4.249.170]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MF2YC-1o20Bu1rMO-00FUaY; Mon, 30 May 2022 00:47:06 +0200 Message-ID: Date: Mon, 30 May 2022 00:47:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: vchiq: Performance regression since 5.18-rc1 Content-Language: en-US To: Marcelo Tosatti Cc: Sebastian Andrzej Siewior , Andrew Morton , Nicolas Saenz Julienne , Borislav Petkov , Minchan Kim , Matthew Wilcox , Mel Gorman , Juri Lelli , Thomas Gleixner , "Paul E. McKenney" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linux ARM , Phil Elwell , regressions@lists.linux.dev References: <77d6d498-7dd9-03eb-60f2-d7e682bb1b20@i2se.com> From: Stefan Wahren In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Q4/bnpQYeqTZyYV3rxCUCfh0mQig/0UfrYdXJ7wL/7l+YvbbS3Y 57BojHvt+El4ipo4vGh+DT+flV0nRsZHN7p2etqR+eOlMtSq8lLZOO6HR2RC4WX6LvQ0h7g g82AdyonYlGam+YlgSPwHk9cay4moHXj01AOIIy+hb5lg2AFOCAyOlDaLzZdZLjg1J0ssFq G6SFcpG464ltDyCdw/XWA== X-UI-Out-Filterresults: notjunk:1;V03:K0:oOt7M8ZsNGA=:MVLExm6p1USWJejZUx5ppd Y3n8O/ac1PQFSa31Qq1/HPpVVjsh6SSXGH8e5hoaLTMJweIzKh8/Ac4EAG+Wsk5c+IR5phq3F B35r8/d5vI5K7D112JJ/WV5QEJckNCNGCna9DOdFxjhIOK6xiRyXbYuADsoNpSVNqAQDraBTM iLQYawGmYOGebrqmHCTiaTDqS+HIF6HTrNkLEYkSSiKDLvpsXr8urnv5ti6EPWHO59lj2OcwE Soa3eaLdzZwc7+xbWb7WSggzOovKn1Nxwda8lyQWJe/G7W7qlvL58rgKTyGGpSzKMgiAGlDJG hCOhXjWdjHPEHYQfvivo8hi/CXASyuqQBH6hjksCVpY69ejhJy9zDQeIsCrbQWxHmZGWuSx7A xyQP1utQ6MVflzQrUjYAEHwEL2lRv5mu7F7cEPMCODKW6V5tVEMgQY6A4sy0OSSSBxOUNMAZJ LzMo//TQWhvN0/ZfAgMmttBs1HMSS8e5nfIuV0wKwA9SctqKGlEqCufrNGG+OVuCbjPn4pL4V MDXRtDFYQrT5uhEpdNrsZjYNiGysGsglpe/Z+Yr3ishglRjeCA7FjLsBDsRycKxl/OZlmJ1zg GMkZZa1KNRGjkcfqZXapqgbvhp/t55zgckuYtkTKtAJOAnbPqbB4zW9Fe0TvWbKZ3McD11Xtr JpOuEKIvnk9GWAWeh4jrdQhQP/0j6tUBrLtP5MJ8xwyBg4tq/v8+ShZY/y0xKjoy+gp7Z0jqp /g9lEkJSDhkUoiPXxRNwrzpc3x7q1L+yZoOesT72BJoIOzX2s+TCypsZh5M= Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf01.hostedemail.com: domain of stefan.wahren@i2se.com designates 212.227.126.131 as permitted sender) smtp.mailfrom=stefan.wahren@i2se.com X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 9C22840013 X-Stat-Signature: k6e35obzty5gge9ux9h5ctgb8r3wkzyf X-HE-Tag: 1653864426-754617 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Am 25.05.22 um 17:37 schrieb Marcelo Tosatti: > On Wed, May 25, 2022 at 04:07:47PM +0200, Stefan Wahren wrote: >> Hi Marcelo, >> >> Am 25.05.22 um 15:56 schrieb Marcelo Tosatti: >>> On Mon, May 23, 2022 at 09:09:07AM +0200, Sebastian Andrzej Siewior wrote: >>>> On 2022-05-22 01:22:00 [+0200], Stefan Wahren wrote: >>>>> Hi, >>>> Hi, >>>> >>>>> while testing the staging/vc04_services/interface/vchiq_arm driver with my >>>>> Raspberry Pi 3 B+ (multi_v7_defconfig) i noticed a huge performance >>>>> regression since [ff042f4a9b050895a42cae893cc01fa2ca81b95c] mm: >>>>> lru_cache_disable: replace work queue synchronization with synchronize_rcu >>>>> >>>>> Usually i run "vchiq_test -f 1" to see the driver is still working [1]. >>>> What about >>>> https://lore.kernel.org/all/YmrWK%2FKoU1zrAxPI@fuller.cnet/ >>>> >>>> Sebastian >>> Stefan, >>> >>> Can you please try the patch above ? >> this was the same as Paul send. I think i need more time for investigation, >> maybe there is an issue with the application. > To clarify: they are not the same patches. Thanks for pointing out. I will test it ASAP. > >> All i noticed so far is that in good case the CPU usage is around ~ 60 % and >> higher, while in bad case the CPU is almost idle. Also the issue is not >> reproducible with arm64/defconfig. >> >>> >>> >>> _______________________________________________ >>> linux-arm-kernel mailing list >>> linux-arm-kernel@lists.infradead.org >>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >>