Closed AlexevB closed 6 years ago
I am checking the benchmark files.
It looks the mismatch is already there. "nvidia_GPU-f9e91651-f73e-eab9-3f0d-1c09c76336b4": (1070) "excavator_equihash": 683.7261216917163, "nvidia_GPU-af3d4145-1d62-91fb-4f69-10d0d6339695": (1080) "excavator_equihash": 508.4280246275978, "nvidia_GPU-a75c541b-faa1-741a-1c4d-74ae6fd506f2": (1080 ti) "excavator_equihash": 432.4455889662205,
Hi, thanks so much for investigating this! My multi-device code is a bit of a shot in the dark because I only have a single 1060 to work with, so I really appreciate the testing.
I think the problem is the program is not translating CUDA indices to excavator device id's correctly; they might not be 1:1 as I assumed. It would be super helpful if you could run the device.list excavator API call and post the results, so we can see the mapping on your system.
Please let me know if you need assistance with this.
With pleasure. The output gives this (the ids are different of those in nvidia-smi ) :
{
"devices":[
{
"device_id":0,
"name":"GeForce GTX 1080 Ti",
"gpgpu_type":1,
"subvendor":"3842",
"details":{
"cuda_id":0,
"sm_major":6,
"sm_minor":1,
"bus_id":3
}
},
{
"device_id":1,
"name":"GeForce GTX 1080 Ti",
"gpgpu_type":1,
"subvendor":"1043",
"details":{
"cuda_id":1,
"sm_major":6,
"sm_minor":1,
"bus_id":4
}
},
{
"device_id":2,
"name":"GeForce GTX 1080",
"gpgpu_type":1,
"subvendor":"1458",
"details":{
"cuda_id":2,
"sm_major":6,
"sm_minor":1,
"bus_id":13
}
},
{
"device_id":3,
"name":"GeForce GTX 1070",
"gpgpu_type":1,
"subvendor":"1458",
"details":{
"cuda_id":3,
"sm_major":6,
"sm_minor":1,
"bus_id":1
}
},
{
"device_id":4,
"name":"GeForce GTX 1070",
"gpgpu_type":1,
"subvendor":"3842",
"details":{
"cuda_id":4,
"sm_major":6,
"sm_minor":1,
"bus_id":2
}
},
{
"device_id":5,
"name":"GeForce GTX 1070",
"gpgpu_type":1,
"subvendor":"3842",
"details":{
"cuda_id":5,
"sm_major":6,
"sm_minor":1,
"bus_id":8
}
},
{
"device_id":6,
"name":"GeForce GTX 1070",
"gpgpu_type":1,
"subvendor":"3842",
"details":{
"cuda_id":6,
"sm_major":6,
"sm_minor":1,
"bus_id":11
}
},
{
"device_id":7,
"name":"GeForce GTX 1070",
"gpgpu_type":1,
"subvendor":"3842",
"details":{
"cuda_id":7,
"sm_major":6,
"sm_minor":1,
"bus_id":12
}
}
],
"id":1,
"error":null
}
[out.zip](https://github.com/YoRyan/nuxhash/files/1997718/out.zip)
Let me also attach the output of:
nvidia-smi --query --xml-format > ~/out.xml
Hi,
I took several weeks off but I'm back to work on this. Looks like excavator's device order is indeed not the same as the CUDA device order, so we have to use PCI bus ID's to translate. Try out master now and see if the identification is working properly. You may have to remove your benchmarks (~/.config/nuxhash/benchmarks.json
).
Hi there,
First of all, stellar work.
I have a small rig with 7 cards. I added the following (draft) code to your do_mining to check the mining stats per card:
After some 15 minutes of running I get the following results
I am suspecting that at some place there is a mismatch between card id and mining results. It looks like the numbers do not add up. I checked that IDs do match with the names.
Any idea what could be happening?