xmrig: 12 threads
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
}:
|
||||
let
|
||||
walletAddress = lib.strings.trim (builtins.readFile ../secrets/xmrig-wallet);
|
||||
threadCount = 2;
|
||||
threadCount = 12;
|
||||
in
|
||||
{
|
||||
services.xmrig = {
|
||||
@@ -20,11 +20,14 @@ in
|
||||
cpu = {
|
||||
enabled = true;
|
||||
huge-pages = true;
|
||||
"1gb-pages" = true;
|
||||
hw-aes = true;
|
||||
rx = lib.range 0 (threadCount - 1);
|
||||
};
|
||||
|
||||
randomx = {
|
||||
"1gb-pages" = true;
|
||||
};
|
||||
|
||||
opencl = false;
|
||||
cuda = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user