8000 Update regexes for gminer to support multiple GPUs by darknicht66 · Pull Request #45 · MoneroOcean/meta-miner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update regexes for gminer to support multiple GPUs #45

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darknicht66
Copy link

mm.js currently only grabs the hashrate from the first GPU when benchmarking gminer. This updates the current regexes to return the total hashrate value if more than one GPU exists.

Example 1 - GMiner 87F5 output for single GPU:

+---+-------+-----------+--------+------+-----+-------------+
| ID   GPU      Speed     Shares   Best  Power  Efficiency  |
+---+-------+-----------+--------+------+-----+-------------+
|  0  1070Ti  27.09 MH/s  259/0/0 73.68G 127 W  213.33 KH/W |
+---+-------+-----------+--------+------+-----+-------------+

Example 2 - GMiner output for multi-GPU:

+---+-----+-----------+--------+------+-----+-------------+
| ID  GPU     Speed     Shares   Best  Power  Efficiency  |
+---+-----+-----------+--------+------+-----+-------------+
|  0  3080  51.74 MH/s   42/0/0 900.6G 181 W  285.88 KH/W |
|  1  3080  54.32 MH/s   54/0/0 666.3G 185 W  293.61 KH/W |
|  2  3080  55.67 MH/s   47/0/0 653.3G 187 W  297.70 KH/W |
|  3  3080  55.61 MH/s   40/0/0 5.960T 210 W  264.82 KH/W |
|  4  3080  54.83 MH/s   48/0/0 505.7G 193 W  284.07 KH/W |
|          272.17 MH/s  231/0/0 5.960T 956 W  284.69 KH/W |
+---+-----+-----------+--------+------+-----+-------------+

Previously mm.js would return the hashrate of GPU 0 for both examples. i.e. 27.09 for example 1 and 51.74 for example 2. With the updated regexes it now returns the total hashrate in both examples... 27.09 for example 1 and 272.17 for example 2.

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

Successfully merging this pull request may close these issues.

1 participant
0