The search for the correct amount of split-lock misery [Linux]
Submitted 20 hours ago by Toes@ani.social to technology@beehaw.org
https://lwn.net/Articles/911219/
Submitted 20 hours ago by Toes@ani.social to technology@beehaw.org
https://lwn.net/Articles/911219/
tal@lemmy.today 17 hours ago
The problem is that this sort of thing works well with open-source software, where the stuff can always be fixed, but isn’t going to do much of anything with closed-source software like old Windows games.
It might be possible to introduce some sort of fancy code-mangling stuff to WINE that can in-memory modify binaries doing this. Like, I’m kind of guessing that God of War most likely isn’t trying to synchronize access with anything other than its own threads, so it doesn’t actually require atomicity as regards anything else on the system. Maybe it’s possible to patch the code in question to jump out to some WINE code that acquires a mutex and then does the memory modification/access.
jarfil@beehaw.org 17 hours ago
Sounds to me like it’s fixed. WINE could follow dmesg, and show a popup with recommendations when it detects one of its processes is getting throttled.
tal@lemmy.today 17 hours ago
It still has the performance impact for the rest of the system if one re-enables it.