On Wed, Apr 12, 2023 at 18:01:13 +0200, Elvis Stansvik wrote:
Den ons 12 apr. 2023 kl 09:51 skrev ihad <ihad@d-tor.org>:
Hi,
On 4/11/2023 5:49 PM, Luna Celeste wrote:
An AMD CPU that hangs when it's mostly idle rings a bell: Try disabling c6 and see if the problem goes away. Some older AMD CPUs had problems waking up from deep sleep. The script [1] can do it for you:
This is a 16 core AMD Ryzen 9 3950X; does that count as older? The machine is only a few years old. I understand that's quite a while in tech, but I want to be sure.
I had that problem on this CPU: ~~ processor : 8 vendor_id : AuthenticAMD cpu family : 23 model : 1 model name : AMD Ryzen 5 1600X Six-Core Processor stepping : 1 ~~ According to Google my model was launched in April, 2017. I'd give it a shot, but YMMV...
At work we've been having a problem with a 12 core 3900X that would randomly lock up in a pattern similar to yours.
13 days ago I added rcu_nocbs=0-23 processor.max_cstate=1 kernel parameters and it's been running fine since then. Don't want to say the issue is finally solved until it's been running for a little longer, but it's something you could try, in case your 3950X suffers the same bug.
More info at https://wiki.archlinux.org/title/Ryzen#Soft_lock_freezing and also some more explanation at https://utcc.utoronto.ca/~cks/space/blog/linux/KernelRcuNocbsMeaning
Curious! The machine I'm running isn't going into sleep of any kind (at least not that I know of, I have all the power management disabled, and it's not a laptop, but I'll give this a try regardless. -- Cheers, Luna Celeste