Advertisement
Guest User

Untitled

a guest
Nov 29th, 2019
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. // generated by xmr-stak-rx/1.0.1-rx/7a9361b22/xmr-stak-rx/win/nvidia-amd-cpu
  2.  
  3. /*
  4. * GPU configuration. You should play around with threads and blocks as the fastest settings will vary.
  5. * index - GPU index number usually starts from 0.
  6. * threads - Number of GPU threads (nothing to do with CPU threads).
  7. * blocks - Number of GPU blocks (nothing to do with CPU threads).
  8. * bfactor - Enables running the Cryptonight kernel in smaller pieces.
  9. * Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 8
  10. * bsleep - Insert a delay of X microseconds between kernel launches.
  11. * Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 100
  12. * affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
  13. * sync_mode - method used to synchronize the device
  14. * documentation: http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__DEVICE.html#group__CUDART__DEVICE_1g69e73c7dda3fc05306ae7c811a690fac
  15. * 0 = cudaDeviceScheduleAuto
  16. * 1 = cudaDeviceScheduleSpin - create a high load on one cpu thread per gpu
  17. * 2 = cudaDeviceScheduleYield
  18. * 3 = cudaDeviceScheduleBlockingSync (default)
  19. *
  20. * On the first run the miner will look at your system and suggest a basic configuration that will work,
  21. * you can try to tweak it from there to get the best performance.
  22. *
  23. * A filled out configuration should look like this:
  24. * "gpu_threads_conf" :
  25. * [
  26. * { "index" : 0, "threads" : 17, "blocks" : 60, "bfactor" : 0, "bsleep" : 0,
  27. * "affine_to_cpu" : false, "sync_mode" : 3
  28. * },
  29. * ],
  30. * If you do not wish to mine with your nVidia GPU(s) then use:
  31. * "gpu_threads_conf" :
  32. * null,
  33. */
  34.  
  35. "gpu_threads_conf" :
  36.  
  37. [],
  38.  
  39.  
  40. [
  41. // gpu: GeForce GTX 1080 Ti architecture: 61
  42. // memory: 9322/11264 MiB
  43. // smx: 28
  44. { "index" : 0,
  45. "threads" : 42, "blocks" : 84,
  46. "bfactor" : 6, "bsleep" : 25,
  47. "affine_to_cpu" : false, "sync_mode" : 3
  48. },
  49.  
  50. ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement