Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3844374ioo; Wed, 25 May 2022 09:14:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6F8QoKOBuuOZSVSJLwkHexm5vHTxyh4jogEYNwqtIgOTo7oTpZiTe+/SqjmfMWSmp7FUE X-Received: by 2002:a05:6a00:ac1:b0:4f1:29e4:b3a1 with SMTP id c1-20020a056a000ac100b004f129e4b3a1mr34473509pfl.63.1653495276445; Wed, 25 May 2022 09:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653495276; cv=none; d=google.com; s=arc-20160816; b=otSbiPraJZ/aIxQnX0ZPNs9fsHxX8zxp6/zAWWyqAHKjMHB1djeSDtXtd95NiBmiTj 4q7KStZhjkAu6wOwpDqK64kmG85qFlwWbzHOSczuR8Wk7gGwFAFHW41VjDL4+714s2+h 3xj8uG87iw5j6ZpOZLOoquStfxd/gRBxhazvuPPT5P/lgDTBo4IxQ8r12/LeCYFxqYwY +/92xqwH/Hjb/g6+4Iurht2AtANp6nrzvqn7gIiTGBowk1xpHrxtV/V18wbfirN9WdtT 95xjtqGx9O8D06u44cZbBCkPrGVVrdMAmTjMrvjW8zwmmlygALeP04bWCD2XQKIA+qkD pfXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VRInkexwmTuHc361ogc4GS6wqKsIpJYzH/kvwhGn+HE=; b=uUL9AR23H1/KBFEssgy1MYheLeNrY4zUF37yziUi/MNvmd3i9r48dx2gusZsP9pVVt GMQ2yZ5cfz5Pk+WiQxfCAUfFWU4TJgi8h2LMrFR3YYAOqxmkk+hhi3/AcOUsa66KP+Jz 6CAULntuEFrkEM5Am2IfodLLi0DPx0PstYH5CWbeXARna5QKS2JylUA9Z5Dv44qZ8y37 yI1fxYPce30z76VM5npmPiSMOPxlunjyik7uoC7blIPtoVh1kmoKnEstfeszpBbXECKA xVwiqQ6od0tMnFZj6MrQC9mscR4IJaKAGvX5gjncCOCJxepkcOUcjrdwql2E/a3/rI6Q cUOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyjDq2Z0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a656a0b000000b003f60333a5dcsi22563385pgu.560.2022.05.25.09.14.24; Wed, 25 May 2022 09:14:36 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyjDq2Z0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245157AbiEYPiH (ORCPT + 99 others); Wed, 25 May 2022 11:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229893AbiEYPiG (ORCPT ); Wed, 25 May 2022 11:38:06 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B774A13DF7 for ; Wed, 25 May 2022 08:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653493082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VRInkexwmTuHc361ogc4GS6wqKsIpJYzH/kvwhGn+HE=; b=UyjDq2Z0DGDKUPun1fGa9xulO64dz0jsQQ1Fn0dh/iC7ZM3rUKQuGaCsMC39ijmgnFXmsg E/Zy6BIbqOMTHWRT65gvd0D/AcnOyMwdgHiUjAI+D9YG5awlYNJF52kKq0rLSagHEZh70y SxedOcH4nfrqR4T+zdQSl1CpV9+g+KU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-642-8ncsaPV6M6upaOrK2Mv4sg-1; Wed, 25 May 2022 11:37:59 -0400 X-MC-Unique: 8ncsaPV6M6upaOrK2Mv4sg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9544619705BA; Wed, 25 May 2022 15:37:58 +0000 (UTC) Received: from fuller.cnet (ovpn-112-2.gru2.redhat.com [10.97.112.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0541A400F38; Wed, 25 May 2022 15:37:58 +0000 (UTC) Received: by fuller.cnet (Postfix, from userid 1000) id 529E5416F574; Wed, 25 May 2022 12:37:37 -0300 (-03) Date: Wed, 25 May 2022 12:37:37 -0300 From: Marcelo Tosatti To: Stefan Wahren 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 Subject: Re: vchiq: Performance regression since 5.18-rc1 Message-ID: References: <77d6d498-7dd9-03eb-60f2-d7e682bb1b20@i2se.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,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 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. > > 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 > >