From a7f0a80d370d591935db05a420010bdee7dac4b0 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 7 Apr 2026 01:47:48 +0200 Subject: Tweak Wine+Proton CPU topology for Intel i5-14400F Signed-off-by: Mel --- machines/wolfram/devices.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'machines') diff --git a/machines/wolfram/devices.nix b/machines/wolfram/devices.nix index 5a54681..3866465 100644 --- a/machines/wolfram/devices.nix +++ b/machines/wolfram/devices.nix @@ -120,4 +120,13 @@ pulse.enable = true; jack.enable = true; }; + + # other tweaks + environment.variables = { + # wine+proton reads this variable to decide which cpus to run a given + # application on. + # we choose our p-cores (and the hyperthreads) of the intel i5-14400f + # and let the e-cores handle all the other system tasks. + WINE_CPU_TOPOLOGY = "12:0,1,2,3,4,5,6,7,8,9,10,11"; + }; } -- cgit 1.4.1