I’d like to disable some services that might decrease my gaming performance while a game is running. Stuff like search indexing, automatic updates, filesystem tasks.
Has anyone done something in that direction?
My spontaneous idea was to use gamemode to switch to a systemd target that disables those services. Although I’m not sure if systemd targets actually can disable services or if they can only start them. Might also be a little overengineered.
If I don’t get a better idea I will just run a start and stop script with gamemode to handle all that. Although I’m not sure if that would be able to stop system services. Will cross that bridge when I get there.
Edit: While I can automatically stop services by starting a target they aren’t started again after stopping the target. I guess I will just use some simple start-gaming and stop-gaming scripts.
I don’t think we have any of those things Linux, that’s why we’re there. Except file indexing, but I only know of Baloo which is annoying if you’re on KDE. But i can be easily turned off
Automatic updates are absolutely a thing on some distros, but you can change the schedule to be outside your gaming time.
I know all those words, but they don’t make sense in that order
I have made a service for automatic updates and deduplication myself. And if someone uses their gaming rig for something like database programming they could use this to start and stop a heavy database as well.
Linux is as light or heavy as you want it to be.