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

Algo balancing #152

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Algo balancing #152

wants to merge 24 commits into from

Conversation

MoneroOcean
Copy link

@MoneroOcean MoneroOcean commented Jul 28, 2018

This is suggested implementation of #618 for xmrig-amd (not in xmrig-proxy):

In short it do the following:

  1. Adds --calibrate-algo (functionality that measured relevant algo hashrates) and --save-config (that can save algo hashrates into algo-perf section of config.json file) switches.
  2. Adds extended "threads" option that allows to specify separate thread profiles for different algorithms.
  3. All possible algorithms are now reported by miner to the pool (not only variants of the the same base Algo).
  4. Allows miner to change algorithm to any supported one specified by "algo" pool job switch.

P.S. The most serious workaround was done to pass config object (with algo hashrates) to Client object via global config object pointer (pconfig).

@MoneroOcean MoneroOcean changed the title Xmrig pr Algo balancing Jul 28, 2018
@MoneroOcean
Copy link
Author

MoneroOcean commented Jul 29, 2018

I added public fr.moneroocean.stream node (of https://moneroocean.stream pool) that can be used for testing of this PR (currently RYO is supported for cn-heavy algo and Masari is supported for cn-fast algo). You should specify XMR wallet address in any case since pool trades all coins to XMR to do payments.

@MoneroOcean
Copy link
Author

Now all MoneroOcean pool nodes can be used to test this algo switching feature.

@MoneroOcean
Copy link
Author

Unfortunately there are multiple reports that algo switching with this modified xmrig-amd is not working well. There are crashes and performance degradation observed. I believe that from OpenCL management point of view all is fine (all is correctly released before recreation), so I suspect the problem is in the particular OpenCL runtime/driver implementation bugs. I created https://github.com/MoneroOcean/meta-miner that can used to do switching on stock xmrig-amd by using miner relaunch method.

I will leave this PR so you can look into this in future in case you will have desire of it of course.

@holyr00d
Copy link

xmrig is not algo switching friendly.

REM CRYPTONIGHT

set current_dir=%~dp0

start C:\PATH/TO/XMRIG\xmrig-nvidia -R 0 -r 0

how I got it to work. it left the xmrig window open though and they stacked for every cycle the batch did checking for most profitable algo. note this was an older version of xmrig. not tried it since

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.

None yet

2 participants