Added doublehash-thread-mask to default configs

This commit is contained in:
BenDroid 2017-11-30 22:31:15 +01:00
parent e264c5f8b5
commit e984bb18a2
2 changed files with 57 additions and 55 deletions

View file

@ -1,37 +1,38 @@
{ {
"algo": "cryptonight", // cryptonight (default) or cryptonight-lite "algo": "cryptonight", // cryptonight (default) or cryptonight-lite
"av": 0, // algorithm variation, 0 auto select "av": 0, // algorithm variation, 0 auto select
"background": false, // true to run the miner in the background "doublehash-thread-mask" : null, // for av=2/4 only, limits doublehash to given threads (mask), (default: all threads)
"colors": true, // false to disable colored output "background": false, // true to run the miner in the background
"cpu-affinity": null, // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1 "colors": true, // false to disable colored output
"cpu-priority": null, // set process priority (0 idle, 2 normal to 5 highest) "cpu-affinity": null, // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1
"donate-level": 5, // donate level, mininum 1% "cpu-priority": null, // set process priority (0 idle, 2 normal to 5 highest)
"log-file": null, // log all output to a file, example: "c:/some/path/xmrig.log" "donate-level": 5, // donate level, mininum 1%
"max-cpu-usage": 75, // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option. "log-file": null, // log all output to a file, example: "c:/some/path/xmrig.log"
"print-time": 60, // print hashrate report every N seconds "max-cpu-usage": 75, // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.
"retries": 5, // number of times to retry before switch to backup server "print-time": 60, // print hashrate report every N seconds
"retry-pause": 5, // time to pause between retries "retries": 5, // number of times to retry before switch to backup server
"safe": false, // true to safe adjust threads and av settings for current CPU "retry-pause": 5, // time to pause between retries
"syslog": false, // use system log for output messages "safe": false, // true to safe adjust threads and av settings for current CPU
"threads": null, // number of miner threads "syslog": false, // use system log for output messages
"threads": null, // number of miner threads
"pools": [ "pools": [
{ {
"url": "", // URL of mining server "url": "", // URL of mining server
"user": "", // username for mining server "user": "", // username for mining server
"pass": "x", // password for mining server "pass": "x", // password for mining server
"keepalive": true, // send keepalived for prevent timeout (need pool support) "keepalive": true, // send keepalived for prevent timeout (need pool support)
"nicehash": false // enable nicehash/xmrig-proxy support "nicehash": false // enable nicehash/xmrig-proxy support
} }
], ],
"api": { "api": {
"port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API "port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
"access-token": null, // access token for API "access-token": null, // access token for API
"worker-id": null // custom worker-id for API "worker-id": null // custom worker-id for API
}, },
"cc-client": { "cc-client": {
"url": "localhost:3344", // url of the CC Server (ip:port) "url": "localhost:3344", // url of the CC Server (ip:port)
"access-token": "mySecret", // access token for CC Server (has to be the same in config_cc.json) "access-token": "mySecret", // access token for CC Server (has to be the same in config_cc.json)
"worker-id": null, // custom worker-id for CC Server (otherwise hostname is used) "worker-id": null, // custom worker-id for CC Server (otherwise hostname is used)
"update-interval-s": 10 // status update interval in seconds (default: 10 min: 1) "update-interval-s": 10 // status update interval in seconds (default: 10 min: 1)
} }
} }

View file

@ -1,37 +1,38 @@
{ {
"algo": "cryptonight", // cryptonight (default) or cryptonight-lite "algo": "cryptonight", // cryptonight (default) or cryptonight-lite
"av": 0, // algorithm variation, 0 auto select "av": 0, // algorithm variation, 0 auto select
"background": false, // true to run the miner in the background "doublehash-thread-mask" : null, // for av=2/4 only, limits doublehash to given threads (mask), (default: all threads)
"colors": true, // false to disable colored output "background": false, // true to run the miner in the background
"cpu-affinity": null, // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1 "colors": true, // false to disable colored output
"cpu-priority": null, // set process priority (0 idle, 2 normal to 5 highest) "cpu-affinity": null, // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1
"donate-level": 5, // donate level, mininum 1% "cpu-priority": null, // set process priority (0 idle, 2 normal to 5 highest)
"log-file": null, // log all output to a file, example: "c:/some/path/xmrig.log" "donate-level": 5, // donate level, mininum 1%
"max-cpu-usage": 75, // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option. "log-file": null, // log all output to a file, example: "c:/some/path/xmrig.log"
"print-time": 60, // print hashrate report every N seconds "max-cpu-usage": 75, // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.
"retries": 5, // number of times to retry before switch to backup server "print-time": 60, // print hashrate report every N seconds
"retry-pause": 5, // time to pause between retries "retries": 5, // number of times to retry before switch to backup server
"safe": false, // true to safe adjust threads and av settings for current CPU "retry-pause": 5, // time to pause between retries
"syslog": false, // use system log for output messages "safe": false, // true to safe adjust threads and av settings for current CPU
"threads": null, // number of miner threads "syslog": false, // use system log for output messages
"threads": null, // number of miner threads
"pools": [ "pools": [
{ {
"url": "", // URL of mining server "url": "", // URL of mining server
"user": "", // username for mining server "user": "", // username for mining server
"pass": "x", // password for mining server "pass": "x", // password for mining server
"keepalive": true, // send keepalived for prevent timeout (need pool support) "keepalive": true, // send keepalived for prevent timeout (need pool support)
"nicehash": false // enable nicehash/xmrig-proxy support "nicehash": false // enable nicehash/xmrig-proxy support
} }
], ],
"api": { "api": {
"port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API "port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API
"access-token": null, // access token for API "access-token": null, // access token for API
"worker-id": null // custom worker-id for API "worker-id": null // custom worker-id for API
}, },
"cc-client": { "cc-client": {
"url": "localhost:3344", // url of the CC Server (ip:port) "url": "localhost:3344", // url of the CC Server (ip:port)
"access-token": "mySecret", // access token for CC Server (has to be the same in config_cc.json) "access-token": "mySecret", // access token for CC Server (has to be the same in config_cc.json)
"worker-id": null, // custom worker-id for CC Server (otherwise hostname is used) "worker-id": null, // custom worker-id for CC Server (otherwise hostname is used)
"update-interval-s": 10 // status update interval in seconds (default: 10 min: 1) "update-interval-s": 10 // status update interval in seconds (default: 10 min: 1)
} }
} }