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/
Home Products Support Community News


[Xen-users] Power management in hypervisor

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Power management in hypervisor
From: Birger Brunswiek <birger@xxxxxxxxxxxxx>
Date: Sun, 18 Oct 2009 02:43:49 +0200
Delivery-date: Sat, 17 Oct 2009 17:45:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090817)
I'm running Debian Lenny with Xen 3.4 packages taken from Debian
Squeeze. I want to get power management to work in the hypervisor:

user@host:~$ sudo xenpm set-scaling-governor ondemand
[CPU0] failed to set governor name
user@host:~$ sudo xenpm get-cpuidle-states
Max C-state: C7

cpu id               : 0
total C-states       : 2
idle time(ms)        : 1885922
C0                   : transition [00000000000000429120]
                       residency  [00000000000000186144 ms]
C1                   : transition [00000000000000429120]
                       residency  [00000000000001882392 ms]

user@host:~$ sudo xenpm

No output at all? Maybe my CPU is not supported by Xen? The P-States are
correctly detected by Debian Lenny's standard (non-xen) kernel.

user@host:~$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family   : 16
model        : 6
model name   : AMD Sempron(tm) 140 Processor
stepping     : 2
cpu MHz      : 2700.064
cache size   : 1024 KB
fpu          : yes
fpu_exception: yes
cpuid level  : 5
wp           : yes
flags        : fpu de tsc msr pae mce cx8 apic mtrr mca cmov pat clflush
mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow
constant_tsc up rep_good pni cx16 popcnt lahf_lm extapic cr8_legacy abm
sse4a misalignsse 3dnowprefetch
bogomips     : 5402.35
TLB size     : 1024 4K pages
clflush size : 64
cache_alignment: 64
address sizes: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

I have tried setting cpufreq=xen explicitly but that does not seem to
make any difference. Does anyone have an idea what's wrong here?


Xen-users mailing list

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