tmrlvi / kaspa-miner

A fast CPU/GPU miner for Kaspa
Apache License 2.0
96 stars 36 forks source link

Enable cuda oc #20

Closed benrod3k closed 2 years ago

benrod3k commented 2 years ago

Lock mem-clocks help to gain some extra hashrates. To enable lock-mem-clocks in a very low value eg: absolute 810Mhz in hiveos, the user have to invoke nvidia-smi through a scheduled event.

In bzminer and lolminer there're parameters to lock mem clocks. kaspa-miner should be able to do the same.

tmrlvi commented 2 years ago

Merged to v0.5

tmrlvi commented 2 years ago

Reopening: I didn't notice, but the PR compiles only on nightly because of OneCell. How much is it necessary?

benrod3k commented 2 years ago

Reopening: I didn't notice, but the PR compiles only on nightly because of OneCell. How much is it necessary?

For the current version, to introduce lock memory clocks, it's not necessary. Because only once it should be ran.

But to keep the nvml instance somewhere to reuse, in order to report gpu status etc, it's necessary. I could revert the last commit though. And bring a better solution back later.

tmrlvi commented 2 years ago

merged