Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2021 02:24:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234733] cpufreq: Setting CPU frequency with sysctl dev.cpu.0.fr slows a Ryzen 2700X down
Message-ID:  <bug-234733-227-jGRXMVZGPT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234733-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234733-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234733

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |cem@freebsd.org
            Summary|Setting CPU frequency with  |cpufreq: Setting CPU
                   |sysctl dev.cpu.0.fr slows a |frequency with sysctl
                   |Ryzen 2700X down            |dev.cpu.0.fr slows a Ryzen
                   |                            |2700X down
              Flags|                            |mfc-stable12?

--- Comment #26 from Kubilay Kocak <koobs@FreeBSD.org> ---
^Triage: Assign to committer that resolved

Context:=20

 IRC user reporting:

ASUS Pro WS 565-ACE motherboard (AMI BIOS) and AMD Ryzen 9 5950X 16-Core
Processor. I've installed 12.2/amd64 STABLE (GENERIC), it runs fine but I
cannot get Precision Boost 2 supported.

dev.cpu.0.freq_levels: 3400/3740 2800/2800 2200/1980

I expect 3401 in this list as sign of CPU Boost support, but it's not there

"acpidump -d" shows that "_PSS: Performance Supported States" is here in AC=
PI
tables.

There are also following errors in boot log but I doubt they have connectio=
n to
boost problems:

  acpi_wmi0: cannot find EC device
  device_attach: acpi_wmi0 attach returned 6

I've added "hint.apic.0.clock=3D0" to /boot/loader.conf and
"dev.cpu.0.cx_lowest=3DC2" to /etc/sysctl.conf and it enabled C2 state inde=
ed,
but still no Boost.

I've pointed them here and asked them to apply the patch to their stable/12=
 to
reproduce/validate the fix (if this issue is indeed related).

--=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-234733-227-jGRXMVZGPT>