Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3537336ioo; Mon, 30 May 2022 04:28:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1rfCLrvnH0Nye6Z78dzCNVB2eHEGdaUpEDQcK++lXe9RfiL6aVoL836Jx2fEjORzp7jfJ X-Received: by 2002:a17:907:a429:b0:6ff:6323:d6ea with SMTP id sg41-20020a170907a42900b006ff6323d6eamr6901356ejc.49.1653910085913; Mon, 30 May 2022 04:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653910085; cv=none; d=google.com; s=arc-20160816; b=EG01MKwYs5M7ktZt8yqkpTGGFB9D82NYytJqqQIQ8iCQiT32LrsPK92UBj5XKXOsgp nN6oFBGcDiJgXl5a3gGukhl9WIGo27EDujU/LNsMJiQuOgmHbw0kddd5Kkx1bH0xzNI2 DzKX3ixaSb4xpKlnwCyDM8wGjRzs8PNZct6T3zIs+FQ0HuyEgkCcpMWnZcC5Xw+gnmiT 0u1AWrc7Lh8JQjF0OpF48OpmkLd2WbzwbqCcElAnNGEdi4E8mE3gniazBl4rPK5zhyiM droTMGycqy6VucG1nQDcaCJ5m0Qb7Pd9nqwjtGhpz0bMJuMJCpt+AFCNYSv47LsRXUM9 8Bdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=4jqxTvfie1+MlJn+xFtNsfqcBPsuUTZr0dpE1SV1uLE=; b=jwJGLHa9JE0q7I3HSsA5trFib9ZZAwfXPob5B7wtITmJSXGbYf0v4UmUSnzSaXhoG9 jI+L2xAckNqkRMEIBACNe+L5z586yOSXwc2++YTM68XErlwIBgc2ys/iW7LZYKstuJOd KAeWNeMlsIjGNZSlYhlSM1tmiUKngWXq0kGbnupiPTOeSJSgbM6r0KrnA1h1Op10qKnX x5p+6ABL8a/gdQ6YfrUX6DKl9JCBsV+qYH4h+dZUUlwVqq7tedm+q77svEzYrHeY+j5Y vpUlxc8mUqguzOlUcPozyu+N79Hg+bmK1ck1u6zQYp8xmZVdDLv25IpOfUdbiLJJnu4V PdrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs19-20020a1709072d1300b006ff288d1c02si11897380ejc.805.2022.05.30.04.27.38; Mon, 30 May 2022 04:28:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbiE2Wr7 (ORCPT + 99 others); Sun, 29 May 2022 18:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbiE2Wr5 (ORCPT ); Sun, 29 May 2022 18:47:57 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2B1A644E3 for ; Sun, 29 May 2022 15:47:55 -0700 (PDT) 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= X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SCC_BODY_URI_ONLY,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>