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

[Xen-devel] Problems with power management xen 3.4



I've a problem with managing power consumption on Intel Nehalem CPU.
I've installed Xen 3.4 on our Dell PowerEdge T610 system on a Ubuntu 9.04 distribution. I recompiled the kernel 2.6.30rc5. Now I can see the c-states of the CPUs but no access to P-states information and the frequency scaling does not work.

By the way, if I run the kernel 2.6.28.13 which is the last one supported by Ubuntu, I have access to the frequency data but not to the one of power consumption.

I report below some data I gathered form my machine.
Hope someone could be of help

Regards
Danilo Ardagna

----




xm dmesg
 __  __            _____ _  _    _             ____
 \ \/ /___ _ __   |___ /| || |  / |   _ __ ___| ___|
  \  // _ \ '_ \    |_ \| || |_ | |__| '__/ __|___ \
  /  \  __/ | | |  ___) |__   _|| |__| | | (__ ___) |
 /_/\_\___|_| |_| |____(_) |_|(_)_|  |_|  \___|____/

(XEN) Xen version 3.4.1-rc5 (root@xxxxxxxxxxxxxx) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) Fri Jul 3 17:35:33 CEST 2009 (XEN) Latest ChangeSet: Thu Jul 02 16:17:12 2009 +0100 19679:ddf8e5917a12 (XEN) Command line: cpufreq=xen (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 00000000000a0000 (usable) (XEN) 0000000000100000 - 00000000cf699000 (usable) (XEN) 00000000cf699000 - 00000000cf6af000 (reserved) (XEN) 00000000cf6af000 - 00000000cf6ce000 (ACPI data) (XEN) 00000000cf6ce000 - 00000000d0000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fe000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000230000000 (usable) (XEN) System RAM: 8182MB (8378596kB) (XEN) ACPI: RSDP 000F1640, 0024 (r2 DELL ) (XEN) ACPI: XSDT 000F1744, 009C (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: FACP CF6C3F9C, 00F4 (r3 DELL PE_SC3 1 DELL 1) (XEN) ACPI: DSDT CF6AF000, 320F (r1 DELL PE_SC3 1 INTL 20050624) (XEN) ACPI: FACS CF6C6000, 0040 (XEN) ACPI: APIC CF6C3478, 015E (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SPCR CF6C35D8, 0050 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: HPET CF6C362C, 0038 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: DMAR CF6C3668, 01E0 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: MCFG CF6C38C4, 003C (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: WDAT CF6C3904, 0134 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SLIC CF6C3A3C, 0024 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: ERST CF6B2390, 0270 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: HEST CF6B2600, 027C (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: BERT CF6B2210, 0030 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: EINJ CF6B2240, 0150 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SRAT CF6C3BC0, 0370 (r1 DELL PE_SC3 1 DELL 1) (XEN) ACPI: TCPA CF6C3F34, 0064 (r2 DELL PE_SC3 1 DELL 1) (XEN) ACPI: SSDT CF6C7000, 41E4 (r1 INTEL PPM RCM 80000001 INTL 20061109) (XEN) Domain heap initialised (XEN) Processor #16 7:10 APIC version 21 (XEN) Processor #0 7:10 APIC version 21 (XEN) Processor #18 7:10 APIC version 21 (XEN) Processor #2 7:10 APIC version 21 (XEN) Processor #20 7:10 APIC version 21 (XEN) Processor #4 7:10 APIC version 21 (XEN) Processor #22 7:10 APIC version 21 (XEN) Processor #6 7:10 APIC version 21 (XEN) Processor #17 7:10 APIC version 21 (XEN) Processor #1 7:10 APIC version 21 (XEN) Processor #19 7:10 APIC version 21 (XEN) Processor #3 7:10 APIC version 21 (XEN) Processor #21 7:10 APIC version 21 (XEN) Processor #5 7:10 APIC version 21 (XEN) Processor #23 7:10 APIC version 21 (XEN) Processor #7 7:10 APIC version 21 (XEN) IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23 (XEN) IOAPIC[1]: apic_id 1, version 32, address 0xfec80000, GSI 32-55 (XEN) Enabling APIC mode: Phys. Using 2 I/O APICs (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2394.087 MHz processor. (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) VMX: EPT is available. (XEN) VMX: VPID is available. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging detected. (XEN) CPU0: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 1/0 eip 8c000 (XEN) CPU1: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 2/18 eip 8c000 (XEN) CPU2: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 3/2 eip 8c000 (XEN) CPU3: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 4/20 eip 8c000 (XEN) CPU4: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 5/4 eip 8c000 (XEN) CPU5: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 6/22 eip 8c000 (XEN) CPU6: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 7/6 eip 8c000 (XEN) CPU7: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 8/17 eip 8c000 (XEN) CPU8: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 9/1 eip 8c000 (XEN) CPU9: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 10/19 eip 8c000 (XEN) CPU10: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 11/3 eip 8c000 (XEN) CPU11: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 12/21 eip 8c000 (XEN) CPU12: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 13/5 eip 8c000 (XEN) CPU13: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 14/23 eip 8c000 (XEN) CPU14: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Booting processor 15/7 eip 8c000 (XEN) CPU15: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz stepping 05 (XEN) Total of 16 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) checking TSC synchronization across 16 CPUs: passed. (XEN) Platform timer is 14.318MHz HPET (XEN) Brought up 16 CPUs (XEN) I/O virtualisation disabled (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x19cf000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000224000000->0000000228000000 (2019470 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff819cf000 (XEN) Init. ramdisk: ffffffff819cf000->ffffffff819cf000 (XEN) Phys-Mach map: ffffffff819cf000->ffffffff82957470 (XEN) Start info: ffffffff82958000->ffffffff829584b4 (XEN) Page tables: ffffffff82959000->ffffffff82972000 (XEN) Boot stack: ffffffff82972000->ffffffff82973000 (XEN) TOTAL: ffffffff80000000->ffffffff82c00000 (XEN) ENTRY ADDRESS: ffffffff8182f200
(XEN) Dom0 has maximum 16 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) ioapic_guest_write: apic=0, pin=2, old_irq=0, new_irq=-1
(XEN) ioapic_guest_write: old_entry=000000f0, new_entry=00010000
(XEN) ioapic_guest_write: Attempt to remove IO-APIC pin of in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=0, old_irq=-1, new_irq=0
(XEN) ioapic_guest_write: old_entry=00010000, new_entry=000000f0
(XEN) ioapic_guest_write: Attempt to add IO-APIC pin for in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=21, old_irq=21, new_irq=21
(XEN) ioapic_guest_write: old_entry=0000a0b8, new_entry=0001a0b8
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=21, old_irq=21, new_irq=21
(XEN) ioapic_guest_write: old_entry=0000a0b8, new_entry=0001a0b8
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!
(XEN) ioapic_guest_write: apic=0, pin=20, old_irq=20, new_irq=20
(XEN) ioapic_guest_write: old_entry=0000a0d0, new_entry=0001a0d0
(XEN) ioapic_guest_write: Attempt to modify IO-APIC pin for in-use IRQ!



xenpm start 5
Timeout set to 5 seconds
Start sampling, waiting for CTRL-C or SIGINT or SIGALARM signal ...
Elapsed time (ms): 5007

CPU0:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU1:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU2:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU3:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU4:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU5:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU6:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU7:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU8:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU9:   Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU10:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU11:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU12:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU13:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU14:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz

CPU15:  Residency(ms)           Avg Res(ms)
  Avg freq      -1749837312     KHz


xenpm  set-scaling-governor userspace
[CPU0] failed to set governor name
[CPU1] failed to set governor name
[CPU2] failed to set governor name
[CPU3] failed to set governor name
[CPU4] failed to set governor name
[CPU5] failed to set governor name
[CPU6] failed to set governor name
[CPU7] failed to set governor name
[CPU8] failed to set governor name
[CPU9] failed to set governor name
[CPU10] failed to set governor name
[CPU11] failed to set governor name
[CPU12] failed to set governor name
[CPU13] failed to set governor name
[CPU14] failed to set governor name
[CPU15] failed to set governor name


--
Danilo Ardagna
Politecnico di Milano
Dipartimento di Elettronica e Informazione
Via Golgi 40
20133 Milano, Italy
Phone: +39 02 2399 3514
Fax: +39 02 2399 3574
e-mail: ardagna@xxxxxxxxxxxxxx


_______________________________________________
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®.