Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTX 760 @ CN-GPU incorrect auto config (throws error) #2531

Closed
Ryo-RU opened this issue Sep 30, 2019 · 2 comments
Closed

GTX 760 @ CN-GPU incorrect auto config (throws error) #2531

Ryo-RU opened this issue Sep 30, 2019 · 2 comments

Comments

@Ryo-RU
Copy link
Contributor

Ryo-RU commented Sep 30, 2019

GPU: GTX 760
ALGO; CN-GPU
Version: 2.10.7
NVIDIA-SMI 418.87.00 Driver Version: 418.87.00 CUDA Version: 10.1

Auto config:

"gpu_threads_conf" :
[
  // gpu: GeForce GTX 760 architecture: 30
  //      memory: 1953/1998 MiB
  //      smx: 6
  { "index" : 0,
   //too high threads and blocks value:
   "threads" : 28, "blocks" : 18,
    "bfactor" : 2, "bsleep" :  0,
    "affine_to_cpu" : false, "sync_mode" : 3,
    "mem_mode" : 1,
  },
],

that throws error:

[CUDA] Error gpu 1: </home/dima/xmr-stak2710/xmr-stak/xmrstak/backend/nvidia/nvcc_code/cuda_core.cu>:954
terminate called after throwing an instance of 'std::runtime_error'
  what():  [CUDA] Error: invalid argument
./run_sys_cnt: line 9: 21985 Aborted                 (core dumped)
@Ryo-RU
Copy link
Contributor Author

Ryo-RU commented Sep 30, 2019

manually setting it to:

  { "index" : 1,
    "threads" : 8, "blocks" : 48,
    "bfactor" : 2, "bsleep" :  0,
    "affine_to_cpu" : false, "sync_mode" : 3,
    "mem_mode" : 1,
  },

starts it working, but not sure (yet) if it is the best possible config (notice that this is index 1 on this gpu now)

HASHRATE REPORT - NVIDIA
| ID |    10s |    60s |    15m | ID |    10s |    60s |    15m |
|  0 |  255.5 |  246.7 |   (na) |  1 |  271.9 |  270.3 |   (na) |

psychocrypt added a commit to psychocrypt/xmr-stak that referenced this issue Oct 22, 2019
fix fireice-uk#2531

Set number of threads for `cryptonight_gpu always to `8` and adkust the
number of blocks depending of the free memory.`
@psychocrypt
Copy link
Collaborator

should be fixed with #2538. If not please reopen the issue

psychocrypt added a commit to psychocrypt/xmr-stak that referenced this issue Nov 24, 2019
fix fireice-uk#2531

Set number of threads for `cryptonight_gpu always to `8` and adkust the
number of blocks depending of the free memory.`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants