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? Signed-off-by: Rik van Riel <riel@redhat.com> -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Langsdorf, Mark
2007-Jun-18 16:10 UTC
[Xen-devel] RE: [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@lists.xensource.com http://lists.xensource.com/xen-devel