On Fri, Sep 11, 2020, at 17:44, Jeremy O'Brien wrote: > On Fri, Sep 11, 2020, at 13:31, Marcus MERIGHI wrote: > > a...@aminmesbah.com (Amin Mesbah), 2020.09.10 (Thu) 04:09 (CEST): > > > On Mon Sep 7, 2020 at 5:59 AM PDT, Amin Mesbah wrote: > > > > >Synopsis: Thinkpad X220 High Temperature / Fan Spinning Constantly > > > > >Category: system > > > > >Environment: > > > > System : OpenBSD 6.7 > > > > Details : OpenBSD 6.7 (GENERIC.MP) #6: Thu Sep 3 14:08:18 MDT 2020 > > > > r...@syspatch-67-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > > > > > Architecture: OpenBSD.amd64 > > > > Machine : amd64 > > > > >Description: > > > > On a fresh install of 6.7, while under very low load, running X, i3wm, > > > > and vim, the fan spins constantly and audibly. The CPU temperature is > > > > reported as 58C. The fan is reported as spinning at around 3500rpm. > > > > This is with apmd running with the -A flag. > > > > >How-To-Repeat: > > > > Install OpenBSD 6.7 on a Lenovo Thinkpad X220. > > > > Set apmd to run at startup with the -A flag. > > > > Run X. > > > > Listen to the fan. > > > > >Fix: > > > > None > > > > > > Some potentially useful extra information: > > > > > > Today I took some time to test OpenBSD 6.6 and 6.5 on the same hardware. > > > For each one I installed, syspatched, set up `apmd -A`, and logged into > > > the default fvwm X environment. > > > > > > With 6.6 I observed the same problem with roughly equal temperature, fan > > > RPMs, and fan noise level. > > > > > > With 6.5, however, the fan was inaudible. Temperature hovered around 46C > > > and RPMs around 1900. These numbers are similar to what I see when > > > running Linux on the same hardware under similarly minimal load. > > > > I seem to remember there was a thread on this. You found the right time > > frame - but I cannot find the thread from that time. > > I also seem to remember it was about meltdown/spectre mitigations. > > (My x220 behaves the same.) > > > > Marcus > > > > > > As a data point, I have -current (as of today) running on my x220 and > have not observed this issue.
On Mon Sep 14, 2020 at 4:40 AM PDT, Josh wrote: > Exactly same behaviors with my X1. > 6.5 = totally fine > 6.6 and 6.7 = FAN spinning 4-5k rpms + high temperature > -current = Excellent behavior and much faster overall usage (like > firefox etc.) due to a kernel LOCK improvement fix. Really amazing > increase of smoothness and performance. FAN and temperature is back to > the 6.5 behavior (if not even better...) > > Give a try to -current and get back to us? (i have not included @bugs > to avoid starting a new thread. Feel free to copy/paste my reply to > share it on @bugs) > > Cheers I just got the chance to upgrade to the latest -current snapshot. Specifically: OpenBSD 6.8-beta (GENERIC.MP) #66: Sun Sep 13 03:02:21 MDT 2020 The observed behavior has not changed noticeably (fan is still loud): $ sysctl hw.sensors.{cpu0.temp0,acpithinkpad0.fan0} hw.sensors.cpu0.temp0=53.00 degC hw.sensors.acpithinkpad0.fan0=3484 RPM This is after rebooting, switching to TTY2, signing in as root, and doing nothing for a while. In top(1), CPU consistently reads 100% idle, including system processes. Let me know if any further data would be helpful. Amin