Skip to contentSkip to conversation

Question on xenpm

DISCUSSION Carsten Schiers 1 participant 2 messages Jul 5, 2010

lore
Share & tools
lore
#0 lore raw

Dear all,

after having upgraded my server from AMD 4050e to X4 640, I now use cpufreq=xen and had to adapt a munin script (monitoring tool) to display the residency in the different P-states. This script uses /sys/device/system/cpu/cpu0/cpufreq to read out the information, whereas I now use xenpm get-cpufreq-state.

Before I noticed that the CPU is in highest possible P-state (lowest frequences) nearly all of the time, and a minimal percentage in the lowest. Now I can see a 50/50 distribution. Interesting enough, the xenpm get-cpuidle-state will show that the CPUs are at aprox. 90% in C1 idle state.

Can there be a difference in how the two methods to collect the info are working? I mean something like xenpm will not count residency when in C1, but cpufreq driver will normaly do?

BR,
Carsten.

#1 lore raw

Just a short addon-question, xenpm get-cpufreq-para will currently leave the scaling driver blank. How can I make sure that the powernow driver is used?

Thanks,
Carsten.

----- Originalnachricht -----
Von: Carsten Schiers <[email protected]>
Gesendet: Mon, 5.7.2010 11:09
An: [email protected]
Betreff: [Xen-devel] Question on xenpm

Dear all,

after having upgraded my server from AMD 4050e to X4 640, I now use cpufreq=xen and had to adapt a munin script (monitoring tool) to display the residency in the different P-states. This script uses /sys/device/system/cpu/cpu0/cpufreq to read out the information, whereas I now use xenpm get-cpufreq-state.

Before I noticed that the CPU is in highest possible P-state (lowest frequences) nearly all of the time, and a minimal percentage in the lowest. Now I can see a 50/50 distribution. Interesting enough, the xenpm get-cpuidle-state will show that the CPUs are at aprox. 90% in C1 idle state.

Can there be a difference in how the two methods to collect the info are working? I mean something like xenpm will not count residency when in C1, but cpufreq driver will normaly do?

BR,
Carsten.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel