All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
	Carsten Schiers <carsten@schiers.de>, "Yu, Ke" <ke.yu@intel.com>
Subject: Re: AW: How to use Px/Cx for power saving?
Date: Thu, 15 Jan 2009 11:04:42 +0900	[thread overview]
Message-ID: <496E99BA.8090902@jp.fujitsu.com> (raw)
In-Reply-To: <0A882F4D99BBF6449D58E61AAFD7EDD603BB4AB2@pdsmsx502.ccr.corp.intel.com>

Hi, Kevin

Thank you for your infomation.

Tian, Kevin wrote:
> Which version are you using? In latest Xen unstable, Xen controlled 
> cpufreq is always enabled with userspace governor as the default. 
> In such case, you could use xenpm to manually change frequency 
> (xenpm set-scaling-speed). Then "xenpm set-scaling-governor"
> can be used to choose a new governor like ondemand in the fly.
> Before 18950, cpufreq is by default disabled, and you have to add
> 'cpufreq=xen' in grub to activate xen controlled cpufreq logic. In 
> either case, CONFIG_CPU_FREQ in dom0 is not required.
> 
Oh, I used cset:18942.

> 'cpufreq=dom0-kernel' can be always used to allow dom0 control 
> freq directly. In such case, Xen itself exits the game, and then you
> have to follow below trick to enable CONFIG_CPU_FREQ in dom0
> kernel.
>
If dom0_max_vcpus < total_phys_cpus, dom0 control only his cpus.
So other cpus don't enter px/cx state, right?
And you recommend cpufreq=xen?

> For cpuidle, you need a similar boot option 'cpuidle' in xen cmdline
> which is off by default. We have plan to allow in-the-fly on/off from
> xenpm too.
> 
Thanks.

> One of our engineer is working on document side, including all
> relevant options and xenpm usage. We tempt to place it on Xen
> wiki first, and will let you know for comments. :-)
> 
Great! It will be very helpful.

Best Regards,

Akio Takebe

  reply	other threads:[~2009-01-15  2:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 15:07 AW: How to use Px/Cx for power saving? Carsten Schiers
2009-01-15  0:01 ` Akio Takebe
2009-01-15  1:30   ` Tian, Kevin
2009-01-15  2:04     ` Akio Takebe [this message]
2009-01-15  2:40       ` Tian, Kevin
  -- strict thread matches above, loose matches on Subject: below --
2009-01-15 10:53 AW: " Carsten Schiers
2009-01-15 12:02 ` Tian, Kevin
2009-01-15 17:20 ` Langsdorf, Mark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496E99BA.8090902@jp.fujitsu.com \
    --to=takebe_akio@jp.fujitsu.com \
    --cc=carsten@schiers.de \
    --cc=ke.yu@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.