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: [Xen-devel][PATCH] Change default cpufreq governor from performance

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel][PATCH] Change default cpufreq governor from performance to ondemand
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Thu, 11 Dec 2008 22:59:57 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 11 Dec 2008 07:00:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C566BDE6.C47%keir.fraser@xxxxxxxxxxxxx>
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: <706158FABBBA044BAD4FE898A02E4BC21C53AA0A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C566BDE6.C47%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclbUiS/4KU3CXoUTsmvTaHYHJcTuwAMKXekAAC79qAAAnNuTAAEKBaA
Thread-topic: [Xen-devel][PATCH] Change default cpufreq governor from performance to ondemand
Keir Fraser wrote:
> On 11/12/2008 11:52, "Liu, Jinsong" <jinsong.liu@xxxxxxxxx> wrote:
> 
>> Sorry, I didn't speak clear the reason why we change default cpufreq
>> governor from 'performance' to 'ondemand'.
>> We send out user PM interface patch yesterday, at that time the
>> default governor is 'performance', which is similar to the default
>> setting of native linux. However, since we didn't send out xenpm
>> tools until now, and considering people want to test 'ondemand'
>> governor, we temporarily set default governor as 'ondemand', as what
>> we did recently. 
>> After we send out xenpm tools, we will set default governor as
>> 'performance' again. At that time, user can use xenpm tool to change
>> cpufreq governor to 'ondemand' on-the-fly if he want.
> 
> Perhaps a boot-time option to set the initial default would be better?
> 
>  -- Keir

En, in fact we also think this solution, let command line parse to set initial 
default governor.
However, it also need user to set at grub, compared with xenpm, seems xenpm 
tool is some convenient to user, since by xenpm user can get initial default 
governor and change governor on the fly.
It's my draft thinking, and we can add boot-time option ASAP once you think 
needed.

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