WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: AW: [Xen-devel] How to use Px/Cx for power saving?

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: AW: [Xen-devel] How to use Px/Cx for power saving?
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 15 Jan 2009 11:04:42 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Carsten Schiers <carsten@xxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>
Delivery-date: Wed, 14 Jan 2009 18:05:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0A882F4D99BBF6449D58E61AAFD7EDD603BB4AB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7198961.251231945639314.JavaMail.root@uhura> <496E7CDA.7010308@xxxxxxxxxxxxxx> <0A882F4D99BBF6449D58E61AAFD7EDD603BB4AB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel