summary refs log tree commit diff
path: root/machines/wolfram
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-04-07 01:33:59 +0200
committerMel <mel@rnrd.eu>2026-04-07 01:33:59 +0200
commite57e49cce6243d29437d55496c7d42037aa5d4be (patch)
tree887a23d865001095218c6d0f98e8daddaeee7c43 /machines/wolfram
parenta6479e4d5f77a8e69feb92eec89c1ac692586c31 (diff)
downloadminerals-e57e49cce6243d29437d55496c7d42037aa5d4be.tar.zst
minerals-e57e49cce6243d29437d55496c7d42037aa5d4be.zip
Disable kernel split lock detection on Wolfram
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/wolfram')
-rw-r--r--machines/wolfram/devices.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/machines/wolfram/devices.nix b/machines/wolfram/devices.nix
index 18ed3af..3c5dd01 100644
--- a/machines/wolfram/devices.nix
+++ b/machines/wolfram/devices.nix
@@ -5,6 +5,14 @@
   boot = {
     kernelPackages = pkgs.linuxPackages_latest;
 
+    kernelParams = [
+      # checking for cache splitting destroys performance on some
+      # windows games running via wine/proton, disable it and
+      # tank their performance impact, which is lower than checking
+      # and handling the splits.
+      "split_lock_detect=off"
+    ];
+
     # do not use default kernel module (r8169) for the realtek rtl8125 ethernet
     # controller, as it has issues with packet loss and can't keep up with the high
     # 2.5g link speed.