Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0019-1.4
by
salfter
on 21/01/2018, 21:32:13 UTC
I've had some issues recently with nvOC eating itself when Ubuntu pushes out an upgrade.  Mostly it's updates to the nVidia drivers with mismatched libraries or something similar keeping miners from starting.  The timing of the first two such incidents was particularly bad, as the first was right before I left for a cruise.  I thought I'd fixed it, but it ate itself again a day or two later while I was somewhere off the coast between Long Beach and Ensenada.   Roll Eyes

I've kinda always had a bit of a preference for Gentoo.  It's what most of my Linux boxes run (other than the Raspberry Pis, and I've even had Gentoo running on those from time to time), and it's what I'm most comfortable handling.  I put an M.2 SSD back in my mining rig, got Gentoo up and running, and knocked together some ebuilds for the latest versions of several GPU miners.  (The sp-mod ccminer needed some fixes to build against CUDA SDK 9, and I've also patched it so that it exits on the first SIGINT (like every other miner) instead of requiring you to press Ctrl-C twice.)

I pulled in my MiningPoolHub switcher, and with changes to the miner paths (they all live in /usr/bin now), it works as it does on nvOC.  I currently have the GPU fans on automatic, but I might port the fan-control code in nvOC to run the fans faster to keep the GPUs cooler.

I've also benchmarked the different miners and algorithms again to see which ones are faster, and this might be of interest to nvOC users.  The single-purpose miners (ktccminer-cryptonight, EWBF's equihash miner, and ethminer) are the fastest at their respective algorithms.  Of the various forks of ccminer (tpruvot, sp-mod, KlausT, and alexis78), for the algorithms I've currently configured to mine at MiningPoolHub, sp-mod is faster at 5 algorithms (groestl, neoscrypt, qubit, skein, and x11) and tpruvot is faster at 3 (keccak, lyra2v2, and myr-gr).  A table of what miner supports what and which miner is faster is at https://home.alfter.us/s/58BNGWUTxfpvr5U; yellow indicates an algorithm supported by only one miner, while boldface indicates the fastest miner I benchmarked on my four 1070s.

I don't have my new system wrapped up in a tarball that you can download and dump onto a flashstick as with nvOC; that isn't really the Gentoo way.  You can, however, recreate it for yourself.  Install Gentoo as you normally would (I used the amd64 no-multilib profile), install Layman, use Layman to install my Portage overlay, install the miners, and install my MiningPoolHub switcher.  A shell script launched from within /etc/local.d (or a cron job) can be used to run the switcher periodically.

Next up: benchmark the algorithms available at zpool that I don't already have in the config.