From: "Jan Beulich" Subject: Re: [PATCH 0/9] Porting the intel_pstate driver to Xen Date: Fri, 24 Apr 2015 10:55:41 +0100 Message-ID: <553A2F3D0200007800075876@mail.emea.novell.com> References: <1461418307-5845-1-git-send-email-wei.w.wang@intel.com> <5539191E020000780007538A@mail.emea.novell.com> <286AC319A985734F985F78AFA26841F78D2394@shsmsx102.ccr.corp.intel.com> <553A0C53020000780007575D@mail.emea.novell.com> <286AC319A985734F985F78AFA26841F78D258B@shsmsx102.ccr.corp.intel.com> <553A249E0200007800075817@mail.emea.novell.com> <286AC319A985734F985F78AFA26841F78D267F@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <286AC319A985734F985F78AFA26841F78D267F@shsmsx102.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei W Wang Cc: Kevin Tian , "ian.campbell@citrix.com" , "andrew.cooper3@citrix.com" , Eddie Dong , "xen-devel@lists.xen.org" , Yang Z Zhang List-Id: xen-devel@lists.xenproject.org >>> On 24.04.15 at 11:46, wrote: > On 24/04/2015 17:11, Jan Beulich wrote: >> >>> On 24.04.15 at 10:32, wrote: >> > In the old driver, a powersave governor just sets the CPU to run with >> > the lowest possible performance state. This one does not exist in the >> > intel_pstate driver. >> > The intel_pstate driver changes the terminology by using "powersave" >> > to refer to the previous "ondemand" case. This does make people feel >> confused. >> > But we may think it this way: it only has two modes, the max >> > performance mode and the ondemand mode. "ondemand" is the one who >> > saves power (actually in a more reasonable way compared to the >> > previous "powersave" which simply sets the CPU to run with the lowest >> > performance state). Anyway, we can surely change the name if it sounds >> uncomfortable. >> >> I think at the very least from a user interface perspective (e.g. the xenpm >> tool) the meaning of the old governor names should be retained as much as >> possible. > > Ok. I am simply using the name "internal" for user tools. Please see the > example below: > > scaling_driver : intel_pstate > scaling_avail_gov : internal > current_governor : internal But xenpm's set-scaling-governor command should still do something useful for the currently available governor options. And with that, showing "internal" in its output may also end up being confusing (at least I am already being confused). Jan