[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen cpufreq support status: how to notify hypervisor of frequency change?




On 11 Apr 2006, at 21:11, Matt T. Yourst wrote:

I'm still getting some issues with the timer not properly re-syncing even
though the cpufreq driver makes the new setcpufreq hypercall, which Xen
properly receives.

Right now it just sets cpu_khz and calls local_time_calibration() on the
target CPU(s). Is there something else we need to do, like calling the
equivalent of early_time_init() or init_xen_time() all over again?

The problem is much less severe now but it still sometimes happens.

local_time_calibration() won't really do the right thing. It will calibrate for the observed TSC rate over the last few seconds, most of which will have passed at the old TSC rate. The simplest fix would simply be to multiply the calculated TSC scale factor by new_mhz/old_mhz.

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.