From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752338AbcEVKjV (ORCPT ); Sun, 22 May 2016 06:39:21 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:40711 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbcEVKjT (ORCPT ); Sun, 22 May 2016 06:39:19 -0400 Date: Sun, 22 May 2016 12:39:12 +0200 From: Peter Zijlstra To: Shilpasri G Bhat Cc: "Rafael J. Wysocki" , Viresh Kumar , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , "Gautham R. Shenoy" , shreyas@linux.vnet.ibm.com, akshay.adiga@linux.vnet.ibm.com, linuxppc-dev@ozlabs.org, Steve Muckle Subject: Re: [RFC PATCH] Increase in idle power with schedutil Message-ID: <20160522103912.GN3193@twins.programming.kicks-ass.net> References: <1463576020-18597-1-git-send-email-shilpa.bhat@linux.vnet.ibm.com> <20160519114029.GW3193@twins.programming.kicks-ass.net> <201605201223.u4KCNWn9028105@mx0a-001b2d01.pphosted.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201605201223.u4KCNWn9028105@mx0a-001b2d01.pphosted.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 20, 2016 at 05:53:41PM +0530, Shilpasri G Bhat wrote: > > Below are the comparisons by disabling watchdog. > Both schedutil and ondemand have a similar ramp-down trend. And in both the > cases I can see that frequency of the cpu is not reduced in deterministic > fashion. In a observation window of 30 seconds after running a workload I can > see that the frequency is not ramped down on some cpus in the system and are > idling at max frequency. So does it actually matter what the frequency is when you idle? Isn't the whole thing clock gated anyway? Because this seems to generate contradictory requirements, on the one hand we want to stay idle as long as possible while on the other hand you seem to want to clock down while idle, which requires not being idle. If it matters; should not your idle state muck explicitly set/restore frequency?