Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Amd Ryzen7 5825U (zen3) : tunning frequency?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
jlm
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Sun May 27, 2018 7:31 pm

Amd Ryzen7 5825U (zen3) : tunning frequency?

  • Quote

Post by jlm » Tue Mar 31, 2026 7:57 pm

Hi
After some research I finished to find how to set AMD ryzen frequency using cpupower
but I'm a little disapointed

I disabled boost mode, because too noisy

Code: Select all

echo "0" > /sys/devices/system/cpu/cpufreq/boost
made a rc service file and applied it at boot.

I used the "power save" performance preference setting (

Code: Select all

/sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
) and the CPU frequency reported by cpupower was always stuck @2Ghz while current overall cpu usage was below 17% (in power save it should be able to go from 1,4Ghz to 2Ghz

so I tried lowest power mode

Code: Select all

# echo "power" | tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
now cpupower reports me 1,4Ghz, so this means that I'm able to change the frequency but cpu usage is still below 26%
cpupower reports
amd-pstate limits:
Highest Performance: 166. Maximum Frequency: 4.55 GHz.
Nominal Performance: 73. Nominal Frequency: 2.00 GHz.
Lowest Non-linear Performance: 40. Lowest Non-linear Frequency: 1.10 GHz.
Lowest Performance: 15. Lowest Frequency: 400 MHz.
Preferred Core Support: 1. Preferred Core Ranking: 191.
I would like to go below the 1,4GHz because the fan is still on and I don't see why keeping the CPU running fast while there is no activity

the driver is amd-pstate-epp
scaling_governor is powersave
hardware limitation is : 411 MHz - 2.00 GHz

cpu ad some tunning parameters like

Code: Select all

SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=75 ondemand/sampling_down_factor=10"
but seems they aren't working anymore with amd-pstate driver, so maybe I should change driver? because the pstate driver seems broken always running at fastest allowed frequency

thanks for your help
Top
krumpf
Apprentice
Apprentice
User avatar
Posts: 268
Joined: Sun Jul 15, 2018 11:21 pm

Re: Amd Ryzen7 5825U (zen3) : tunning frequency?

  • Quote

Post by krumpf » Thu Apr 02, 2026 7:49 am

A couple years ago, amd-pstate minimal frequency has been tweaked for SoC (and all others CPU), see this MR : https://gitlab.freedesktop.org/upower/p ... quests/198
I noticed the same behavior on my desktop ryzen, the lowest frequency used to be 550MHz, and got switched to 1743 MHz.
Dragon Princess Music Games Heroes and villains
Top
Post Reply

2 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy