From owner-freebsd-acpi@freebsd.org Thu Apr 21 15:25:30 2016 Return-Path: Delivered-To: freebsd-acpi@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 88ACFB15BE6 for ; Thu, 21 Apr 2016 15:25:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 554A21ACB for ; Thu, 21 Apr 2016 15:25:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x229.google.com with SMTP id 2so89576445ioy.1 for ; Thu, 21 Apr 2016 08:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=z6730bm0ozabxajFZ4D1IRZyRrfMyClR6BjamlSU4Dc=; b=ArGArgBnKLna6QGo/9jjboFYTv+8p++BbJ5lx+0Tmk8Nan0JiBgOrVCt8MhYZRl2N8 2S43f+ijqqK0mifeIx7t2YNHP2H91xVJjpzCGoxoIOA/h6NKMXjM1R+3OI5AyAmPGZLj iKkgG7JKMs42ibROOuqEinFCbBTorwuM3PClmZMM/QpnEBIhkGuLn+SvGc+b9DtoQUIp UkCH7JnyR5hA9KFmA+TOp9Z1oUVUslo0GIYzOmepXPTIYqknSD+ARt9eg9B674so42Jm +zKG2YTSiTcxNXemcXp5K4NuJvy5BCY6y6S2wXSzx5AC36G/aV5FqLqf2JcLSzR8IRoD Hxww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=z6730bm0ozabxajFZ4D1IRZyRrfMyClR6BjamlSU4Dc=; b=G6SmOXac5gV2rVsWoMT3HQV1ynHgXeOq0MOGpES4OgY7ARaRigS6BkjCmmHbJX8UHV lDnlwwu9sKxo4A58KGSgyMdKB7ReJg1lUk7LpzhCxLJf2FaVQ/XLIadO7xzxL/2npXQn H7z0bGFW8dRbb+3ZJHylsNhBer7pKPJWq4VNT0O/zTO2Dd8TPVWytMhKTL6fqVNI2QB6 V3Vv3qR6C6tAVRKSnlcF/8AByOkK+WkUQrxbVAOyF+4vZDve4KDlI0o6t1qS9SKWdmyV gJ0tT1hjPBbWdrf8QPH165sODwhTbZyI+Rt5TRqagYdFqQSeeU/ifUms2v8HhP+72wwK FWig== X-Gm-Message-State: AOPr4FVsJD/bFJIMTwt23jywy9jabvKwthOA+x/e7E9B9Lic4IRC/KuHeBU2X0SnEV9Q8OnYq68V6bcIApApIA== MIME-Version: 1.0 X-Received: by 10.107.48.131 with SMTP id w125mr16610759iow.123.1461252329574; Thu, 21 Apr 2016 08:25:29 -0700 (PDT) Received: by 10.36.14.19 with HTTP; Thu, 21 Apr 2016 08:25:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Apr 2016 08:25:29 -0700 Message-ID: Subject: Re: high acpi_task load From: Adrian Chadd To: Johannes Dieterich Cc: "freebsd-acpi@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 15:25:30 -0000 What's the value of sc->tz_zone.tsp ? -a On 21 April 2016 at 07:46, Johannes Dieterich wrote: > Dear all, > > I have for a long time observed a very high system load (seemingly > erratic) on my Elitebook 745 G3. I am finally able to reproduce the > behavior and would love input on how to solve it. > > If the laptop is attached to the docking station, acpi_task processes > are eating up an entire core worth of CPU time, thereby disallowing > the system to ever get to idle states with temperature and load issues > associated. > > This is in so far reprodroducable as that locking it in at runtime > causes these processes to appear on top -SH, disconnecting at runtime > causes them to disappear. > > Inspecting a core dump generated during high load seems to point to > ACPI's thermalzone: > > #5 0xffffffff803b0a97 in acpi_tz_cooling_thread (arg=) > at /usr/src/sys/dev/acpica/acpi_thermal.c:1162 > #6 0xffffffff809ec8e4 in fork_exit ( > callout=0xffffffff803b0620 , > arg=0xfffff800055f9a00, frame=0xfffffe043f590a40) > > This is a timer: tsleep(&sc->tz_cooling_proc, PZERO, "cooling", hz * > sc->tz_zone.tsp / 10); > > > As I reported earlier, the thermal zones are very broken on this > notebook. However, it surprises me that this would a) have such an > impact and b) only when connected to a docking station. > > Any input/ideas are appreciated! Happy to test things. > > Johannes > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"