Fwd: Acer c720 machdep.mwait.CX.[idle, spin]

Sepherosa Ziehau sepherosa at gmail.com
Tue Dec 9 17:01:07 PST 2014


Sent directly to me by accident :).  Forward to users@ and CC'ed Francois.

---------- Forwarded message ----------
From: Romick <yellowrabbit2010 at gmail.com>
Date: Tue, Dec 9, 2014 at 7:50 PM
Subject: Re: Acer c720 machdep.mwait.CX.[idle, spin]
To: Sepherosa Ziehau <sepherosa at gmail.com>


On Tue, Dec 09, 2014 at 04:41:15PM +0800, Sepherosa Ziehau wrote:
> 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
>

Thanks
I'll set C7/0.
Unfortunaly I can't change brightness: I think there is no backlight
support in our i915 display driver?

--
  with best reagrds, Yellow Rabbit
  DragonFly 4.1-DEVELOPMENT x86_64


-- 
Tomorrow Will Never Die



More information about the Users mailing list