From owner-freebsd-bugs@freebsd.org Wed Mar 13 18:58:51 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1C07153DE0C for ; Wed, 13 Mar 2019 18:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B97E69F8C for ; Wed, 13 Mar 2019 18:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4758D153DE0B; Wed, 13 Mar 2019 18:58:50 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2500E153DE0A for ; Wed, 13 Mar 2019 18:58:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B315A69F85 for ; Wed, 13 Mar 2019 18:58:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BA9A71EDF9 for ; Wed, 13 Mar 2019 18:58:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2DIwmqv033459 for ; Wed, 13 Mar 2019 18:58:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2DIwmtN033458 for bugs@FreeBSD.org; Wed, 13 Mar 2019 18:58:48 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 236513] Different power states (C1/C2/...) per CPU core Date: Wed, 13 Mar 2019 18:58:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: stockhausen@collogia.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2019 18:58:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236513 Bug ID: 236513 Summary: Different power states (C1/C2/...) per CPU core Product: Base System Version: 11.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: stockhausen@collogia.de Created attachment 202845 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202845&action= =3Dedit dmesg Hi, we are running FreeBSD 11.2-RELEASE-p6 on a HP T620 Thin client. Trying to enable power saving through C states we noticed that the system presents different states for the cores: sysctl -a | grep cx_supported dev.cpu.3.cx_supported: C1/1/0 dev.cpu.2.cx_supported: C1/1/0 dev.cpu.1.cx_supported: C1/1/0 dev.cpu.0.cx_supported: C1/1/0 C2/2/400 Enabling C2 state on CPU shows that it seems to work quite well: sysctl -a | grep cx_usage: dev.cpu.3.cx_usage: 100.00% last 34923us dev.cpu.2.cx_usage: 100.00% last 10us dev.cpu.1.cx_usage: 100.00% last 3853us dev.cpu.0.cx_usage: 5.54% 94.45% last 33us CPU details: CPU: AMD GX-420CA SOC with Radeon(tm) HD Graphics (1996.29-MHz K8-class = CPU) Origin=3D"AuthenticAMD" Id=3D0x700f01 Family=3D0x16 Model=3D0x0 Stepp= ing=3D1 =20 Features=3D0x178bfbff =20 Features2=3D0x3ed8220b AMD Features=3D0x2e500800 AMD Features2=3D0x154037ff Structured Extended Features=3D0x8 XSAVE Features=3D0x1 SVM: (disabled in BIOS) NP,NRIP,AFlush,DAssist,NAsids=3D8 TSC: P-state invariant, performance statistics Is this the expected behaviour? dmesg log attached. --=20 You are receiving this mail because: You are the assignee for the bug.=