Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2014 13:40:02 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Leaving the Desktop Market
Message-ID:  <CAJ-Vmo=23_aAfNO-Nn-LVepsQHN89Q83pCqj3J710-v8=2twxA@mail.gmail.com>
In-Reply-To: <536673ED.207@freebsd.org>
References:  <CAF6rxgkeBozvfV-L0%2BrFZ6fWRn0=Gi3BNq1kPL=-HTq0TD6MkQ@mail.gmail.com> <A70900DF-4BAA-427F-8731-01211FFD1887@mail.turbofuzz.com> <3F7430D7-3C0F-43E1-8EBD-8AA4F701497C@FreeBSD.org> <20140503155745.GA2457@La-Habana> <CAJ-VmokHQvb2S-1c08J3RECUMosQ%2Bcd1gdB91LAb5famfKqP5w@mail.gmail.com> <20140503192305.GA1847@La-Habana> <CAJ-Vmon1ZYX18SN1f=z9N=hSgpZrAxXMxiJBUDWk6LYvMRiHmw@mail.gmail.com> <CAN6yY1uo08PDsYJ2KQNjw4hYuNsNJUvRu1b0cG%2B387F6Owkukg@mail.gmail.com> <20140504142839.GA9271@La-Habana> <53666102.5080205@allanjude.com> <53667352.4030807@allanjude.com> <536673ED.207@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hm, I was hoping for a little more discussion. Mostly around the
"which older CPUs do we leave this on for?" crowd.

I have Pentium-M class hardware that I was going to spin up -HEAD on.

So I'll go install -HEAD on said older hardware and get a list of what
does and doesn't work. I'm totally fine with disabling p4tcc and
acpi_throttle if P states for cpu frequency adjustment are available.
I just want to ensure that the temperature throttling stuff is going
to get automatically engaged (by whichever magical BIOS/ACPI/SMI thing
does it) and clock things down if the CPU gets way too hot.



-a


On 4 May 2014 10:07, Nathan Whitehorn <nwhitehorn@freebsd.org> wrote:
> On 05/04/14 10:05, Allan Jude wrote:
>>
>> On 2014-05-04 11:47, Allan Jude wrote:
>>>
>>> On 2014-05-04 10:28, Matthias Apitz wrote:
>>>>
>>>> El d=C3=ADa Saturday, May 03, 2014 a las 04:59:48PM -0700, Kevin Oberm=
an
>>>> escribi=C3=B3:
>>>>
>>>>> On Sat, May 3, 2014 at 1:25 PM, Adrian Chadd <adrian@freebsd.org>
>>>>> wrote:
>>>>>
>>>>>> Set it to the lowest available Cx state that you see in dev.cpu.0 .
>>>>>>
>>>>>>
>>>>> Available is not required. Set it to C8. That guarantees that you wil=
l
>>>>> use
>>>>> the lowest available. The correct incantation in rc.conf is "Cmax".
>>>>> performance_cx_lowest=3D"Cmax"
>>>>> economy_cx_lowest=3D"Cmax"
>>>>>
>>>>> But, unless you want laggy performance, you will probably also want:
>>>>> hint.p4tcc.0.disabled=3D1
>>>>> hint.acpi_throttle.0.disabled=3D1
>>>>> in /boot/loader.conf. Low Cx states and TCC/throttling simply don't m=
ix
>>>>> well and TCC is not effective, as mentioned earlier in this thread.
>>>>
>>>> Re/ powerd I have in /etc/rc.conf:
>>>>
>>>> # powerd
>>>> powerd_enable=3D"YES"
>>>> powerd_flags=3D"-a max -b adp"
>>>> #
>>>> performance_cx_lowest=3D"Cmax"
>>>> economy_cx_lowest=3D"Cmax"
>>>>
>>>> (and the additional hint.* in /boot/loader.conf as well). Which proces=
s
>>>> 'performance_cx_lowest' and 'economy_cx_lowest' target exactly as conf=
ig
>>>> values?
>>>>
>>>> Thx
>>>>
>>>>         matthias
>>>>
>>> In a pretty unscientific test on my laptop (Lenovo T530 with Intel i5
>>> 3320M), setting hw.acpi.cpu.cx_lowest=3DC8 lowered power consumption at
>>> idle by about 3 watts, which adds about 30-45 minutes to my battery lif=
e
>>> during conservative usage.
>>>
>>> Using PCBSD 10, so hint.acpi_throttle.0.disabled=3D1 was already set
>>> (apparently solves some issue with powerd on some AMD systems)
>>>
>>> I have added hint.p4tcc.0.disabled=3D1 but not sure where to expect to =
see
>>> a difference.
>>>
>> I see the difference now, with the p4tcc stuff disabled, the lowest
>> cpufreq is now 1200mhz instead of 150mhz
>>
>>
>
> I just set the default for acpi_throttle and p4tcc in HEAD to disabled by
> adding these line to the default /boot/device.hints. If you want them bac=
k,
> editing your device.hints will restore them. This can be reverted if many
> people want throttling enabled by default, but all I have heard so far --
> and for the past many years -- is a unanimous chorus to turn it off.
> -Nathan
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=23_aAfNO-Nn-LVepsQHN89Q83pCqj3J710-v8=2twxA>