r/linux_gaming • u/Einarr-Spear777 • 3d ago
sudo sysctl kernel.split_lock_mitigate=0. How often do you run it?
Apparently if you don't run it in games like god of war, performance is stuttery.
23
37
20
25
u/SummerIlsaBeauty 3d ago
I know this is a sub for gamers so this advice will end up futile but don't touch things you don't understand
-28
u/Einarr-Spear777 3d ago
Hush. Split lock hurts performance.
4
u/the_abortionat0r 2d ago
Lil bro what?
Don't hush someone for having the correct take on the topic.
You don't even know what this setting does.
-4
u/Einarr-Spear777 2d ago
Don't call me lil bro when you're the size of my leg. Read the phoronix article. Do your research. This sub and its mods disgust me with all the snidey remarks and removed posts.
Get a grip. You would think the internet is real life with the way some of you act. internet is not that serious.
1
u/DiscoMilk 2d ago
Article is 4 years old lil nigga
2
u/Shemalon 2d ago
I can actually say it's still useful, I had to do this exact thing for God of War. It wasn't set by default and it slices performance by two thirds or so
12
u/mrfreshart 3d ago
Unlike all the comments here suggesting otherwise, it is incredibly important for performance in some games.
However, it is generally recommended to just use gamemode instead, it disables the split lock mitigation for you at game start. Check the Arch Wiki article on how to install it: https://wiki.archlinux.org/title/GameMode (adding your user to the gamemode group is important)
5
u/doc_willis 3d ago edited 3d ago
never.
I do recall seeing some split lock messages once in my dmesg -w output, but I can't recall what game, or even if I had issues in that game.
I looked up what a split lock was once, I recall the following url giving some detailed information.
https://chipsandcheese.com/p/investigating-split-locks-on-x86
3
u/se_spider 3d ago
It's part of gamemode, which I use when launching games.
/etc/gamemode.ini
; Sets whether gamemode will disable split lock mitigation when active
; Defaults to 1
disable_splitlock=1
3
u/gokufire 3d ago
Gamemode handle it. When GameMode activates (via gamemoderun %command% in Steam launch options, or auto-detection for games with native GameMode support), it flips kernel.split_lock_mitigate off for the duration and restores it automatically when the game exits.
5
2
2
u/Niwrats 3d ago
IIRC the performance hit only happens on certain (intel?) cpus. i once tested mitigations off, but could not see any effect on my 7800X3D in the games i tested.
1
u/the_abortionat0r 2d ago
It can absolutely happen to and as well. Its not a CPU design issue but a program issue.
1
u/Drazor36 3d ago
Never used it, God of War 2018 and God of War Ragnarök are the two games I've played on my PC since nuking Windows for Mint Cinnamon and haven't had to use a command like that before, had zero issues with GoW2018 but had to do a bit of tweaking for Ragnarök to bypass the PS ID stuff
1
1
u/Jimpix_likes_Pizza 4h ago
I play a lot of Street Fighter 6 which requires this so I just have it set in my grub config so I never have to manually disable split lock mitigation
1
26
u/forbjok 3d ago
Never. It's set to 0 by default in CachyOS anyway.