Open rthinds opened 2 years ago
Why don't you just stick a sticker to each card and write 1 to 10 on each sticker.
Me: Which GPU do I label with "1"? You: The card at PCIe address 1 Me: So which card do I label "10"? You: The card at PCIe address 10. Me: There is no "10". You: Ok, the card at address "a" Me: There is no card at address "a". In fact, there is no "9", "8", or "7". But I do have a "b", "c", and "e" You: Ok, just pick something and call it "10", write down the PCIe address Me: Ok, so now I have to keep some sort of PCIe-to-sticker-to-gminerID mapping and use it every time I want to correlate gminer output to the temperature of a specific GPU in the output log. This is awfully inconvenient. Me: Look at that! One of my 10 GPUs is not responding, which one is it? gminer now simply re-labels all GPU IDs 0-8, and all the GPUs still show up in lspci. gminer has now renumbered my GPUs so my mapping above is now out-of-date. I guess I need to shutdown the rig, attach a head to it, boot into the BIOS, then find the bad/missing GPU. Wow. This is so convenient!
That is what I was trying to avoid if gminer would simply map a "friendly" name to a GPU with a specific serialnumber (via cmd line or config file). That way the name of the GPU would be the same regardless of where it appears on the bus, or in gminer's output.
(Edit: Though you're correct about PCIe to GPU modelname mapping. I was particularly interested in SerialNumber to GPU modelname mapping, and updated the issue to reflect that. That way if I move the GPU around on the bus, it still shows up with the same friendly name in gminer, and I don't care what "ID" it shows up as in gminer output.)
Or simply relaying the GPU's serialnumber (instead of/in addition to it's model type) in the gminer output would be a step in the right direction: Perhaps something thusly:
ID GPU SerialNumber 0 GTX 1080Ti 1561220014069 1 GTX 1080Ti 1561220013031 2 GTX 1080Ti 1561220013275 ... 9 GTX 1080Ti 1561220014115
Would be great to have a way to "rename" (i.e. map) a user-friendly name onto the generic output from gminer. For instance, the logfile for a rig with 10 nvidia GTX 1080Ti GPUs will see:
ID GPU 0 GTX 1080Ti 1 GTX 1080Ti 2 GTX 1080Ti ... 9 GTX 1080Ti
They all look the same, save for the "ID", in your logfile. It would be nice to be able to re-label each GPU name as a "friendly" name thusly:
ID GPU 0 Red 1 Blue 2 Green ... 9 BurntEmber
That way, once the legwork is done to map the friendly name to each SerialNumber (if thats possible), it's extremely easy to find the physical card for a particular GPU if it failed, or if it is overheating, etc etc etc. Attaching stickers with the above labels to the top of the GPU card would make it extremely simple to locate a specific GPU.