No C-States any longer...
Isn't it rather in xen/arch/x86/acpi/cpu_idle.c? I ask because a xm debug-key "c" doesn't print anything, but C-States should be recognized and managed by xen and not by the Dom0 kernel, shouldn't it?
I found a line like this in function set_cx_pminfo by the way:
/* FIXME: C-state dependency is nut supported by far */
But maybe it's the same Intel crew that has done it...
BR,
Carsten.
----- Originalnachricht -----
Von: Ian Campbell <[email protected]>
Gesendet: Mit, 8.6.2011 11:20
An: Carsten Schiers <[email protected]>
Cc: xen-devel <[email protected]> ; [email protected] ; [email protected] ; [email protected]
Betreff: Re: AW: Re: [Xen-devel] No C-States any longer...
I'm really not sure how this stuff is supposed to work.
I've CC'd some Intel folks who authored/touched driver/acpi/processor_xen.c and drivers/xen/acpi_processor.c which I think is the glue which is supposed to make this stuff work.
Ian.
Quoted 98 lines · Carsten Schiers
I tested with Xen 4.1.0 and latest xen.git#xen/stable-2.6.32: still not working.
Find attached some files. I currently have no working system to produce equivalents.BR,
Carsten.-----Ursprüngliche Nachricht-----
Von: Ian Campbell [mailto:[email protected]]
Gesendet: Montag, 6. Juni 2011 10:31
An: Carsten Schiers
Cc: xen-devel
Betreff: Re: [Xen-devel] No C-States any longer...Quoted 5 lines · Carsten Schiers
after my move to Xen 4.1.0 and Debian 2.6.32-5-xen-amd64 pvops Dom0. Seems to be a problem with ACPI.
Can it be a BIOS problem (although it worked up to now) or is this notimplemented?
It may not have been implemented when Debian took their snapshot of pvops for the Squeeze release or there may have been missing bugfixes. Can you try the latest xen.git#xen/stable-2.6.32?
Quoted 1 line
Some infos:
It might be interesting to see the equivalent on a working system. Also a complete dmesg from each case would be useful.
Ian.
Quoted 18 lines
xm dmesg after xm debug-key c:
--------------------------------
(XEN) 'c' pressed -> printing ACPI Cx structuresxenpm get-cpuidle-states 0
--------------------------
Max C-state: C7cpu id : 0
total C-states : 0
idle time(ms) : 0
pc3 : [00000000000000000018 ms]
pc6 : [00000000000000004294 ms]
pc7 : [00000000000140733193 ms]
cc3 : [00000000000000000000 ms]
cc6 : [00000000000000000006 ms]Quoted 13 lines
xm info
-------
host : data
release : 2.6.32-5-xen-amd64
version : #1 SMP Thu May 19 01:16:47 UTC 2011
machine :x86_64nr_cpus: 3nr_nodes: 1cores_per_socket: 3threads_per_core: 1cpu_mhz: 2210hw_caps:178bf3ff:efd3fbff:00000000:00001310:00802001:00000000:000037ff:00000000
Quoted 29 lines
virt_caps: hvmtotal_memory: 4094free_memory: 373free_cpus: 0xen_major: 4xen_minor: 1xen_extra: .0xen_caps: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler: creditxen_pagesize: 4096platform_params: virt_start=0xffff800000000000xen_changeset: unavailablexen_commandline: dom0_mem=256Mdom0_vcpus_pincpuidle
cpufreq=xencc_compiler: gcc version 4.4.5 (Debian 4.4.5-8)cc_compile_by: rootcc_compile_domain : cc_compile_date : Fri Jun 3 17:03:43 CEST 2011 xend_config_format : 4_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
(reposting my reply to your private mail with the same contentx, I didn't notice it was private in time, also re-adding CCs to keep everything on the same thread)
Quoted 4 lines · Carsten Schiers
Isn't it rather in
xen/arch/x86/acpi/cpu_idle.c? I ask because a xm debug-key "c" doesn't print anything, but C-States should be recognized and managed by xen and not by the Dom0 kernel, shouldn't it?
This is outside my comfort zone but AIUI dom0 is responsible for parsing the ACPI tables and pushing this info down to the hypervisor.
Quoted 3 lines
I found a line like this in function
set_cx_pminfoby the way:/* FIXME: C-state dependency is nut supported by far */
I think that's just about complex interactions between C states not being handled, rather than C states not being supported at all.
Ian.
Quoted 127 lines
But maybe it's the same Intel crew that has done it...
BR,
Carsten.----- Originalnachricht -----
Von: Ian Campbell <[email protected]>
Gesendet: Mit, 8.6.2011 11:20
An: Carsten Schiers <[email protected]>
Cc: xen-devel <[email protected]> ; [email protected] ; [email protected] ; [email protected]
Betreff: Re: AW: Re: [Xen-devel] No C-States any longer...I'm really not sure how this stuff is supposed to work.
I've CC'd some Intel folks who authored/touched
driver/acpi/processor_xen.canddrivers/xen/acpi_processor.cwhich I think is the glue which is supposed to make this stuff work.Ian.
Quoted 64 lines · Carsten Schiers
I tested with Xen 4.1.0 and latest xen.git#xen/stable-2.6.32: still not working.
Find attached some files. I currently have no working system to produce equivalents.BR,
Carsten.-----Ursprüngliche Nachricht-----
Von: Ian Campbell [mailto:[email protected]]
Gesendet: Montag, 6. Juni 2011 10:31
An: Carsten Schiers
Cc: xen-devel
Betreff: Re: [Xen-devel] No C-States any longer...Quoted 5 lines · Carsten Schiers
after my move to Xen 4.1.0 and Debian 2.6.32-5-xen-amd64 pvops Dom0. Seems to be a problem with ACPI.
Can it be a BIOS problem (although it worked up to now) or is this notimplemented?
It may not have been implemented when Debian took their snapshot of pvops for the Squeeze release or there may have been missing bugfixes. Can you try the latest xen.git#xen/stable-2.6.32?
Quoted 1 line
Some infos:
It might be interesting to see the equivalent on a working system. Also a complete dmesg from each case would be useful.
Ian.
Quoted 18 lines
xm dmesg after xm debug-key c:
--------------------------------
(XEN) 'c' pressed -> printing ACPI Cx structuresxenpm get-cpuidle-states 0
--------------------------
Max C-state: C7cpu id : 0
total C-states : 0
idle time(ms) : 0
pc3 : [00000000000000000018 ms]
pc6 : [00000000000000004294 ms]
pc7 : [00000000000140733193 ms]
cc3 : [00000000000000000000 ms]
cc6 : [00000000000000000006 ms]Quoted 13 lines
xm info
-------
host : data
release : 2.6.32-5-xen-amd64
version : #1 SMP Thu May 19 01:16:47 UTC 2011
machine :x86_64nr_cpus: 3nr_nodes: 1cores_per_socket: 3threads_per_core: 1cpu_mhz: 2210hw_caps:Quoted 34 lines
178bf3ff:efd3fbff:00000000:00001310:00802001:00000000:000037ff:00000000
Quoted 29 lines
virt_caps: hvmtotal_memory: 4094free_memory: 373free_cpus: 0xen_major: 4xen_minor: 1xen_extra: .0xen_caps: xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler: creditxen_pagesize: 4096platform_params: virt_start=0xffff800000000000xen_changeset: unavailablexen_commandline: dom0_mem=256Mdom0_vcpus_pincpuidle
cpufreq=xencc_compiler: gcc version 4.4.5 (Debian 4.4.5-8)cc_compile_by: rootcc_compile_domain : cc_compile_date : Fri Jun 3 17:03:43 CEST 2011 xend_config_format : 4_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel