Ryzen CPU power management / scaling on linux (CentOS)?

unseengundam101

Senior member
Oct 26, 2005
253
2
81
I am thinking about building a linux Server on Ryzen, probably on CentOS.

I need to how well can linux handle power states and scaling Ryzen CPU frequency on demand. Can it drop Ryzen to low clock speed when idle, handle light and medium load, plus boost to max frequency on high loads.

Looks like AMD Ryzen has 'SenseMI' power management feature set including 'Pure Power', 'Precision Boost', 'Extended Frequency Range (XFR)', 'Smart Prefetch', and "Neural Net Prediction'. Any idea of any or all of these features will work on Linux or CentOS?
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,095
458
126
Phoronix attempted to include CentOS 7 in a shootout of linux distributions running on Ryzen last year, but CentOS failed be able to boot. Personally I love RHEL and CentOS, but for new hardware that isn't immediately designed for business use cases, they are slow to get full working support. CentOS 7 is on the 3.x kernel branch, while true ryzen support is really not fully available outside the 4.10 or newer kernels. Yes, Red Hat does backport a lot of the items, but there is only so much that they can do when they are that far behind.

That being said, we should be seeing RHEL 8.x (or whatever they are going to call it) very soon (past history of releases puts the new one out around the time they have released the <Version -1>.5, with RHEL 7.5 out a few months ago.
 

whm1974

Diamond Member
Jul 24, 2016
9,436
1,567
126
Phoronix attempted to include CentOS 7 in a shootout of linux distributions running on Ryzen last year, but CentOS failed be able to boot. Personally I love RHEL and CentOS, but for new hardware that isn't immediately designed for business use cases, they are slow to get full working support. CentOS 7 is on the 3.x kernel branch, while true ryzen support is really not fully available outside the 4.10 or newer kernels. Yes, Red Hat does backport a lot of the items, but there is only so much that they can do when they are that far behind.

That being said, we should be seeing RHEL 8.x (or whatever they are going to call it) very soon (past history of releases puts the new one out around the time they have released the <Version -1>.5, with RHEL 7.5 out a few months ago.
I surprised that any distro is still using the 3.x kernel branch, hasn't the 4.x one already been well tested enough?
 

mv2devnull

Golden Member
Apr 13, 2010
1,511
149
106
I surprised that any distro is still using the 3.x kernel branch, hasn't the 4.x one already been well tested enough?
RHEL 7 was released June 2014 and had been feature frozen way before that. Hence 3.10.
RHEL 6 was released Nov 2010 and will finally die in 2024. RHEL 6 is on kernel 2.6.32.
https://access.redhat.com/support/policy/updates/errata
https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux

The selling point of RHEL (and hence CentOS) is that what you install might run a decade without larger changes.

There must be some pressure on RHEL to get Ryzen supported via backports, or they cannot sell to all server farms (assuming the farms invest in AMD, rather than Intel).

The ELRepo repository does pack "long term" and "mainline" kernels for el-distros:
http://elrepo.org/tiki/tiki-index.php
 

unseengundam101

Senior member
Oct 26, 2005
253
2
81
Yeah, CentOs is pretty hold. I am thinking about using Fedora version Red Hat instead now since it more update to date.
 

ancient pedant

Junior Member
Jun 30, 2018
12
3
41
My 2700x manages its voltages and clockspeeds for all cores quite well on it's own. An idle desktop will see all 16 cores at about 2.6, with one or two cores going up to 4.3 for brief period of time to quickly handle little demands that arise. Heavy loads will see all cores at 3.9 for extended periods. Temperatures as shown by the modified it87driver have gotten up to 74C without throttling, which leads me to believe there might be a 10 degree offset in play.

Sleep states are another matter, and are often blamed for the "random lockup" bug that some ryzen users, including me, experience occasionally. It doesnt correlate with heavy processing demands, which is why some theorize that it has to do with one or more cores being put into a lower C state. I have JUST disable global C states in bios to see if the random, unpredictable bug still happens. Some users do not have this gremlin at all. My core speeds and voltages are still self-regulating quite nicely.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,544
10,171
126
Sleep states are another matter, and are often blamed for the "random lockup" bug that some ryzen users, including me, experience occasionally. It doesnt correlate with heavy processing demands, which is why some theorize that it has to do with one or more cores being put into a lower C state. I have JUST disable global C states in bios to see if the random, unpredictable bug still happens. Some users do not have this gremlin at all
That sounds MIGHTY similar to the "Bay Trail" sleep / C-state related bug or bugs. Maybe they are one and the same?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |