Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 18:58:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236513] Different power states (C1/C2/...) per CPU core
Message-ID:  <bug-236513-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
=20
Features2=3D0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,PO=
PCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=3D0x154037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW=
,IBS,SKINIT,WDT,Topology,PNXC,DBE,PL2I>
  Structured Extended Features=3D0x8<BMI1>
  XSAVE Features=3D0x1<XSAVEOPT>
  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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236513-227>