For when you are using Feral Interactive’s GameMode. GameMode is a daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS and/or a game process.
GameMode was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave or ondemand governors, but is now host to a range of optimisation features and configurations.
Currently GameMode includes support for optimisations including:
Kernel scheduler (SCHED_ISO)
GPU performance mode (NVIDIA and AMD), GPU overclocking (NVIDIA)
GameMode packages are available now for Ubuntu, Debian, Solus, Arch, Gentoo, Fedora, OpenSUSE, Mageia and possibly more.