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] RFC: cpu frequency scaling

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] RFC: cpu frequency scaling
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Wed, 25 Oct 2006 17:13:25 -0400
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Oct 2006 14:14:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1658BDF.30C4%Keir.Fraser@xxxxxxxxxxxx>
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>
Organization: Red Hat, Inc
References: <C1658BDF.30C4%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
Keir Fraser wrote:

Frequency changes in dom0, please. The 'small dom0' issue is easily handled
-- create a driver domain to handle the frequency management. Or move the
potentially resource-intensive processes in dom0 out to a domU

or have a cpufreq "driver domain"...

OK, I'll take a look at how we can do these things.

I'm guessing the way to start would be having either userspace
cpufreq code polling the hypervisor for CPU load, or have a
drivers/cpufreq/cpufreq_ondemand-xen.c that gets the CPU load
information from the hypervisor.

I'm guessing something like xentop already gets the right info
from the hypervisor in a relatively efficient way, or some of
the code in libvirt.

I'll dig around to see what code to hook into...

--
Who do you trust?
The people with all the right answers?
Or the people with the right questions?

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

<Prev in Thread] Current Thread [Next in Thread>