Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752847AbbBMOEC (ORCPT ); Fri, 13 Feb 2015 09:04:02 -0500 Received: from mga09.intel.com ([134.134.136.24]:8300 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbbBMOEA (ORCPT ); Fri, 13 Feb 2015 09:04:00 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,571,1418112000"; d="scan'208";a="665979503" Message-ID: <54DE043A.9040605@linux.intel.com> Date: Fri, 13 Feb 2015 06:03:38 -0800 From: Arjan van de Ven User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Peter Zijlstra , Preeti U Murthy CC: tglx@linutronix.de, linux-kernel@vger.kernel.org, jacob.jun.pan@intel.com, fweisbec@gmail.com, frederic@kernel.org, daniel.lezcano@linaro.org, amit.kucheria@linaro.org, edubezval@gmail.com, viresh.kumar@linaro.org, rui.zhang@intel.com Subject: Re: [PATCH V2] idle/intel_powerclamp: Redesign idle injection to use bandwidth control mechanism References: <20150209044852.6231.66456.stgit@preeti.in.ibm.com> <20150213133158.GP2896@worktop.programming.kicks-ass.net> In-Reply-To: <20150213133158.GP2896@worktop.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 800 Lines: 22 > Also, exposing these and root_task_group is of course vile. Not to > mention you change the user (cgroup) interface without mention. > > In any case, I cannot see how this could ever work. Bandwidth is shared > across CPUs; nothing will even attempt to get CPUs to idle at the same > time. idle injection is only worth it if you can get package C states, e.g. all cpus in the system are idle at the same time. (and in powerclamp, the package C state %age is the target of the control loop, since that's pretty much the amount of power reduced) > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/