Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
877
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. // generated by xmr-stak/2.10.5/b846a6f7c/master/win/nvidia-amd-cpu/20
  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. * mem_mode - select the memory access pattern (this option has only a meaning for cryptonight_v8 and monero)
  20. * 0 = 64bit memory loads
  21. * 1 = 256bit memory loads
  22. *
  23. * On the first run the miner will look at your system and suggest a basic configuration that will work,
  24. * you can try to tweak it from there to get the best performance.
  25. *
  26. * A filled out configuration should look like this:
  27. * "gpu_threads_conf" :
  28. * [
  29. * { "index" : 0, "threads" : 17, "blocks" : 60, "bfactor" : 0, "bsleep" : 0,
  30. * "affine_to_cpu" : false, "sync_mode" : 3, "mem_mode" : 1
  31. * },
  32. * ],
  33. * If you do not wish to mine with your nVidia GPU(s) then use:
  34. * "gpu_threads_conf" :
  35. * null,
  36. */
  37.  
  38. "gpu_threads_conf" :
  39. [
  40. // gpu: GeForce RTX 2060 architecture: 75
  41. // memory: 5004/6144 MiB
  42. // smx: 30
  43. { "index" : 0,
  44. "threads" : 8, "blocks" : 180,
  45. "bfactor" : 6, "bsleep" : 25,
  46. "affine_to_cpu" : false, "sync_mode" : 3,
  47. "mem_mode" : 1,
  48. },
  49.  
  50. ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement