bfgminer and cgminer interface guide
The goal of this document is to serve as a bfgminer and cgminer interface guide. We’ll start with an overview of the main screen for your miner. The bfgminer and cgminer interfaces are very similar. Here, I’m using cgminer v3.0.1 (as shown below).
Next to the version, you’ll see when the current mining session started.
On the next line, you’ll see a myriad of mining statistics. We’ll start with the (5s).
This shows me that over the past five seconds, my gpus are averaging 392 MH/s.
Beside the (5s) you’ll see another number (probably similar) as seen below.
This is the average MH/s over the course of the session.
Beside the hash rates, you’ll see A: and R: which stand for accepted and rejected (work). Ideally, you will have a high percentage of work accepted. If not, you’ll want to change your settings.
Here over 3000 jobs have been accepted and fewer than 10 have been rejected. Perfect.
I’ve skipped the “HW” item, but it show how many hardware errors have occurred. Ideally this is zero. You should become concerned as it increases and may mean your gpu is failing or overheating.
We’ll skip down to the line that starts “connected to”
Here we seen that we are connected to the eclipsemc mining pool. Moving to the right, we’ll see the protocol you’re using to connect (getwork, long poll, stratum).
Here we are using the stratum protocol (preferred).
Further right, you’ll see the worker name (login) for your mining pool.
Moving down to the next line, you’ll see some statistics about the current block and difficulty.
The highlighted line is probably the most important. This is essentially your menu and shows you the keys to press to access the various miner submenus.
Before exploring the submenus, we’ll finish on the main menu. You’ll gpu statistics under the menu.
The first fields shows gpu number followed by temperature and fan speed.
Next you’ll see the hashrate for the gpu
Followed by the accepted and rejected work for each GPU as shown below.
bfgminer and cgminer interface guide – Pool Management
If you choose P from the main menu, you’ll be in the mining pool management sub-menu as shown below
We’ll work our way through this menu now.
The top section shows the pools the miner can connect to (below)
Below this, you’ll see the current management strategy (here it’s failover)
Finally, you’ll see a few options that allow you to change the pool management strategy for your bitcoin miner.
You can use [I] to view information or [C] to change the management strategy (to balanced for instance).
bfgminer and cgminer interface guide – display options
If you choose [D] from the main menu, you’ll see the bfgminer or cgminer display options sub-menu as shown here.
This is useful as you can enable debugging and workload logging while testing out a new mining pool or verbose logging while changing gpu settings. Once everything is stable, you can enable quiet (or compact) mode from here.
bfgminer and cgminer interface guide – gpu menu
if you choose [G] from the main menu, you’ll see a gpu sub-menu (or be prompted to select a gpu for multi-gpu set ups.
The most interesting menu option here is [C]hange.
In the above the highlighted menu, you’ll see the current gpu temp, fan speed, engine clock, memory clock, and voltage.
bfgminer and cgminer interface guide – finishing up
You can do most of your tweaking via the ncurses interface as shown above. Once you’ve come up with reasonable values for your bitcoin mining setup, you can pass most of these options on startup via the command line.
If this was helpful …
consider buying me a coffee
either by paypal or bitcoin (1Na8zD2GZqfV1MaFv2HJsjP2nykztfPsBS)
My thanks go to Ladislav and Josh for the recent caffeination