[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Frequency scaling not working
Regarding Frequency Scaling support in Xen, i think the problem is, "Writes to few of the MSRs are being ignored in Xen, Eg: Write to the MSR MSR_IA32_THERM_CONTROL (alias, IA32_CLOCK_MODULATION, 19A) is being ignored in Xen, which is used to enable clock modulation driver for frequency scaling. But, the same MSR write works fine for linux. Xen was able to access other MSRs like PERF_CTL (but i am yet to check if they could write in to it) Also, I found that in /arch/i386/Kconfig, most of the modules are disabled for Xen including the MSR module, HyperThread support, SMT scheduler support, Machine Status Check support and Advanced Power Management support are diabled for Xen. I enabled few of those by changing the config and was able to have the MSR module working. Other modules when enabled gave compile time errors. Regarding HyperThreading support, Example: When i change frequency of a processor in linux, its corresponding hyperthread's frequency is also automatically changed, wheareas in Xen, the frequency driver does not detect the hyperthread as a logical processor, it thinks of it as a separate physical processor (SMP). To quote from the Intel Arch Manual, "For Hyper-Threading Technology enabled processors, the IA32_CLOCK_MODULATION register is duplicated for each logical processor. In order for the On-demand clock modulation feature to work properly, the feature must be enabled on all the logical processors within a physical processor. If the programmed duty cycle is not identical for all the logical processors, the processor clock will modulate to the highest duty cycle programmed." But this has got nothing to do with writes to the MSRs not getting realized, because i have booted my machine as a uniprocessor now.. Thanks for the response, Expecting to learn more about this, regards, Sriram.G Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote: > I installed the latest version of xen (3.0.4_1). I used userspace governor
SHOUT IT OUT! Tell everyone, from anywhere, that you're online on Yahoo! Messenger _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |