Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1253349rwi; Thu, 27 Oct 2022 13:19:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vJ4Khw3Hk803Z4UULU1q1om95Y/FZr5EfFA6ccUA1ZpBrsaV2ZSkeyxU7drstadeOQMpb X-Received: by 2002:a65:44c1:0:b0:428:ab8f:62dd with SMTP id g1-20020a6544c1000000b00428ab8f62ddmr43780428pgs.211.1666901971204; Thu, 27 Oct 2022 13:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666901971; cv=none; d=google.com; s=arc-20160816; b=Lq7hl3UDLOIp9EHC8znZ+KUjrNRv709Ca+/V5ywQClRYxvMllLs2ZOgfjATZ/1NSR0 0H0W5ByxWfm0E7EdvjEK8ktqLSHXbOkSrPxdPU99gZJctMSj+avrrF3U48hOubYleda9 xMovZgKTIwur1MmVC2ES1GckvQT8rRIrdoUyPhe08jiRNPV3w/83SVkprRMxXrv2bWeC +V5Q2ro7892uRFiCl+FPUBdSFl8wx/rc7fiab+kGrD4qjFesHQfPfizERpFngO9Po/5b eUE9COqf50F7Pt2mOcnXPmPd+H36MnzHki9FK3OEM02PdtSusdvxIxqwoPvH2Qh0ii5r VMkw== 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=ptChuDlwwAFEoTh4OsUgCQ7UJcFG8b9qePvpIM3e9iM=; b=en4oWRqgj4ND6aJGTRRa6O/sXbQ6H6TMf38z78C3kn1dCeXUfXaE3h+xGuW7d4zhb6 YyUlJ/xr/pWvXaB0fnD/fSqmmJ1YRi3Z4PynvjCo0JO3sl1mga1nX5RxYuiipuLjLcqY k7r+H0TvOQ2K+IlNkIlnnuNXDUzOWLcLvRBXeVKABuO+O41YosfNS+CwmB2dPa7nqa/j +7Ds557rJihh4mg21+OnZmwy5s9GPJgMhBSwl0eAa4wBpcWwBHhPoDR7MiYvvutrrLuZ tFdAXIDF/kynUzSkH/zf21BVrbvfQdTCr/RdNsUP+otKkMCleE+1K4It1Xh8XvIvVds/ C4Ug== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a63da4f000000b004639c6797bdsi2707554pgj.307.2022.10.27.13.19.17; Thu, 27 Oct 2022 13:19:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbiJ0UFI (ORCPT + 99 others); Thu, 27 Oct 2022 16:05:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236674AbiJ0UE5 (ORCPT ); Thu, 27 Oct 2022 16:04:57 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 76C7122BCA; Thu, 27 Oct 2022 13:04:54 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3D6E423A; Thu, 27 Oct 2022 13:05:00 -0700 (PDT) Received: from [10.57.7.15] (unknown [10.57.7.15]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6766E3F445; Thu, 27 Oct 2022 13:04:52 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2022 21:04:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [RFC PATCH v2 0/1] cpuidle: teo: Introduce optional util-awareness Content-Language: en-US To: "Rafael J. Wysocki" Cc: daniel.lezcano@linaro.org, Dietmar.Eggemann@arm.com, dsmythies@telus.net, yu.chen.surf@gmail.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Kajetan Puchalski References: <20221003144914.160547-1-kajetan.puchalski@arm.com> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Rafael, On 10/13/22 12:12, Kajetan Puchalski wrote: > On Wed, Oct 12, 2022 at 08:50:39PM +0200, Rafael J. Wysocki wrote: >> On Mon, Oct 3, 2022 at 4:50 PM Kajetan Puchalski >> wrote: >>> >>> Hi, >>> >>> At the moment, all the available idle governors operate mainly based on their own past performance >> >> Not true, at least for the menu and teo governors that use the >> information on the distribution of CPU wakeups that is available to >> them and try to predict the next idle duration with the help of it. >> This has a little to do with their performance. > > You're right of course, I should have written "their own past > correctness" as that's what I was referring to. I just meant that for > instance with TEO the initial timer-based choice is only adjusted using > the governor's own metrics and not any information from anywhere else in > the system. > [snip] Would it be possible to consider a new small and simple idle governor which is better suited for those other workloads and platforms? Kajetan has such one and can send to the LKML, so you could have a look. I have sent some detailed explanation about this to Doug in this thread (don't want to duplicate it). It looks like it would be hard to meet both worlds' requirements. Regards, Lukasz