|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/mwait_idle: Allow setting the max cstate to C1
On 06/02/2014 04:46 PM, Jan Beulich wrote: On 02.06.14 at 16:43, <ross.lagerwall@xxxxxxxxxx> wrote: Except that is how xenpm and xl debugkeys c already display their output. E.g:
C0 : transition [ 3431722]
residency [ 131101 ms]
C1 : transition [ 588]
residency [ 3514 ms]
C2 : transition [ 465]
residency [ 497 ms]
C3 : transition [ 176]
residency [ 299 ms]
C4 : transition [ 15]
residency [ 5 ms]
C5 : transition [ 3430478]
residency [ 57685073 ms]
In the above, C1 == hardware C1 and C2 == hardware C1E. Changing it so
that "xenpm set-max-cstate 1" sets it to xenpm's notion of C1 rather
than actual C1 (as the patch does) seems consistent to me.
The alternative would be to fix up xenpm, xl debugkeys c, and any other consumers of C-states to correctly display substates and take a new substate parameter. IMHO, there's little gain in doing this as C-states are really platform dependent anyway. If the next Intel processor has a selectable sub-sub-C-state, do we really want to have to change everything again? Cheers -- Ross Lagerwall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |