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

Re: [Xen-users] Power management in hypervisor



Stefan Kuhne wrote:
> Birger Brunswiek schrieb:
>   
>> Hi
>> 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:
>>
>>     
> http://wiki.xensource.com/xenwiki/xenpm
>   

I have tried and I retried the instructions on that page. Unfortunately
I still cannot get power management to work. Xen 3.4.1 has cpuidle and
cpufreq=xen enabled by default. I have not set any boot parameters to
Xen (but I also tried "cpufreq=xen cpuidle"), so power management should
be enabled. I'm not sure how I can tell whether power management is or
not. At least xenpm doesn't work, so I'm assuming neither is power
management. Power management works with the standard Debian Etch kernel
using the powernow_k8 module so power management works in general, it
just does not work in Xen.

xenpm get-cpuidle-states reports max c-state c7 but strangely only lists
c0 and c1:
Max C-state: C7

cpu id               : 0
total C-states       : 2
idle time(ms)        : 1962951
C0                   : transition [00000000000000439633]
                       residency  [00000000000000150633 ms]
C1                   : transition [00000000000000439633]
                       residency  [00000000000001959380 ms]

xenpm get-cpuidle-states outputs nothing at all and trying to set a
governor results in
[CPU0] failed to set governor name.

I also don't see any c-state related output in xm dmesg. Here's the full
output:
 __  __            _____ _  _    _
 \ \/ /___ _ __   |___ /| || |  / |
  \  // _ \ '_ \    |_ \| || |_ | |
  /  \  __/ | | |  ___) |__   _|| |
 /_/\_\___|_| |_| |____(_) |_|(_)_|

(XEN) Xen version 3.4.1 (lee@[unknown]) (gcc version 4.3.3 (Ubuntu
4.3.3-5ubuntu4) ) Sat Oct 17 14:58:59 CEST 2009
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: cpufreq=xen cpuidle
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 6 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009dc00 (usable)
(XEN)  000000000009dc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e3000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000dff90000 (usable)
(XEN)  00000000dff90000 - 00000000dffa8000 (ACPI data)
(XEN)  00000000dffa8000 - 00000000dffe0000 (ACPI NVS)
(XEN)  00000000dffe0000 - 00000000dffee000 (reserved)
(XEN)  00000000dfff0000 - 00000000e0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fee00000 - 00000000fef00000 (reserved)
(XEN)  00000000fff00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000220000000 (usable)
(XEN) System RAM: 8191MB (8387764kB)
(XEN) ACPI: RSDP 000FB830, 0024 (r2 ACPIAM)
(XEN) ACPI: XSDT DFF90100, 0064 (r1 062909 XSDT2007 20090629 MSFT       97)
(XEN) ACPI: FACP DFF90290, 00F4 (r3 062909 FACP2007 20090629 MSFT       97)
(XEN) ACPI: DSDT DFF90450, 9D33 (r1  A1257 A1257000        0 INTL 20060113)
(XEN) ACPI: FACS DFFA8000, 0040
(XEN) ACPI: APIC DFF90390, 0080 (r1 062909 APIC2007 20090629 MSFT       97)
(XEN) ACPI: MCFG DFF90410, 003C (r1 062909 OEMMCFG  20090629 MSFT       97)
(XEN) ACPI: OEMB DFFA8040, 007A (r1 062909 OEMB2007 20090629 MSFT       97)
(XEN) ACPI: HPET DFF9A190, 0038 (r1 062909 OEMHPET0 20090629 MSFT       97)
(XEN) ACPI: INFO DFFA80C0, 0124 (r1 062909 AMDINFO  20090629 MSFT       97)
(XEN) ACPI: NVHD DFFA81F0, 0284 (r1 062909  NVHDCP  20090629 MSFT       97)
(XEN) ACPI: SSDT DFF9A1D0, 023E (r1 A M I  POWERNOW        1 AMD         1)
(XEN) Domain heap initialised
(XEN) Processor #0 0:6 APIC version 16
(XEN) IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2700.013 MHz processor.
(XEN) AMD SVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) CPU0: AMD Family10h machine check reporting enabled.
(XEN) CPU0: AMD Sempron(tm) 140 Processor stepping 02
(XEN) Total of 1 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 25.000MHz HPET
(XEN) Brought up 1 CPUs
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0x200000 -> 0x631918
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000214000000->0000000218000000 (2022538 pages
to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff80631918
(XEN)  Init. ramdisk: ffffffff80632000->ffffffff81c03a00
(XEN)  Phys-Mach map: ffffffff81c04000->ffffffff82b92450
(XEN)  Start info:    ffffffff82b93000->ffffffff82b934b4
(XEN)  Page tables:   ffffffff82b94000->ffffffff82baf000
(XEN)  Boot stack:    ffffffff82baf000->ffffffff82bb0000
(XEN)  TOTAL:         ffffffff80000000->ffffffff83000000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 1 VCPUs
(XEN) Scrubbing Free RAM: ..done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch
input to Xen)
(XEN) Freed 132kB init memory.

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


 


Rackspace

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