Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-23-2022, 03:02 PM
|
#1
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
CPU not scaling Ryzen 3800x on ASUS ROG STRIX X470-F Gaming
I have tried googling this and can't find anything.
I recently updated the BIOS on my ASUS ROG STRIX X470-F Gaming motherboard and now all the CPU cores are stuck at 4.22GHz. I know there's a setting somewhere to allow them to throttle down and up but I can't for the life of me either recall or google what it is. Does anyone know which setting I need so that the CPU scales? It used to go between about 1.2GHz and 4.4GHz.
|
|
|
01-23-2022, 05:32 PM
|
#2
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
In the BIOS there should be settings related to CPU power management or C-states - it will be called whatever Asus decided to label it but look for words like 'Turbo' or 'Boost' or 'Power Saving' and see if that does it. In linux, there's the 'CPU performance governor' which is usually set to 'on-demand' or something like that, but if the BIOS isn't exposing that feature it likely won't matter what the OS is trying to do. Here's a bit on the linux side: https://www.kernel.org/doc/html/v4.1...m/cpufreq.html
Also, before going down this whole rabbit hole - are you sure there isn't some process or task that's stuck in a race condition and keeping the clocks up? I've seen that happen more than a few times over the years, to the point that that's always my first go-to when I see a modern system not dynamically clocking - then I'll resort to digging around in the BIOS and /sys/devices/cpu...
|
|
|
01-23-2022, 05:36 PM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Original Poster
|
I have looked for C states but it's not obvious - I recall it took me a while to find the setting before but my mind is getting feeble and I can't recall the exact setting. I know that the CPU isn't being stressed as I have conky and system monitor running so can see all the core speeds and they're all stuck on 4.22GHz rather than scaling as they should.
|
|
|
01-23-2022, 05:42 PM
|
#4
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
Quote:
Originally Posted by 273
I have looked for C states but it's not obvious - I recall it took me a while to find the setting before but my mind is getting feeble and I can't recall the exact setting. I know that the CPU isn't being stressed as I have conky and system monitor running so can see all the core speeds and they're all stuck on 4.22GHz rather than scaling as they should.
|
Look for something like 'Turbo Boost' in the BIOS. From a quick look at the user's manual ( https://dlcdnets.asus.com/pub/ASUS/m...IOS_EM_WEB.pdf) it may be called 'CPB' or it may be 'hidden' within the TDP/EPU options shown on Page 6. It also probably requires 'Ai Overclock Tuner' to be set to 'Auto' and any manual overclock settings to not be entered (I've seen some systems that can retain dynamic clocking along with manual overclocking, but that usually is not the norm in my experience).
|
|
|
01-23-2022, 06:20 PM
|
#5
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Original Poster
|
Thank you, I will look. The settings seem to be deliberately confusing I wish they just labelled them as what they do.
|
|
|
01-23-2022, 06:27 PM
|
#6
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
You upgraded the bios.
In my experience, in order for the new version to work properly you may need to do a reset to default of all the bios settings, then if needed tweak the settings for your usage.
Sometimes a bios update will misread certain settings that were retained and they can be having an unintended effect. Resetting it to default will recover the settings and then you can customize it to fit your hardware & OS.
|
|
2 members found this post helpful.
|
01-28-2022, 05:03 PM
|
#7
|
Member
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 593
|
In my case with all the Gigabyte motherboards I have, every BIOS update has resulted in a 'reset' to defaults for all settings. I would assume ASUS would be the same. But maybe not.... And the default is Turbo boost enabled which I go and disable as I don't need the 'boost' cycling up and down. Ryzen 5000 series CPUs at base GHz provide plenty of power for what I do.
I'd assume the ASUS manual should have short explanation of each BIOS setting. Hope you find it. As suggested above maybe manually reset the BIOS to get back to defaults.
|
|
|
01-28-2022, 05:08 PM
|
#8
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
Quote:
Originally Posted by rclark
And the default is Turbo boost enabled which I go and disable as I don't need the 'boost' cycling up and down. Ryzen 5000 series CPUs at base GHz provide plenty of power for what I do.
|
Admittedly I'm not sure how this functions on Ryzen, but on FX (and Intel) disabling 'Boost' both disables the 'beyond base clock' mode, but also the idling states, which will cause the machine to use more power than it needs to, and potentially run warmer than it needs to. What you can do instead is set the maximum boost multiplier to be equal to the base clock, or (on Intel this is especially easy) simply set the TDP limit to a sane value (read: either use the actual manufacturer default (and not the 4096W or 255W that most boards set) or pick something relatively low like 65W or 95W) and that will set a lower boost to conserve energy/thermals while still enabling idle C-states as well.
Quote:
I'd assume the ASUS manual should have short explanation of each BIOS setting. Hope you find it.
|
I linked it in my post.
|
|
|
01-28-2022, 07:10 PM
|
#9
|
Member
Registered: Jul 2008
Location: Montana USA
Distribution: KUbuntu, Fedora (KDE), PI OS
Posts: 593
|
Quote:
Admittedly I'm not sure how this functions on Ryzen,...
|
I don't really know what is happening behind the scene either ... But I know with Turbo Boost disabled, my CPU 'idle' temp sits around 30C and I don't see the 'spiking' of temp which caused the fans to ramp up and down. This is with an air-cooled Ryzen 5900X processor too that I have in my R&D box. Obviously when when I run a couple VMs and do some heavy compiles, htop shows more processors getting involved and higher percentage of use on each with the corresponding rise in temp although I haven't seen it get over 65C. So appears to me that disabling the AMD Turbo boost, just doesn't allow cpu to boost past the 3.7GHz. Everything else is fair game.
|
|
|
01-28-2022, 10:38 PM
|
#10
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
Quote:
Originally Posted by rclark
I don't really know what is happening behind the scene either ... But I know with Turbo Boost disabled, my CPU 'idle' temp sits around 30C and I don't see the 'spiking' of temp which caused the fans to ramp up and down. This is with an air-cooled Ryzen 5900X processor too that I have in my R&D box. Obviously when when I run a couple VMs and do some heavy compiles, htop shows more processors getting involved and higher percentage of use on each with the corresponding rise in temp although I haven't seen it get over 65C. So appears to me that disabling the AMD Turbo boost, just doesn't allow cpu to boost past the 3.7GHz. Everything else is fair game.
|
If it's still able to do idle states (so clocking lower than 3.7GHz in your example) that's all I'd be concerned about - most of the time my systems don't require their CPUs to be running at 'base' clock, let alone whatever absurd 'peak' clocks they've been advertised at - and I completely agree with backing off of that for power/thermal savings unless you're trying to wring every last nth of performance out of the system.
|
|
|
02-04-2022, 07:55 AM
|
#11
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Original Poster
|
Thank you all. I had a few other settings to make sure I got right before trying so it took me a while but putting it back to "optimies defaults" (whatever that means) then reclocking the memory to 3200GHz did the trick allowing it to scale at least. Now to see whether I can up the boost frequency but that's less of a priority.
I'm using the system to game, amongst other things, so the higher I can get the CPU to go the better, really, not sure whether using Proton (through Steam) slows things or modern games really are just system hogs but I know despite my moderately good system games could be faster.
|
|
|
02-04-2022, 02:07 PM
|
#12
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
Usually the performance hit of Proton/wine is not extreme. I think phoronix has done some comparisons. Most games are single-thread performance bound, or GPU limited.
|
|
|
02-04-2022, 02:11 PM
|
#13
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Original Poster
|
Quote:
Originally Posted by obobskivich
Usually the performance hit of Proton/wine is not extreme. I think phoronix has done some comparisons. Most games are single-thread performance bound, or GPU limited.
|
Yeah, the single-thread performance is why I wanted to turn it off 4.2Ghz all cores and get some boost but it doesn't seem to want to hit 4.5GHz even on a couple of cores. I think I just have a trash CPU - basically conned by AMD into spending ~$120 extra for nothing.
|
|
|
02-04-2022, 02:25 PM
|
#14
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
Modern chips are generally binned with little headroom left - big overclocks are a historical curiosity at this point for the most part. Also consider 4.2ghz to 4.5ghz itself would not be a very substantial increase anyways (it’s only around 5% at best).
|
|
|
02-04-2022, 02:31 PM
|
#15
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Original Poster
|
Quote:
Originally Posted by obobskivich
Modern chips are generally binned with little headroom left - big overclocks are a historical curiosity at this point for the most part. Also consider 4.2ghz to 4.5ghz itself would not be a very substantial increase anyways (it’s only around 5% at best).
|
True, but my reason for being annoyed is that I spent the equivalent of about $120 on the 3800x as opposed to the 3700x for increased performance I'm not seeing and, for that matter, about the same amount more on a motherboard with obtuse controls and, it seems, no gains either not to mention an aftermarket cooler (well, OK I took that from my old machine). My own fault, in part, I know but I used to run my old AMD chip at a substantial overclock due to having decent cooling and motherboard now I just have a waste of money sitting on my desk to remind me every day.
|
|
|
All times are GMT -5. The time now is 11:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|