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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5601DC001B0 for ; Wed, 26 Jul 2023 10:59:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234055AbjGZK7U (ORCPT ); Wed, 26 Jul 2023 06:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234003AbjGZK7N (ORCPT ); Wed, 26 Jul 2023 06:59:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 234B69B for ; Wed, 26 Jul 2023 03:59:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A0A9261A53 for ; Wed, 26 Jul 2023 10:59:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86A2AC433C7; Wed, 26 Jul 2023 10:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690369152; bh=cXAxx7ipjEHqiG8r+x+mmfq9j1I34+FnlTDvkbY9rY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HieFCXUnKbJKN5LX3RCnbwkevAuET9VNV05FEz2C+Y3XH5XL9VLieZyPmeX/yqazU /S9m/QHRXPw1WuXirTu421waNapnZ7tN+fN1yzA/+qp3HNH0T4HCxtSPULgtWxtL7J UQmZk9y+2IAGbGrWp7btvoNO6zaLteuhPp/YW8iAEDrm0OSRU0/SGNXCq73Wf72RDy Uw53VkWHUUyZo1lC7OxX/j9bD5EPHiM8D5TKH8s1s1fjhijuIT8nXe4QwEWTyYtM5G yk9rdSv7chQmGcnxmpvHwX4EUEfLCp//NnAyebHRfwA3JpOmo01HZpovM4SvaLBzY+ wQw8qeaqHnlyg== Date: Wed, 26 Jul 2023 12:59:08 +0200 From: Frederic Weisbecker To: "Rafael J. Wysocki" Cc: Anna-Maria Behnsen , Vincent Guittot , Peter Zijlstra , linux-kernel@vger.kernel.org, Thomas Gleixner , "Gautham R. Shenoy" , Ingo Molnar , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Subject: Re: Stopping the tick on a fully loaded system Message-ID: References: <80956e8f-761e-b74-1c7a-3966f9e8d934@linutronix.de> <8857d035-1c1a-27dd-35cf-7ff68bbf3119@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Tue, Jul 25, 2023 at 04:27:56PM +0200, Rafael J. Wysocki a écrit : > On Tue, Jul 25, 2023 at 3:07 PM Anna-Maria Behnsen > I'll let Frederic respond to the above, but from my perspective it all > just means that the idle governors in use today are not perfect. > > However, they will never be perfect, because they only have a little > time to make a decision, so it's a matter of balancing that with > precision. So, even without considering Anna-Maria's patchset, sparing the next timer lookup if we already know we won't stop it would show quite a benefit because that lookup involves locking and quite some overhead walking through all levels. Thanks.