Acer c720 machdep.mwait.CX.[idle, spin]
Sepherosa Ziehau
sepherosa at gmail.com
Tue Dec 9 00:41:15 PST 2014
On Tue, Dec 9, 2014 at 4:51 AM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
> :>> Also suggested in /etc/sysctl.conf:
> :>>
> :>> hw.cpu_mwait_halt=0x44
> :>> hw.cpu_mwait_spin=0x11
> :>
> :> Now these sysctls are read-only. Which C-states I must use with
> :> machdep.mwait.CX.[idle, spin]?
> :>
> :> machdep.mwait.CX.supported: C1/0 C1/1 C2/0 C3/0 C3/1 C4/0 C4/1 C4/2 C4/3
> :> C5/0 C6/0 C7/0
> :
> :Tried machdep.mwait.CX.idle=AUTODEEP?
> :
> :The sysctl machdep.mwait output should tell you how often each state was
> :entered.
> :
> :Sascha
>
> Yah. The original settings for mwait_halt/spin were manual settings
> before sephe added the cpu autoprobing for the modes. Those are now
> read-only. Now you just set it to AUTODEEP as you have above.
You could optionally set it to any values listed in
machdep.mwait.CX.supported, e.g. C7/0
Best Regards,
sephe
--
Tomorrow Will Never Die
More information about the Users
mailing list