Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2017 10:39:46 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Johannes Lundberg <johalun0@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: increased power consumption lately?
Message-ID:  <CAJ-Vmo=g5jye9b5KGeOdVY7gcryxu07OVE3AXOK2LMg5_BsnWQ@mail.gmail.com>
In-Reply-To: <CAECmPwsFt2aOprnLptYe_L%2BD0xFRONP1kAg2%2BmHvb0cLK7vz3Q@mail.gmail.com>
References:  <CAJ-VmomW0=8Zj=o7NRadefYyrWepTG=r4xh80fQKUT3JiUd8Vg@mail.gmail.com> <CAECmPwuRQQZkZ1qJBAkaGTH8erX8b=evpTFiA7qCQR4DOfhQzw@mail.gmail.com> <CAJ-Vmo=PqTEBLKgCh%2BuH1UHzt5YWdD11f46j4vuZ6cLZbaVjAQ@mail.gmail.com> <CAECmPwtrS5h1AhW1uLgW=sFam8wwo0hb3RFNBYOepFRoON8Dbw@mail.gmail.com> <CAJ-Vmo=O9Lviq2%2BC0Z%2BWCTAE=dHG01N7p8a%2BJicw8vhChjV2Ag@mail.gmail.com> <CAECmPwsFt2aOprnLptYe_L%2BD0xFRONP1kAg2%2BmHvb0cLK7vz3Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@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@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@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@freebsd.org mailing list
>>>> >> https://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=g5jye9b5KGeOdVY7gcryxu07OVE3AXOK2LMg5_BsnWQ>