From c070604a2298a30babbde74dd60a849d063af44e Mon Sep 17 00:00:00 2001 From: Henrik Holst Date: Wed, 3 May 2023 07:41:07 +0200 Subject: [PATCH] added cpu core parking/pinning settings to gamemode.ini added some info about the new cpu core parking and pinning settings in gamemode.ini --- example/gamemode.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/example/gamemode.ini b/example/gamemode.ini index d875e26..72fb6f1 100644 --- a/example/gamemode.ini +++ b/example/gamemode.ini @@ -75,6 +75,15 @@ inhibit_screensaver=1 ; This corresponds to power_dpm_force_performance_level, "manual" is not supported for now ;amd_performance_level=high +[cpu] +; Parking or Pinning can be enabled with either "yes", "true" or "1" and disabled with "no", "false" or "0". +; Either can also be set to a specific list of cores to park or pin, comma separated list where "-" denotes +; a range. E.g "park_cores=1,8-15" would park cores 1 and 8 to 15. +; The default is uncommented is to disable parking but enable pinning. If either is enabled the code will +; currently only properly autodetect Ryzen 7900x3d and 7950x3d +;park_cores=no +;pin_cores=yes + [supervisor] ; This section controls the new gamemode functions gamemode_request_start_for and gamemode_request_end_for ; The whilelist and blacklist control which supervisor programs are allowed to make the above requests