From 58c81be1f129077db4a1004a99bb219b2f61e42a Mon Sep 17 00:00:00 2001 From: XMRig Date: Tue, 8 Oct 2019 09:41:36 +0700 Subject: [PATCH] Updated default config and docs. --- doc/CPU.md | 3 +++ src/config.json | 1 + src/core/config/Config_default.h | 1 + 3 files changed, 5 insertions(+) diff --git a/doc/CPU.md b/doc/CPU.md index 66745a66..c830590f 100644 --- a/doc/CPU.md +++ b/doc/CPU.md @@ -97,3 +97,6 @@ Allow override automatically detected Argon2 implementation, this option added m #### `max-threads-hint` (since v4.2.0) Maximum CPU threads count (in percentage) hint for autoconfig. [CPU_MAX_USAGE.md](CPU_MAX_USAGE.md) + +#### `memory-pool` (since v4.3.0) +Use continuous, persistent memory block for mining threads, useful for preserve huge pages allocation while algorithm swithing. Default value `false` (feature disabled) or `true` or specific count of 2 MB huge pages. diff --git a/src/config.json b/src/config.json index ec8ac419..65a2a2dc 100644 --- a/src/config.json +++ b/src/config.json @@ -23,6 +23,7 @@ "huge-pages": true, "hw-aes": null, "priority": null, + "memory-pool": false, "max-threads-hint": 100, "asm": true, "argon2-impl": null, diff --git a/src/core/config/Config_default.h b/src/core/config/Config_default.h index 00c4cf12..e0e3f272 100644 --- a/src/core/config/Config_default.h +++ b/src/core/config/Config_default.h @@ -57,6 +57,7 @@ R"===( "huge-pages": true, "hw-aes": null, "priority": null, + "memory-pool": false, "max-threads-hint": 100, "asm": true, "argon2-impl": null,