From owner-freebsd-current@freebsd.org Wed Apr 5 17:39:52 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63792D30B59 for ; Wed, 5 Apr 2017 17:39:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3C15C40 for ; Wed, 5 Apr 2017 17:39:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id w11so23379597wrc.3 for ; Wed, 05 Apr 2017 10:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FkmiXiYGc4i4SMHjo0MofwWuUD4brFlohgbgDF6vjoQ=; b=DMcVJMcnuWI8BcVmhm/Taw07ZrPGyX6qzd12Ku22xkSuOg1X839wckMseh2GizSox8 /9u+JCH4zi/SuvEEFfrpH5G1+oE0zOlPa0Ggw60yRwNw6mNlxYRVDI+YkQdwo03hR7GF c/0Mg/pFI/E3sYI6A0DjXh7wjy1sm32My1ElTDTX2itYNTNM5e7J0Iq+abKndDRXwycB ZQLX1erKzK6np4vr/UD6GhPYidG4Jyk6FOLxBd9uv7yovf4ELM/QY+zp7UP44dgxdDXw Ml4OiQzixrBX4EZnohceKkVf4rWtHC1USnmHiqg5JtgJfDy1119WmkyZBJUULt14Bb6Z eKiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FkmiXiYGc4i4SMHjo0MofwWuUD4brFlohgbgDF6vjoQ=; b=O9Wj2Vc928krrqtCwjRFiuaswcw0yWmfpz9KgwOCkwZDWhRbhGedsIfOstuZJS+CqU uol2uTX2WrvgaS/KKaQErMsHtUS9ulPTtxsuu8iYn/SHuLcT2euijzTjmzZQpuittz6S s5pVh4zpIkE4c2T3qatvRvLKTUNVXawMlckk1WbSQiBo2uN9+8nLSs5/jjvAr4q2cWaN x53zde/pyf7TN8zEwSaa0y55WckeVwjmfEpPQWDcvwOMeQAII/8ZrL8q6h38ion0dwio jd6tVNQ/PEkfDp63JvIaCwUKAgmRNeaw0TOj3MVP6w5yoS7xRHnHX9ecF+l+vkE1hIte 23Ug== X-Gm-Message-State: AFeK/H0UEwlBh9YzU0RxIP316yvmSxjFUJNLgEYJR9Mlnyu4sWaIRK9aJx3y0JnFdLjoiVGsucycQPkfnUN3qA== X-Received: by 10.28.232.14 with SMTP id f14mr10664105wmh.106.1491413986883; Wed, 05 Apr 2017 10:39:46 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.128.133 with HTTP; Wed, 5 Apr 2017 10:39:46 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Wed, 5 Apr 2017 10:39:46 -0700 X-Google-Sender-Auth: UykLXIU9cXwgiUrqmQyTs5JnTVc Message-ID: Subject: Re: increased power consumption lately? To: Johannes Lundberg Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2017 17:39:52 -0000 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 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 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 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 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 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 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" >> >> >