From owner-freebsd-bugs@freebsd.org Sun May 9 18:06:35 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 521C663E2C8 for ; Sun, 9 May 2021 18:06:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FdXF71hCKz3lJb for ; Sun, 9 May 2021 18:06:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 39DF363DEFD; Sun, 9 May 2021 18:06:35 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39A4363E434 for ; Sun, 9 May 2021 18:06:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FdXF712B4z3lB8 for ; Sun, 9 May 2021 18:06:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16EAE161CE for ; Sun, 9 May 2021 18:06:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 149I6Zf6086213 for ; Sun, 9 May 2021 18:06:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 149I6ZAa086212 for bugs@FreeBSD.org; Sun, 9 May 2021 18:06:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253288] hwpstate_intel: Wedges under any kind of load on ThinkPad Carbon X1 Gen 8 Date: Sun, 09 May 2021 18:06:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fbsd_bugzilla@darthporker.freedom.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2021 18:06:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253288 --- Comment #38 from Marco --- (In reply to Guido Kollerie from comment #35) So powerdxx is superseded by the hwpstate_intel[4] driver on systems that support it. Following taken from https://reviews.freebsd.org/D30004 For more information, including on how to balance performance and energy us= e, and on how to disable this driver, refer to the man page man:hwpstate_intel= [4]. Note: Users accustomed to using man:powerd[8] or package:sysutils/powerdxx[] will find these utilities have been superseded by the man:hwpstate_intel[4] driver and no longer work as expected. So unless you set hint.hwpstate_intel.0.disabled=3D"1" in loader.conf one s= hould expect both powerd and powerdxx to no longer work as expected. On my X1-Carbon 7th gen (still running stable/13-n245210-3bec9180c9e7) I get this behaviour when using sysutils/devcpu-data (1.38) /boot/loader.conf : cpuctl_load=3D"YES" cpu_microcode_load=3D"YES" cpu_microcode_name=3D"/boot/firmware/intel-ucode.bin" hint.p4tcc.0.disabled=3D1 hint.acpi_throttle.0.disabled=3D1 /etc/rc.conf : microcode_update_enable=3D"YES" dmesg says: CPU microcode: no matching update found When manually starting microcode : service microcode_update start Updating CPU Microcode... CPU: Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (2112.12-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x806ec Family=3D0x6 Model=3D0x8e Steppi= ng=3D12 =20 Features=3D0xbfebfbff =20 Features2=3D0x7ffafbff AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x29c6fbf Structured Extended Features3=3D0xbc000600 XSAVE Features=3D0xf IA32_ARCH_CAPS=3D0xab VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics Done. With hint.hwpstate_intel.0.disabled=3D"1" in loader.conf I am=20 using powerdxx with powerdxx_flags=3D"-a min -b min -n min" in rc.conf I was using powerdxx_flags=3D"-a hiadaptive -b hiadaptive -n hiadaptive" be= fore that but was seeing fairly frequently kernel: coretemp0: critical temperature detected, suggest system shutdown So with the device hint for hwpstate disabled my system is using EST sysctl dev.cpufreq.0.freq_driver dev.cpufreq.0.freq_driver: est0 --=20 You are receiving this mail because: You are the assignee for the bug.=