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] Cpufreq on k8 with xen dom0

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Subject: Re: [Xen-devel] Cpufreq on k8 with xen dom0
From: Goswin von Brederlow <brederlo@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 08:08:11 +0200
Cc: geaaru@xxxxxxxxx, Xen-Devel ML <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 26 Sep 2007 23:08:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1449F58C868D8D4E9C72945771150BDF0207701C@xxxxxxxxxxxxxxxxx> (Mark Langsdorf's message of "Wed, 26 Sep 2007 07:36:19 -0500")
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1190726705.9986.18.camel@localhost> <1449F58C868D8D4E9C72945771150BDF0207701C@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
"Langsdorf, Mark" <mark.langsdorf@xxxxxxx> writes:

>  >  is there a patch for xen-source-2.6.20-r3 for use cpufreq on 
>> turion64?
>> I'm using xen-sources of gentoo portage.
>> Thanks in advance.
>
> It's still in development; there's a version available
> that will let you userspace tools in dom0 to monitor 
> and control frequency changes but true ondemand dynamic
> scaling still needs some work.
>
> Email me privately if you're interested in helping and
> willing to be a test subject.  Thanks.
>
> -Mark Langsdorf
> Operating System Research Center
> AMD

I'm verry interested. I have xen on my laptop and when on battery mode
that totaly drains power. So when traveling I have to boot non XEN
limiting me to dom0.

It shouldn't be too hard to write a little application that will scale
frequency depending on the sum of cpu usage of all domains. The info
is shown in xentop so it should be simple of sampling that once every
X second and sclaing for it.

But even a simple "make it slow" option would be just fine.

MfG
        Goswin

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