WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
375 stars 195 forks source link

[Feature Request] Add flag for "just tune" #90

Open tarfeef101 opened 2 years ago

tarfeef101 commented 2 years ago

There are situations where one might wish to ONLY run tuning, and exit once the file is generated (e.g. benching before running with reduced threads, as part of multi-stage docker builds, etc). Having a flag you can set to get this behaviour would be great for these sorts of use cases.

michal-zurkowski commented 2 years ago

If you run the miner with "benchmark": true, it will tune and benchmark, After benchmarking (the 1200s) it will close. I'll think about adding it to the next release in some time. Thanks for the suggestion.

tarfeef101 commented 2 years ago

If you run the miner with "benchmark": true, it will tune and benchmark, After benchmarking (the 1200s) it will close. I'll think about adding it to the next release in some time. Thanks for the suggestion.

Thanks. It's been quite a while since I've written appcode so I'd need some guidance for where to look to try and add it myself, but if you did that I could try. Would be fun to try and do more than containerize and write pipelines for something for once.

But yeah 20 mins of extra "benching" isn't great, so I'd probably still hope for the actual flag to exist.