Feral Interactive has released GameMode 1.7, an optimizer implemented as a background process that dynamically adjusts various Linux system settings to achieve maximum performance for gaming applications. The project's code is written in C and is distributed under the BSD license.
For games, it is recommended to use a special library called libgamemode, which allows for the request of specific optimizations that are not applied by default in the system during gameplay. There is also a version of the library for running the game in automatic optimization mode (loading libgamemodeauto.so via LD_PRELOAD when starting the game), without needing to make changes to the game code. The application of certain optimizations can be controlled through a configuration file.
For example, GameMode can disable power-saving modes, change resource allocation and scheduling parameters (CPU governor and SCHED_ISO), adjust I/O priorities, block the screensaver from launching, enable various high-performance modes in NVIDIA and AMD GPUs, overclock NVIDIA GPUs, and execute scripts with user-defined optimizations.
Version 1.7 introduces a new utility, gamemodelist, which allows users to view a list of processes related to games that have been launched using the GameMode shared library. Instead of being tied to the /usr/bin path for executables, paths are now determined through the PATH environment variable. A configuration file, gamemode.conf, has been implemented for sysusers.d to create a separate group for GameMode.
Source: opennet.ru
