mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 23:57:22 +02:00

This commit adds configuration support for the renice value and amends documentation and examples. This commit by itself does nothing, the following commit is needed to actually apply the new settings. Signed-off-by: Kai Krakow <kai@kaishome.de>
34 lines
1.0 KiB
INI
34 lines
1.0 KiB
INI
[general]
|
|
; The reaper thread will check every 10 seconds for exited clients
|
|
reaper_freq=10
|
|
|
|
; The desired governor is used when entering GameMode instead of "performance"
|
|
desiredgov=performance
|
|
; The default governer is used when leaving GameMode instead of restoring the original value
|
|
defaultgov=powersave
|
|
|
|
; By default, GameMode changes the scheduler policy to SCHED_ISO with 4 or more CPU cores,
|
|
; force enable or disable with "on" or "off"
|
|
softrealtime=auto
|
|
|
|
; By default, GameMode renices the client to -4, you can put any value between 1 and 20 here,
|
|
; the value will be negated and applied as a nice value
|
|
renice = 4
|
|
|
|
[filter]
|
|
; If "whitelist" entry has a value(s)
|
|
; gamemode will reject anything not in the whitelist
|
|
;whitelist=RiseOfTheTombRaider
|
|
|
|
; Gamemode will always reject anything in the blacklist
|
|
blacklist=HalfLife3
|
|
glxgears
|
|
|
|
[custom]
|
|
; Custom scripts (executed using the shell) when gamemode starts and ends
|
|
start=notify-send "GameMode started"
|
|
/home/me/bin/stop_ethmining.sh
|
|
|
|
end=notify-send "GameMode ended"
|
|
/home/me/bin/start_ethmining.sh
|