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

[Xen-devel] RE: [PATCH] export cpu idle time to guests

To: "Rik van Riel" <riel@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: [PATCH] export cpu idle time to guests
From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Date: Mon, 18 Jun 2007 11:10:35 -0500
Delivery-date: Mon, 18 Jun 2007 09:08:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4672B25E.3040804@xxxxxxxxxx>
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: <4672B25E.3040804@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcevYztYd+s1g5EwQsOUlAtqA74enQCX5bNQ
Thread-topic: [PATCH] export cpu idle time to guests
> The attached patch exports cpu idle time to guests.  This is one of
> the things necessary for cpu frequency scaling to work well.
> 
> It works, but has the problem that the sysctl hypercall is really
> only designed to be used from userspace, so we would need a userspace
> cpufreq daemon running in dom0.
> 
> Mark, does this look reasonable to you?

As a first pass toward enabling a solution, it looks acceptable.
It should be trivial to enable cpuspeed or powersave to use
a different call when running on dom0.

In the long run, I'd like to get ondemand working in dom0 so
that people don't need to do anything special to get cpufreq
support.

-Mark Langsdorf
Operating System Research Center
AMD



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

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