Re: increased power consumption lately?

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Wed, 5 Apr 2017 10:39:46 -0700
hm, you could use dtrace to find what's calling that function and
print out the call stack?



-adrian


On 5 April 2017 at 02:32, Johannes Lundberg <johalun0_at_gmail.com> wrote:
> Is there an easy way to do that with existing tools or do I need to add
> debug printing to the code?
>
>
> On Tue, Apr 4, 2017 at 9:39 PM, Adrian Chadd <adrian_at_freebsd.org> wrote:
>>
>> hiya,
>>
>> looks like yeah, you're going to have to do a bit more debugging. Can you
>> see what args are being passed to AcpiNsLookup() ?
>>
>>
>>
>> -adrian
>>
>>
>> On 3 April 2017 at 03:24, Johannes Lundberg <johalun0_at_gmail.com> wrote:
>>>
>>> Hi Adrian
>>>
>>> The three threads are kernel(acpi_task_{0-2}) and they use ~30% each so
>>> total 100% of one core.
>>>
>>> Machine is 2013 MBP
>>>
>>> pmcstat screenshot attached.
>>>
>>>
>>> On Thu, 30 Mar 2017 at 21:16, Adrian Chadd <adrian_at_freebsd.org> wrote:
>>>>
>>>> I don't /think/ so - which thread is it on your end? Can you run
>>>> pmcstat -S instructions -T to see what's taking your CPU?
>>>>
>>>>
>>>>
>>>> -adrian
>>>>
>>>>
>>>> On 28 March 2017 at 13:36, Johannes Lundberg <johalun0_at_gmail.com> wrote:
>>>> > Hi
>>>> >
>>>> > Personally I got some acpi-something kernel thread at 100% CPU
>>>> > constant
>>>> > usage. Need to lock CPU freq at lower value otherwise it runs with
>>>> > turboboost all the time.
>>>> >
>>>> > Could it be the same for you?
>>>> >
>>>> > On Tue, 28 Mar 2017 at 20:58, Adrian Chadd <adrian_at_freebsd.org> wrote:
>>>> >>
>>>> >> hiya,
>>>> >>
>>>> >> I've noticed that my battery life on my haswell laptop (T540p) seems
>>>> >> to have taken a nosedive lately. I could've /sworn/ it was getting
>>>> >> better than 15-16W at idle.
>>>> >>
>>>> >> Has anyone noticed any massive decrease in battery life lately?
>>>> >>
>>>> >>
>>>> >>
>>>> >> -adrian
>>>> >> _______________________________________________
>>>> >> freebsd-current_at_freebsd.org mailing list
>>>> >> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>> >> To unsubscribe, send any mail to
>>>> >> "freebsd-current-unsubscribe_at_freebsd.org"
>>
>>
>
Received on Wed Apr 05 2017 - 15:39:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC