Advertisement
Guest User

Untitled

a guest
Sep 10th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.97 KB | None | 0 0
  1. 1:
  2. -----
  3. [root@1 ~]# lscpu
  4. Architecture: x86_64
  5. CPU op-mode(s): 32-bit, 64-bit
  6. Byte Order: Little Endian
  7. CPU(s): 56
  8. On-line CPU(s) list: 0-55
  9. Thread(s) per core: 2
  10. Core(s) per socket: 14
  11. Socket(s): 2
  12. NUMA node(s): 2
  13. Vendor ID: GenuineIntel
  14. CPU family: 6
  15. Model: 63
  16. Model name: Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz
  17. Stepping: 2
  18. CPU MHz: 3099.992
  19. BogoMIPS: 5192.67
  20. Virtualization: VT-x
  21. L1d cache: 32K
  22. L1i cache: 32K
  23. L2 cache: 256K
  24. L3 cache: 35840K
  25. NUMA node0 CPU(s): 0-13,28-41
  26. NUMA node1 CPU(s): 14-27,42-55
  27.  
  28. /*
  29. * Thread configuration for each thread. Make sure it matches the number above.
  30. * low_power_mode - This mode will double the cache usage, and double the single thread performance. It will
  31. * consume much less power (as less cores are working), but will max out at around 80-85% of
  32. * the maximum performance.
  33. *
  34. * no_prefetch - Some sytems can gain up to extra 5% here, but sometimes it will have no difference or make
  35. * things slower.
  36. *
  37. * affine_to_cpu - This can be either false (no affinity), or the CPU core number. Note that on hyperthreading
  38. * systems it is better to assign threads to physical cores. On Windows this usually means selecting
  39. * even or odd numbered cpu numbers. For Linux it will be usually the lower CPU numbers, so for a 4
  40. * physical core CPU you should select cpu numbers 0-3.
  41. *
  42. * On the first run the miner will look at your system and suggest a basic configuration that will work,
  43. * you can try to tweak it from there to get the best performance.
  44. *
  45. * A filled out configuration should look like this:
  46. * "cpu_threads_conf" :
  47. * [
  48. * { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
  49. * { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
  50. * ],
  51. */
  52. "cpu_threads_conf" :
  53. [
  54. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
  55. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
  56. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
  57. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
  58. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
  59. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },
  60. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },
  61. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },
  62. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },
  63. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 9 },
  64. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 },
  65. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },
  66. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 },
  67. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 13 },
  68. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 28 },
  69. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 29 },
  70. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 30 },
  71. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 31 },
  72. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 },
  73. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 15 },
  74. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 16 },
  75. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 17 },
  76. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 18 },
  77. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 19 },
  78. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 20 },
  79. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 21 },
  80. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 22 },
  81. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 23 },
  82. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 24 },
  83. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 25 },
  84. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 26 },
  85. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 27 },
  86. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 42 },
  87. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 43 },
  88. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 44 },
  89. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 45 },
  90. ],
  91.  
  92. /*
  93. * LARGE PAGE SUPPORT
  94. * Lare pages need a properly set up OS. It can be difficult if you are not used to systems administation,
  95. * but the performace results are worth the trouble - you will get around 20% boost. Slow memory mode is
  96. * meant as a backup, you won't get stellar results there. If you are running into trouble, especially
  97. * on Windows, please read the common issues in the README.
  98. *
  99. * By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
  100. * You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN
  101. *
  102. * 1. On the Start menu, click Run. In the Open box, type gpedit.msc.
  103. * 2. On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
  104. * 3. Expand Security Settings, and then expand Local Policies.
  105. * 4. Select the User Rights Assignment folder.
  106. * 5. The policies will be displayed in the details pane.
  107. * 6. In the pane, double-click Lock pages in memory.
  108. * 7. In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
  109. * 8. In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
  110. * 9. Reboot for change to take effect.
  111. *
  112. * Windows also tends to fragment memory a lot. If you are running on a system with 4-8GB of RAM you might need
  113. * to switch off all the auto-start applications and reboot to have a large enough chunk of contiguous memory.
  114. *
  115. * On Linux you will need to configure large page support "sudo sysctl -w vm.nr_hugepages=128" and increase your
  116. * ulimit -l. To do do this you need to add following lines to /etc/security/limits.conf - "* soft memlock 262144"
  117. * and "* hard memlock 262144". You can also do it Windows-style and simply run-as-root, but this is NOT
  118. * recommended for security reasons.
  119. *
  120. * Memory locking means that the kernel can't swap out the page to disk - something that is unlikey to happen on a
  121. * command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between
  122. * locked and unlocked memory. If that is your setup see option "no_mlck".
  123. */
  124.  
  125. /*
  126. * use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:
  127. * always - Don't even try to use large pages. Always use slow memory.
  128. * warn - We will try to use large pages, but fall back to slow memory if that fails.
  129. * no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.
  130. * It will never use slow memory, but it won't attempt to mlock
  131. * never - If we fail to allocate large pages we will print an error and exit.
  132. */
  133. "use_slow_memory" : "warn",
  134.  
  135. /*
  136. * NiceHash mode
  137. * nicehash_nonce - Limit the noce to 3 bytes as required by nicehash. This cuts all the safety margins, and
  138. * if a block isn't found within 30 minutes then you might run into nonce collisions. Number
  139. * of threads in this mode is hard-limited to 32.
  140. */
  141. "nicehash_nonce" : false,
  142.  
  143. /*
  144. * Manual hardware AES override
  145. *
  146. * Some VMs don't report AES capability correctly. You can set this value to true to enforce hardware AES or
  147. * to false to force disable AES or null to let the miner decide if AES is used.
  148. *
  149. * WARNING: setting this to true on a CPU that doesn't support hardware AES will crash the miner.
  150. */
  151. "aes_override" : null,
  152.  
  153. /*
  154. * TLS Settings
  155. * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
  156. * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
  157. *
  158. * use_tls - This option will make us connect using Transport Layer Security.
  159. * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
  160. * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
  161. */
  162. "use_tls" : false,
  163. "tls_secure_algo" : true,
  164. "tls_fingerprint" : "",
  165.  
  166. /*
  167. * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
  168. * wallet_address - Your wallet, or pool login.
  169. * pool_password - Can be empty in most cases or "x".
  170. *
  171. * We feature pools up to 1MH/s. For a more complete list see M5M400's pool list at www.moneropools.com
  172. */
  173.  
  174.  
  175. /*
  176. * Network timeouts.
  177. * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
  178. * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
  179. * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
  180. * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
  181. * server usually takes to process our calls.
  182. *
  183. * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
  184. * retry_time - How long should we wait before another connection attempt.
  185. * Both values are in seconds.
  186. * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
  187. * don't mine while the connection is lost, so your computer's power usage goes down to idle.
  188. */
  189. "call_timeout" : 10,
  190. "retry_time" : 10,
  191. "giveup_limit" : 0,
  192.  
  193. /*
  194. * Output control.
  195. * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
  196. * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
  197. * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
  198. * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
  199. *
  200. * verbose_level - 0 - Don't print anything.
  201. * 1 - Print intro, connection event, disconnect event
  202. * 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
  203. * 3 - All of level 1, and new job (block) event in all cases, result submission event.
  204. * 4 - All of level 3, and automatic hashrate report printing
  205. */
  206. "verbose_level" : 3,
  207.  
  208. /*
  209. * Automatic hashrate report
  210. *
  211. * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
  212. * This option has no effect if verbose_level is not 4.
  213. */
  214. "h_print_time" : 60,
  215.  
  216. /*
  217. * Daemon mode
  218. *
  219. * If you are running the process in the background and you don't need the keyboard reports, set this to true.
  220. * This should solve the hashrate problems on some emulated terminals.
  221. */
  222. "daemon_mode" : false,
  223.  
  224. /*
  225. * Output file
  226. *
  227. * output_file - This option will log all output to a file.
  228. *
  229. */
  230. "output_file" : "",
  231.  
  232. /*
  233. * Built-in web server
  234. * I like checking my hashrate on my phone. Don't you?
  235. * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
  236. * outside of your home network. Ports lower than 1024 on Linux systems will require root.
  237. *
  238. * httpd_port - Port we should listen on. Default, 0, will switch off the server.
  239. */
  240. "httpd_port" : 0,
  241.  
  242. /*
  243. * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
  244. * This setting will only be needed in 2020's. No need to worry about it now.
  245. */
  246. "prefer_ipv4" : true,
  247.  
  248.  
  249. 2:
  250. -----
  251. [root@2 ~]# lscpu
  252. Architecture: x86_64
  253. CPU op-mode(s): 32-bit, 64-bit
  254. Byte Order: Little Endian
  255. CPU(s): 56
  256. On-line CPU(s) list: 0-55
  257. Thread(s) per core: 2
  258. Core(s) per socket: 14
  259. Socket(s): 2
  260. NUMA node(s): 2
  261. Vendor ID: GenuineIntel
  262. CPU family: 6
  263. Model: 63
  264. Model name: Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz
  265. Stepping: 2
  266. CPU MHz: 2600.000
  267. BogoMIPS: 5205.69
  268. Virtualization: VT-x
  269. L1d cache: 32K
  270. L1i cache: 32K
  271. L2 cache: 256K
  272. L3 cache: 35840K
  273. NUMA node0 CPU(s): 0-13,28-41
  274. NUMA node1 CPU(s): 14-27,42-55
  275.  
  276. /*
  277. * Thread configuration for each thread. Make sure it matches the number above.
  278. * low_power_mode - This mode will double the cache usage, and double the single thread performance. It will
  279. * consume much less power (as less cores are working), but will max out at around 80-85% of
  280. * the maximum performance.
  281. *
  282. * no_prefetch - Some sytems can gain up to extra 5% here, but sometimes it will have no difference or make
  283. * things slower.
  284. *
  285. * affine_to_cpu - This can be either false (no affinity), or the CPU core number. Note that on hyperthreading
  286. * systems it is better to assign threads to physical cores. On Windows this usually means selecting
  287. * even or odd numbered cpu numbers. For Linux it will be usually the lower CPU numbers, so for a 4
  288. * physical core CPU you should select cpu numbers 0-3.
  289. *
  290. * On the first run the miner will look at your system and suggest a basic configuration that will work,
  291. * you can try to tweak it from there to get the best performance.
  292. *
  293. * A filled out configuration should look like this:
  294. * "cpu_threads_conf" :
  295. * [
  296. * { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
  297. * { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
  298. * ],
  299. #"cpu_threads_conf" :
  300. #null,
  301. */
  302.  
  303. "cpu_threads_conf" :
  304. [
  305. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
  306. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
  307. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
  308. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
  309. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
  310. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },
  311. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },
  312. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 },
  313. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },
  314. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 9 },
  315. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 },
  316. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 11 },
  317. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 },
  318. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 13 },
  319. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 28 },
  320. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 29 },
  321. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 30 },
  322. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 31 },
  323. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 },
  324. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 15 },
  325. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 16 },
  326. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 17 },
  327. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 18 },
  328. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 19 },
  329. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 20 },
  330. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 21 },
  331. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 22 },
  332. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 23 },
  333. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 24 },
  334. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 25 },
  335. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 26 },
  336. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 27 },
  337. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 42 },
  338. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 43 },
  339. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 44 },
  340. { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 45 },
  341.  
  342. ],
  343.  
  344. /*
  345. * LARGE PAGE SUPPORT
  346. * Lare pages need a properly set up OS. It can be difficult if you are not used to systems administation,
  347. * but the performace results are worth the trouble - you will get around 20% boost. Slow memory mode is
  348. * meant as a backup, you won't get stellar results there. If you are running into trouble, especially
  349. * on Windows, please read the common issues in the README.
  350. *
  351. * By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
  352. * You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN
  353. *
  354. * 1. On the Start menu, click Run. In the Open box, type gpedit.msc.
  355. * 2. On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
  356. * 3. Expand Security Settings, and then expand Local Policies.
  357. * 4. Select the User Rights Assignment folder.
  358. * 5. The policies will be displayed in the details pane.
  359. * 6. In the pane, double-click Lock pages in memory.
  360. * 7. In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
  361. * 8. In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
  362. * 9. Reboot for change to take effect.
  363. *
  364. * Windows also tends to fragment memory a lot. If you are running on a system with 4-8GB of RAM you might need
  365. * to switch off all the auto-start applications and reboot to have a large enough chunk of contiguous memory.
  366. *
  367. * On Linux you will need to configure large page support "sudo sysctl -w vm.nr_hugepages=128" and increase your
  368. * ulimit -l. To do do this you need to add following lines to /etc/security/limits.conf - "* soft memlock 262144"
  369. * and "* hard memlock 262144". You can also do it Windows-style and simply run-as-root, but this is NOT
  370. * recommended for security reasons.
  371. *
  372. * Memory locking means that the kernel can't swap out the page to disk - something that is unlikey to happen on a
  373. * command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between
  374. * locked and unlocked memory. If that is your setup see option "no_mlck".
  375. */
  376.  
  377. /*
  378. * use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:
  379. * always - Don't even try to use large pages. Always use slow memory.
  380. * warn - We will try to use large pages, but fall back to slow memory if that fails.
  381. * no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.
  382. * It will never use slow memory, but it won't attempt to mlock
  383. * never - If we fail to allocate large pages we will print an error and exit.
  384. */
  385. "use_slow_memory" : "warn",
  386.  
  387. /*
  388. * NiceHash mode
  389. * nicehash_nonce - Limit the noce to 3 bytes as required by nicehash. This cuts all the safety margins, and
  390. * if a block isn't found within 30 minutes then you might run into nonce collisions. Number
  391. * of threads in this mode is hard-limited to 32.
  392. */
  393. "nicehash_nonce" : false,
  394.  
  395. /*
  396. * Manual hardware AES override
  397. *
  398. * Some VMs don't report AES capability correctly. You can set this value to true to enforce hardware AES or
  399. * to false to force disable AES or null to let the miner decide if AES is used.
  400. *
  401. * WARNING: setting this to true on a CPU that doesn't support hardware AES will crash the miner.
  402. */
  403. "aes_override" : null,
  404.  
  405. /*
  406. * TLS Settings
  407. * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
  408. * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
  409. *
  410. * use_tls - This option will make us connect using Transport Layer Security.
  411. * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
  412. * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
  413. */
  414. "use_tls" : false,
  415. "tls_secure_algo" : true,
  416. "tls_fingerprint" : "",
  417.  
  418. /*
  419. * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
  420. * wallet_address - Your wallet, or pool login.
  421. * pool_password - Can be empty in most cases or "x".
  422. *
  423. * We feature pools up to 1MH/s. For a more complete list see M5M400's pool list at www.moneropools.com
  424. */
  425.  
  426. /*
  427. * Network timeouts.
  428. * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
  429. * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
  430. * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
  431. * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
  432. * server usually takes to process our calls.
  433. *
  434. * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
  435. * retry_time - How long should we wait before another connection attempt.
  436. * Both values are in seconds.
  437. * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
  438. * don't mine while the connection is lost, so your computer's power usage goes down to idle.
  439. */
  440. "call_timeout" : 10,
  441. "retry_time" : 10,
  442. "giveup_limit" : 0,
  443.  
  444. /*
  445. * Output control.
  446. * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
  447. * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
  448. * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
  449. * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
  450. *
  451. * verbose_level - 0 - Don't print anything.
  452. * 1 - Print intro, connection event, disconnect event
  453. * 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
  454. * 3 - All of level 1, and new job (block) event in all cases, result submission event.
  455. * 4 - All of level 3, and automatic hashrate report printing
  456. */
  457. "verbose_level" : 4,
  458.  
  459. /*
  460. * Automatic hashrate report
  461. *
  462. * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
  463. * This option has no effect if verbose_level is not 4.
  464. */
  465. "h_print_time" : 60,
  466.  
  467. /*
  468. * Daemon mode
  469. *
  470. * If you are running the process in the background and you don't need the keyboard reports, set this to true.
  471. * This should solve the hashrate problems on some emulated terminals.
  472. */
  473. "daemon_mode" : false,
  474.  
  475. /*
  476. * Output file
  477. *
  478. * output_file - This option will log all output to a file.
  479. *
  480. */
  481. "output_file" : "",
  482.  
  483. /*
  484. * Built-in web server
  485. * I like checking my hashrate on my phone. Don't you?
  486. * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
  487. * outside of your home network. Ports lower than 1024 on Linux systems will require root.
  488. *
  489. * httpd_port - Port we should listen on. Default, 0, will switch off the server.
  490. */
  491. "httpd_port" : 0,
  492.  
  493. /*
  494. * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
  495. * This setting will only be needed in 2020's. No need to worry about it now.
  496. */
  497. "prefer_ipv4" : true,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement