Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp849374ioo; Thu, 26 May 2022 16:55:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhRa8ER6hna+8IcpL3hfqflEGsQzisG8b4b09n9McMbs6iu7h27cNRkxdwHqpcOgBBkaF0 X-Received: by 2002:a17:907:608f:b0:6f6:1155:99ab with SMTP id ht15-20020a170907608f00b006f6115599abmr33962983ejc.306.1653609342537; Thu, 26 May 2022 16:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653609342; cv=none; d=google.com; s=arc-20160816; b=pxhSISX17aKhrw10rkE9Kn+XbEqrNqqnFtoDwKikKW+JxWsyqy8rif2edawpjc3WNh TZDCBn75xu8FGtoaXtOGT6xEt9VFUPcZ8E+vlEjv3CG9A/iDqTdA0DfgQRAQySdrl0U8 23HAPsVKpN+KoIm/aNYBo2fG/jx1ebvsyO9i8Zr5R/IxqgteKVq0xi8Rk9ndmXTkAnX6 vmsZiFlAdWePLvdjcsQGlstRgJDADvvFwGEo4FMq5KUzziMXp3zItHZoPQq7fu87knjV nEmYenlxHx1EwVi9hDPppze56FtH7epyXcV3lvmsho88bY0sJhcQQie0/w0eTDpvnlPb XBZA== 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=IUnnHQ8DBnJ9Sp2GrONc/Q4eIjY2/7O0LhFqhjmhbbA=; b=v1KfAdd3JRW7xdnB86Cmm+0EpNBSI/7656vftI6lf1g41mpDOKOr9DvQeIxCb9n538 gogFoySE7DQ7zNpwpmwcH24hbJ+rjmLc667enjbfK0YL/NAowPSqD6wxKkwoIWfyroeY j/1mBtQbwz/C72/vfPBWRuIn0ukWRdJ7WCEZFfEwAiPyRH7OYTemn4mtGxUkR5U0XMfr qmQ3wV17CBp6aczqPZ6u0MWkd/ZjoLl5nxb4fGNpI67R+sU24J42Fxr72CzrtUiwymLR K/+rf62AqXhI2mhJu6Bxdzdgn8Jjkdjv2FqdpoE2RCTiazXC8TyM8IDThiHYuajW+CFc 3Jtg== 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 m9-20020a056402430900b0042ae2d240c3si3078248edc.593.2022.05.26.16.55.16; Thu, 26 May 2022 16:55:42 -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 S244536AbiEYOIh (ORCPT + 99 others); Wed, 25 May 2022 10:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236246AbiEYOIe (ORCPT ); Wed, 25 May 2022 10:08:34 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E02ADA76DB for ; Wed, 25 May 2022 07:08:32 -0700 (PDT) Received: from [192.168.1.107] ([37.4.249.139]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mgf4k-1nLspk43qO-00h8Jk; Wed, 25 May 2022 16:07:49 +0200 Message-ID: Date: Wed, 25 May 2022 16:07:47 +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 , Sebastian Andrzej Siewior Cc: 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:p2z5Oxmov4jctz2aZQ5+CFweQ9+ZNhzGKPD1mZA7B+QEblEEdaD tlvpMKuRiEtGObW2wGBheYFDje5vsZm5tBrRl2bgl4SpDQDPy8FY4RoGr14WGSFwdJ2JLwx A7J43bqplqke3y0uMcbn0qEjktj9Z4LEG4CVryOnQue3lviFw0hD44zqB6AYPVPAHG0sfpJ IageqzzK3P6j5syqUtVaw== X-UI-Out-Filterresults: notjunk:1;V03:K0:kNIYU9kHu2I=:LIg2vrOd5uFgdnHurX25Ir qwu1g5ExP0CzOALXneYaDKz7c9W5XYVgvx5Ggx1OF2WpyRE+Vcym1HIIyIkyXAS941MxtHknw zVWsXJELOA0gJnk/tCEGg/MVW1k9LB9i5sAwsbanBObp7Lmv7azPx+dbOg91+gC57pjTMxOSe QE/VOmR2aFnM0WcjPTtYI8bq3+PjoxtPwb4zv4H4USIDD+N9dU8rmPdOqEdOID5m67ue9zHnW aKSvEj/CQZhDE+DH8SAp1qWpqEH5CQsMdJ1ESp56YxPVBZTOsbyTe3gt55RAb31Tpg+/QyBON lgrUW+JYdkEebUZYa5ZZ7KpWUM8cZwtd1/RG7VD/1qxb8he0USHlz++ott8djTjeAeohY5zvL CmwTCi/iCmBo6vRQ44h+a7RXzC0U5XimyHY1fDh3e+zdqK+6vcZ6yZ2n7CmuV8ibQyjzD6LPg 8kBiv2w2ZQgPX/NkfiiKrIoi9d6NuaO4dru2xT75rBjUblv1HBjC5PfcFJbk/AgV6zPjiyobJ uZLGfngTpXajbdX1cjcKuAwcHwWsPfitWq/UuRx3ZkBZdHLQCFPuoThqPZkhMDaM4NjGoOr5v sjf+boyI28MP+9U8PtdTYTboUzlu2zyGrp5MZWBaHHNfcgETP7LsgLGo/yYZOD9F/tngEVayt 9YlBD+x3baMIjX5VJVosHvrGR2BqOgCxL5QkFYIr8PwKvE3PswD14HJljpKKqAi1a7MLvGnbT tYLXIjI1cIb+uogACIffw8pdlZG8APrAq4WvyXm27fVH40sxpvMGDoP/q2M= X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 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. 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