From 98f7bcb36dee4f8a6f02e0dbb88afdea0330ab7a Mon Sep 17 00:00:00 2001 From: oluceps Date: Tue, 8 Oct 2024 08:01:40 +0800 Subject: [PATCH] - ~ --- repack/xmrig.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repack/xmrig.nix b/repack/xmrig.nix index b00d2858..bfe5756e 100644 --- a/repack/xmrig.nix +++ b/repack/xmrig.nix @@ -6,8 +6,8 @@ }: reIf { systemd.services.xmrig.serviceConfig = { - CPUSchedulingPolicy = "fifo"; - CPUSchedulingPriority = 10; + CPUSchedulingPolicy = "idle"; + Nice = 14; }; services.xmrig = { enable = true; @@ -17,7 +17,7 @@ reIf { cuda = false; cpu = { enable = true; - max-threads-hint = 75; + max-threads-hint = 95; }; pools = [ {