Donate VRC/VRM for the Wiki to VBzaNDExHyFpnNvYc5QH5e4ipBZqxxPnKJ . Thank you, Joe.

Verium Mining

From VeriCoin & Verium Wiki
Revision as of 06:19, 15 January 2018 by ChiefThunderCunt (Talk | contribs)

Jump to: navigation, search

How to mine Verium.

General

The overall network can be viewed in the Live Global Mining Statistics.

A hashrate profitability calculator:

  1. Please make your own copy of this spreadsheet by selecting "File > Make Copy"
  2. Make changes locally by entering your data into the green fields (the spreadsheet has been locked except for green cells to ensure continued functionality)

Mining Software Guides

Source Code

The first mining software especially designed for Verium was provided by Douglas Pike aka effectstocause, one of the creators of this project.

Based on effectstocauses original miner fireworm has created an update which includes several optimizations especially for Linux (memory) and ARMv8 CPUs.

cpuminer, cpuminer-opt can be used as well.

Windows

 Slack: !tools

[@darkwofultima's GUI Miner ]

[@yatteers's Window's Miner]

!swap Here is a helpful link explaining how to increase your windows swap file! Many users find a 32GB swap file helps! http://www.thewindowsclub.com/increase-page-file-size-virtual-memory-windows

Detailed windows compiling instructions sample

Binary with Pool drop down list: vrmminerhelper.exe

Using Ubuntu instead of Windows can increase your Hashrate by 10-20% .

Mac OS

!mac Mining on OSX https://github.com/Roykk/veriumMinerDocker/tree/master/OSXwithoutDocker

fireworm71/veriumMiner Installation on Intel CPU's (Yosemite/El Capitan)

open Terminal / from Utilities

 xcode-select --install

install home brew: http://brew.sh

 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 brew install automake curl openssl gcc zlib jansson pthreads

After installing OpenSSL with brew

 cd /usr/local/include
 ln -s ../opt/openssl/include/openssl
 brew doctor
 brew update
 brew upgrade

run git clone

 git clone https://github.com/fireworm71/veriumMiner
 cd veriumMiner
 ./autogen.sh
 ./nomacro.pl

type this manually (cut and paste is funny)

 ./configure CFLAGS=“-march=native” --with-crypto --with-curl
 
 make

Run cpuminer how you wish

 ./cpuminer <flags>

Linux

!linuxguide Thanks to technikpto for this helpful guide! https://vericoinandverium.slack.com/files/U6JB348M6/F7ML8F7JS/install-verium-cpu-miner-linux.pdf.pdf

Install scripts by dominer: I've released a script for installing @fireworm's miner. Until now only for Linux_x64 but ARMv7/v8 will follow later today. Supports GCC 7.2 (fully automatic), compiling or precompiled packages (fully automatic) and magic stuff on hugepages (autocalculated). If you like what I'm doing please donate VRM/VRC VJniF5bP9Acy7ce33yR4jRYSQ66Z4vGH8s

git repo

Raspberry Pi

Raspberry Pi

!rpi Thanks to Joe_Rondx for this RPi verium mining guide! http://indiweb.de/doku.php (Jesus, I didn't know this exists ;) )

https://steemit.com/bitcoin/@dury10/miner-how-to-start-mining-verium-on-raspberry-pi-3-step-by-step-for-noobs

Odroid

ODROID Verium Mining Image: Download

  1. Burn it without extracting it (because it's 2 partitions)
  2. On first bootup give it 5-10 mins time until you should be able to find the device in the network.
  3. Log in with standard root/odroid
  4. Then
 nano /etc/rc.local 

For further information visit out special Odroid section.

Solo vs. Pool Mining

Solo

Rumours advice to have at least 15000 H/min for solo mining.

Verium Solo Mining Guide

For solo mining read

 Slack: !solo

[Birty's Guide]

[Drawde's Guide]

Pools

This mining pools are available. Follow up their "Getting started" pages:

How to set up a Verium Mining Pool.

Reminder: when solomining there is zero downtime, zero pool fees, zero withdrawal fees, zero trust, zero dependency, plus all transaction fees per block!

Hardware

Hashrates

See a comparison of hashrates across a variety of processors!

Help us out by adding your hashrate to the growing database!

Automatic hashrate submission and comparison: by phiten

Top Verium Hardware ("Energy does not concern me."):

 AMD Opteron 6276, many cores, plenty of fast ram

VRM Hardware Buying Guide

Based on kaptainblazzed Guide.

If you are planning on purchasing hardware for VRM mining there are 4 main routes you can take. The fasted ROI can be had from used server hardware; the best long term profitability comes from used laptops and SBC’s.

  1. Used Server Hardware
  2. Used Laptops
  3. Single Board Computers (SBC)
  4. Desktops

The below table outlines the basic pros and cons of each build type:

Power Usage Upfront Cost Maintenance Burden1 Hashrate Used Server High-Low* Low-High* Low High Used Laptop Low Low Medium Low/Medium SBC Low High High Low Desktop Medium Medium Low Medium

  • Servers can have high - low power usage and up-front cost depending on which CPU’s you select. AMD 62xx and 63xx Opterons and Intel socket 1366 based Xeons have a low upfront cost, but use a lot of power. Intel E5 Xeons have a high upfront cost but are very efficient with power usage. (v1/v2 cost/efficiency is medium, v3/v4 cost/efficiency is high)

1 Maintenance Burden is the amount of time expected to keep your mining rigs up and running properly. Basically the more rigs you have the higher the maintenance burden.

Electricity Cost

Electricity plays a big role in your overall mining cost and ROI. (Don’t forget about the cost to cool “A/C” your rigs) How to calculate your electricity cost: (example is a dual AMD 6276 that pulls 300W)

  1. Watts per Day: 300 Watts x 24 Hours = 7,200 watt-hours per day
  2. Convert to Kilowatts: 7,200 / 1,000 = 7.2kWh per day
  3. Usage per Month = 7.2kWh x 30 days = 216 kWh per month
  4. Monthly Cost = 216 kWh x $.10 per kWh = $21.60 per month
Hard Drives

Hard drives are not required for Verium mining. You do need some kind of media to host the Operating System though. I use 64GB USB thumb drives. (I tried to use 32GB thumb drives, but after installing Ubuntu there was not enough space left to install VeriumMiner) (SBC’s can use a 4GB SDCard, however 8GB is more popular)

RAM

VRM mining is very RAM intensive, because of this RAM plays a significant role in your overall hashrate. You need to use the maximum number of RAM channels (not slots) your CPU supports, usually 3 or 4 per CPU. You will need 128mb of RAM per “#-Way” that you are mining. Default is 3-Way or 6-Way depending on your hardware. Older AMD and older Intel CPU’s need 384mb per thread “3-Way”. E5 Xeons and newer Intel desktop CPUs and AMD ryzen CPUs need 768mb per thread “6-Way”. You can reduce the #-Way at compile for SBC’s that don’t have enough RAM. SBC instructions here: http://indiweb.de/doku.php

Used Server Hardware

AMD

Opteron 62xx or 63xx are popular. They require 384mb per thread and can support quad channel RAM. 2P and 4P used servers are readily available from Ebay, popular models include Dell R815, HP DL385 G7 & G8, HP sl165Z, Supermicro H8DGU-F motherboards. These systems require ECC RAM(PC3-10600R, PC3-10600R, PC3-12800r, PC3-12800E). Please check OEM specification for RAM compatibility. (i.e Dell R815 cannot support PC3-12800 RAM)

Older AMD hardware is not recommended due to low/bad performance and new EPYC AMD systems have not been tested yet. (Chances are the new hardware is really good, but expensive)

Intel

Socket 1366 Xeons require 384mb per thread and can support triple channel RAM. 2P servers are readily available on ebay, 4P can be found but less availability. These systems require ECC RAM (PC3-8500R, PC3-8500E, PC3-10600R, PC3-10600R). Please check OEM specification for RAM compatibility.

E5-Xeons require 768mb per thread and can support quad channel RAM. 2P servers are available on ebay , but the cheapest way to build a E5-Xeon server is by purchasing individual parts. v3/v4 ES/QS CPUs are your best bet for a reasonable price CPU. (Do not get v1/v2 ES/QS CPU’s, finding a motherboard with the correct BIOS is nearly impossible) These systems require ECC RAM v1/v2 =(PC3-10600R, PC3-12800r, PC3-12800E), v3/v4 =(PC4-2133p, PC4-2400p)

Older Intel hardware is not recommended due to low/bad performance and new Platinum/Gold Intel Xeon systems have not been tested yet. (Chances are the new hardware is really good, but expensive)

Used Laptops

Laptop processors and systems in general are designed to be very power efficient, because of this they are pretty good a Verium mining. The downside is you need a lot of them to amass a sizeable amount of hashes and they are not designed for 24/7 use and may require additional cooling. If you have access to laptops that are free or very cheap this can be a good route to go. If you are buying used laptops for mining I would run the numbers twice before spending any money on them, you can probably do better with servers or SBC’s.

Single Board Computers (SBC)

Odroid XU4’s are popular. SBC systems in general are designed to be very power efficient, because of this they are pretty good a Verium mining. The downside is you need a lot of them to amass a sizeable amount of hashes. The up-front cost of SBC’s can be very high, but their power usage is very low. Remember to take into account all the required extras to make SBC’s function. (SD cards, power cables/supplies, network cables, switches, cooling, mounting mechanism, etc…) SBC’s are very good entry devices. Nearly any machine (Raspberry-, Banana-, Nano-Pi, Odroid,...) can run the wallet and miner software. For SBCs the mining software usually needs to be compiled for 1way using 128 MB per thread. Many devices have been tested in terms of their hashrate and it can fairly be stated that the Odroid platform with its Octa core CPUs (Exynos5422 big.LITTLE) and 2 GB LPDDR3 RAM outperforms any other device. By now Odroid has even released and special version of the original XU4 which is called Odroid HC1 and is designed for clustering. Rumors say that the announced MC1 might never hit the market. Considering the entry table it should be noted that despite the low hasrate the ration hashrate per energy is still good. Also, there is software out in the community that helps on the maintenance of large clusters.

Desktops

Nothing really special to say here, desktops can be all over the place from slow ones like Intel Celeron up to fast ones like AMD Threadripper. The main items to consider here are RAM channels/speed and CPU speed. Make sure you RAM channels are maxed out. . If you are buying desktops for mining I would run the numbers twice before spending any money on them, you can probably do better with servers or SBC’s.

Maintenance & Monitoring

A web-based miner monitor was initially contributed here by birty and there is an extended version here done by DerrickE as well as another one here by wienerdog. Updated frontend version forked from DerrickE's by ChiefThunderCunt here

I check my miners througj wallet by : Netstat | grep :33987 If they are connecting means they are working

Autostart miner

rc.local

crontab

you can follow these steps to make the miner auto start after a reboot: (make a run command that will startup the miner)

 nano run.sh

(add the following line, changing the values to correspond to your pool, account name, miner name, and password)

 ./cpuminer -o pool -u username.miner -p x

ctrl-o to save, ctrl-x to exit (make the run command executable)

 chmod +x run.sh

(create a startup command that is used to automatically start the miner when you reboot your system)

 nano ~/startup.sh

(add the following 2 lines, changing username to your Linux account name)

 cd /home/username/veriumMiner
 ./run.sh > run.out &

(make the startup command executable)

 chmod +x ~/startup.sh

(Tell cron to run startup at reboot)

 crontab -e

(add this as the last line in crontab, changing username to your Linux account name)

 @reboot /home/username/startup.sh 2>&1

Optimization

Linux

It was noticed, that using latest GCC version to compile the miner causes hashrate to increase. Default version in Ubuntu 16.04 is GCC 5.4.0. Basic Ubuntu GCC update instructions:

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:jonathonf/gcc-7.2
sudo apt-get update
sudo apt-get install gcc-7 g++-7

check the version:

gcc --version

update alternatives if needed:

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60

Odroid Optimization