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

Very long start time #130

Closed
MetallianFR68 opened this issue Jun 18, 2018 · 2 comments
Closed

Very long start time #130

MetallianFR68 opened this issue Jun 18, 2018 · 2 comments

Comments

@MetallianFR68
Copy link

Hi,

I'm the lucky owner of 24 VEGA 56 cards.
Each card takes around 12 seconds to initialize in XMRIG-AMD
This takes a very long time to restart the miner, for example if I want to change from LOKI to SUMO

CASTXMR takes less than 1 second per card to initialise.
Why is there such a difference ?
It seems that CASTXMR doesn't recompile everytime.

Is there a way to implement this on XMRIG ?
CASTXMR is great but it crashes al lot more than XMRIG

@xmrig
Copy link
Owner

xmrig commented Jun 18, 2018

OpenCL cache already added in dev branch and will be available in v2.7.1-beta release later today.
How OpenCL cache works:

  1. On first run miner compile OpenCL code from source as usual, it takes long time.
  2. Miner store compiled code on file system.
  3. On the second and next launches, precompiled code loaded from file system, it much faster.

@xmrig
Copy link
Owner

xmrig commented Jun 19, 2018

Implemented in v2.7.1-beta release.
Thank you.

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