From: Dan Magenheimer Subject: C-state detection (on Intel "Conroe", but possibly generic) Date: Thu, 27 May 2010 09:44:13 -0700 (PDT) Message-ID: <2a89d2af-1c95-49bf-b20a-d55232b2dd33@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I have a Core 2 Duo "Conroe" box, and I just found and disabled C2 support. Output of the 'c' debug key is as follows: (XEN) 'c' pressed -> printing ACPI Cx structures (XEN) =3D=3Dcpu0=3D=3D (XEN) active state: C1 (XEN) max_cstate: C7 (XEN) states: (XEN) *C1: type[C1] latency[000] usage[00028463] duration[96334186317] (XEN) C0: usage[00028463] duration[35090775621] (XEN) =3D=3Dcpu1=3D=3D (XEN) active state: C1 (XEN) max_cstate: C7 (XEN) states: (XEN) *C1: type[C1] latency[000] usage[00013740] duration[103068828568= ] (XEN) C0: usage[00013740] duration[28356147295] This box is no longer capable of achieving a cstate greater than 1, but max_cstate is still shown as C7. This subverts some of the TSC logic, which measures if the box can go into deep C-states. I know I can override this with the Xen max_cstate boot parameter but shouldn't Xen detect that the highest C-state possible is 1? (Linux 2.6.34 does.) Thanks, Dan