From owner-freebsd-questions@freebsd.org Wed Jul 20 10:46:37 2016 Return-Path: Delivered-To: freebsd-questions@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 A9CAFB9FD0B for ; Wed, 20 Jul 2016 10:46:37 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 3C50F1AC8 for ; Wed, 20 Jul 2016 10:46:37 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id i5so62389634wmg.0 for ; Wed, 20 Jul 2016 03:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=LiYjm77+McVZGeMqgdXOMLoJIqu4ooIVaJSsqDm2Pl8=; b=nzZkbWzpb8MolffroMn7H3gJfLYuZT9UP5jEKb0YL+ISAJmHwr4coXkolzhSUu06Mv tSJla+8p8MXdIKD3OBK5AqlMVmhdmDP46FtEFPGG1Jbp49VtiEnkfsPjF8OcrQ9pT19M U9oOQq2QYFKyIKgxXlQHLdCSlTBlCkxuAhwnsLI1eZMR5POpsSak0x3eOCpMYKjPm1nU PUyG8UJVLg6OwLlUnzFmlRCip9d4xTkMs7uRvEKFaG/N8Pb0oPX8Ljkpq6lMHFMC9Tsl 8Sn3Lc9Bwljh6r7FzN8SLwdzEfSnKpACXm2RHV+A8TYOH7l5SDwakOILCDnQbHOQNvX7 QfDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=LiYjm77+McVZGeMqgdXOMLoJIqu4ooIVaJSsqDm2Pl8=; b=O5u5fbgpv7Q/sivfBp/9ws9mkuBSeZy1kaWtFkfJDQo556nz/mytR/X2u/FweRe+bk 2XSXblTVwHPV1WN8dUOZNeXtojseBbAzPQXJCk2AWOf4cI1p8+Z1rWDwLRYrQh+72oxh hdOmeTrTwW68WUSWZyGRM43w9/KalQonMkr1QU1Zv4yD7CCi218BCdIinGzuSywvFd1v Lp58+izRRWJ5k9SOzgUsS0Ve1m3bmKHIITmh7PMqxFK/yqdtARB8MFtwPjUHsROwIyXO bQkXKaiN7I/iFMz+2xrmGtyfAe850z1aFicjdk2SmmrhFgxjBmlWctDB6uyR/4h9XFsM H0nw== X-Gm-Message-State: ALyK8tKt+dtk1aOGMFtOMXyrJi1ZnhMh8NPObdV1AYcmQVzS2970mODZUT7nJjIYtMWhvg== X-Received: by 10.28.166.2 with SMTP id p2mr11035926wme.58.1469011594437; Wed, 20 Jul 2016 03:46:34 -0700 (PDT) Received: from [192.168.1.125] (LAubervilliers-656-1-269-112.w193-248.abo.wanadoo.fr. [193.248.44.112]) by smtp.googlemail.com with ESMTPSA id d8sm4508833wmi.0.2016.07.20.03.46.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 03:46:33 -0700 (PDT) Subject: Re: High CPU temperature and high fans level To: Ian Smith References: <20160718224548.T324@sola.nimnet.asn.au> Cc: Polytropon , freebsd-questions@freebsd.org From: David Demelier Message-ID: <578F5688.8010207@gmail.com> Date: Wed, 20 Jul 2016 12:46:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160718224548.T324@sola.nimnet.asn.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 10:46:37 -0000 Le 18/07/2016 15:41, Ian Smith a écrit : > In freebsd-questions Digest, Vol 632, Issue 8, Message: 21 > On Sun, 17 Jul 2016 11:59:32 +0200 David Demelier wrote: > > 2016-07-17 0:25 GMT+02:00 Polytropon : > > > On Sun, 17 Jul 2016 00:06:07 +0200, David Demelier wrote: > > >> Hello, > > >> > > >> I was trying FreeBSD 10.3 on my laptop (hp probook 4510s) and was surprised > > >> to see high CPU temperature and fans running high. > > >> > > >> No apps running, I get a temperature of 57C in dev.cpu.x.temperature and > > >> fans run high (not able to get rpms). > > >> > > >> On a 4.6.3 Linux distro I get an average of 48C and fans are quite low. > > >> > > >> Both tests were kept in tty. No Xorg running just a boot and user login in > > >> console. > > >> > > >> Do you have any clue? > > > > > > Did you enable powerd? It can slow down the CPU when the system > > > is idle, and increase the CPU speed when needed. This should have > > > an effect on CPU temperature and fan speed. > > > Yes, I had powerd enabled, I tried -a adaptive, -a hiadaptive as > > suggested by Erich but it seems that only -a min has some little > > effect. I could get a temperature of 52C. I've tested back on Linux > > and I got an average much lower (41C). > > We really need to see what speed the CPU is running at when idle. > > I think the fans running high - presumably from the sound and airflow? - > rules out the sort of sensor errors Arthur reported (ie below ambient :) > and I assume the box actually feels warmer .. 57C suggests a busy CPU or > two .. but then it is summer there; what background ambient temp. range? We have air-conditioning at work so ambient temperature is normal, somewhat between 24-28. > > > By the way the other sensors in hw.acpi.tz* are also much higher than > > Linux (using lm_sensors). The highest value is my tz5 which is at 78C > > almost 5 seconds after boot while the maximum tz value in Linux > > sensors is 55. > > > > I have no idea what's wrong. :( > > Normally I'd suggest posting this to freebsd-mobile@ as it's not been > such an uncommon issue, especially with some makes/models, but you could > try showing these to see if anyone spots something strange: > > % sysctl hw.acpi > % sysctl debug.acpi > % sysctl dev.est # assuming intel? if not, maybe dev.hwpstate? > % sysctl dev.cpu # best while idle, maybe plus when busier > Thanks for your answer, here I posted the output of the sysctl variables you asked for: http://markand.fr/files/result.txt I've ran them on a FreeBSD memstick, I needed to install a Linux distro until I can find a solution because this drains my battery a lot. The average temperature was 50C, a bit less than the installed version on hard drive where I have seen higher values. This is interesting. I will double check if something else makes the CPU more busy. Regards, -- David Demelier