Originally posted by ATLief
View Post
Announcement
Collapse
No announcement yet.
A 20 Year Old Chipset Workaround Has Been Hurting Modern AMD Linux Systems
Collapse
X
-
-
Originally posted by RealNC View PostI hope this gets backported to LTS. It would be interesting to test whether or not this is the source of the performance issues I have with some emulators ever since I upgraded from my old Intel system to a 3700X one. The emulators will run full-on for like 2ms or so to emulate one frame, then idle the rest of the time until the next emulated vblank. If I don't use GameMode to switch from the schedutil to the performance governor, I get sound dropouts and animation hiccups.
After this patch i have a lot of slowdowns on Yuzu that I didn't have before.
amd-pstate + schedutil + 5950xPhoronix: Linux 6.0 Merges The AMD Performance Fix For The Old "Dummy Wait" Workaround This morning I called attention to some pending work around a 20 year old chipset workaround in the Linux kernel had been hurting modern AMD systems by erroneously still applying the change to modern hardware. Fortunately, that
Comment
-
This is how I have been fixing that performance issue within CoreFreq- Boot kernel blacklisting any cpu idle driver
- Start my kernel module "corefreqk.ko" with parameters to register my own assembly idle loop. See Q&A
- Default Idle Route is for Zen, an I/O-Wait; AMD families 16h & prior, with HLT; MONITOR/MWAIT for Intel
- Can change Route at any time from the CLI "corefreq-cli" while monitoring freq, C-state entries, voltage, power impacts
GitHub - cyring/CoreFreq: CoreFreq is a CPU monitoring software designed for the 64-bits Processors.CoreFreq is a CPU monitoring software designed for the 64-bits Processors. - GitHub - cyring/CoreFreq: CoreFreq is a CPU monitoring software designed for the 64-bits Processors.Last edited by cyring; 27 September 2022, 09:56 AM.
Comment
-
Originally posted by coder View PostNo, IBS refers to Instruction-Based Sampling, which is a hardware-assisted profiling mechanism.
https://www.phoronix.com/news/Linux-...IBS-Perf-Tools
it does seem, according to the article, linux suffered an irritable bowel with amd..
someone dug into the “bowels” and found out why and performed some minor surgery to fix it.
shrug. Was a joke fer chrissakes.
Comment
-
Some of you may recall the early Ryzen CPUs had an issue where they would just randomly freeze up after hours or days under Linux. It only seemed to happen when the system was very idle. I said half-jokingly that this wasn't seen on Windows because it never gets that idle. I then heard through the grapevine that people inside AMD thought that may indeed be the case.
I'm no expert, but I now reckon this kernel bug was causing it to happen more often than it otherwise would have. Maybe it's just as well. If it hadn't happened so frequently, AMD may have taken much longer to fix it.
- Likes 1
Comment
-
Comment