Advertisement
Guest User

xmr-stak-amd config

a guest
Mar 5th, 2017
1,477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. /*
  2. * Number of GPUs that you have in your system. Each GPU will get its own CPU thread.
  3. */
  4. "gpu_thread_num" : 2,
  5.  
  6. /*
  7. * GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
  8. * index - GPU index number usually starts from 0
  9. * intensity - Number of parallel GPU threads (nothing to do with CPU threads)
  10. * worksize - Number of local GPU threads (nothing to do with CPU threads)
  11. * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
  12. */
  13. "gpu_threads_conf" : [
  14. { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false },
  15. { "index" : 1, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false },
  16. ],
  17.  
  18. /*
  19. * Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel.
  20. */
  21. "platform_index" : 0,
  22.  
  23. /*
  24. * TLS Settings
  25. * If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
  26. * to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
  27. *
  28. * use_tls - This option will make us connect using Transport Layer Security.
  29. * tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
  30. * tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it.
  31. */
  32. "use_tls" : false,
  33. "tls_secure_algo" : true,
  34. "tls_fingerprint" : "",
  35.  
  36. /*
  37. * pool_address - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
  38. * wallet_address - Your wallet, or pool login.
  39. * pool_password - Can be empty in most cases or "x".
  40. */
  41. "pool_address" : "mine.xmrpool.net:3333",
  42. "wallet_address" : "x",
  43. "pool_password" : "x",
  44.  
  45. /*
  46. * Network timeouts.
  47. * Because of the way this client is written it doesn't need to constantly talk (keep-alive) to the server to make
  48. * sure it is there. We detect a buggy / overloaded server by the call timeout. The default values will be ok for
  49. * nearly all cases. If they aren't the pool has most likely overload issues. Low call timeout values are preferable -
  50. * long timeouts mean that we waste hashes on potentially stale jobs. Connection report will tell you how long the
  51. * server usually takes to process our calls.
  52. *
  53. * call_timeout - How long should we wait for a response from the server before we assume it is dead and drop the connection.
  54. * retry_time - How long should we wait before another connection attempt.
  55. * Both values are in seconds.
  56. * giveup_limit - Limit how many times we try to reconnect to the pool. Zero means no limit. Note that stak miners
  57. * don't mine while the connection is lost, so your computer's power usage goes down to idle.
  58. */
  59. "call_timeout" : 10,
  60. "retry_time" : 10,
  61. "giveup_limit" : 0,
  62.  
  63. /*
  64. * Output control.
  65. * Since most people are used to miners printing all the time, that's what we do by default too. This is suboptimal
  66. * really, since you cannot see errors under pages and pages of text and performance stats. Given that we have internal
  67. * performance monitors, there is very little reason to spew out pages of text instead of concise reports.
  68. * Press 'h' (hashrate), 'r' (results) or 'c' (connection) to print reports.
  69. *
  70. * verbose_level - 0 - Don't print anything.
  71. * 1 - Print intro, connection event, disconnect event
  72. * 2 - All of level 1, and new job (block) event if the difficulty is different from the last job
  73. * 3 - All of level 1, and new job (block) event in all cases, result submission event.
  74. * 4 - All of level 3, and automatic hashrate report printing
  75. */
  76. "verbose_level" : 3,
  77.  
  78. /*
  79. * Automatic hashrate report
  80. *
  81. * h_print_time - How often, in seconds, should we print a hashrate report if verbose_level is set to 4.
  82. * This option has no effect if verbose_level is not 4.
  83. */
  84. "h_print_time" : 60,
  85.  
  86. /*
  87. * Output file
  88. *
  89. * output_file - This option will log all output to a file.
  90. *
  91. */
  92. "output_file" : "",
  93.  
  94. /*
  95. * Built-in web server
  96. * I like checking my hashrate on my phone. Don't you?
  97. * Keep in mind that you will need to set up port forwarding on your router if you want to access it from
  98. * outside of your home network. Ports lower than 1024 on Linux systems will require root.
  99. *
  100. * httpd_port - Port we should listen on. Default, 0, will switch off the server.
  101. */
  102. "httpd_port" : 1111,
  103.  
  104. /*
  105. * prefer_ipv4 - IPv6 preference. If the host is available on both IPv4 and IPv6 net, which one should be choose?
  106. * This setting will only be needed in 2020's. No need to worry about it now.
  107. */
  108. "prefer_ipv4" : true,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement