mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 20:09:57 -04:00
Run the game on the die with the larger L3 cache on processors whose dies differ (AMD's two-die X3D processors).
Windows places a game on the V-Cache die only when it recognizes the exe as a game, and it does not know this one, so the threads were spread over both dies by frequency preference. cache_die = 1 (the default) narrows the process to the logical processors that share the largest L3; it never widens the set the process was given, and does nothing where every L3 has the same size. The recorder's reserved core is then chosen inside that set. Co-Authored-By: Claude Fable 5.2 <[EMAIL]>
This commit is contained in:
@@ -547,6 +547,7 @@ int main(int argc, char **argv) {
|
||||
// Timed guest waits (kernel.c block_inner) sleep in whole milliseconds; at the default 15.6 ms tick a 1 ms wait
|
||||
// costs a full tick. NX2NAVI_TIMER_1MS=0 keeps the default for comparison.
|
||||
if (cfg_bool("NX2NAVI_TIMER_1MS")) plat_timer_1ms();
|
||||
perf_cpu_start(); // before any thread pool counts the usable processors
|
||||
{ // NX2NAVI_POWER_FULL=0 leaves Windows' power throttling of an unfocused window in place (A/B runs)
|
||||
const char *pf = cfg_get("NX2NAVI_POWER_FULL");
|
||||
if (!(pf && !strcmp(pf, "0"))) {
|
||||
|
||||
Reference in New Issue
Block a user