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