Monero Mining Performance

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
I just tried getting a node going with GitHub - zone117x/node-cryptonote-pool: Mining pool for CryptoNote based coins such as Bytecoin and Monero and failed. If someone gets it working with instructions for 16.04 I can host it for us.

@Spartus that is only <10x my current hash rate. Interesting although I wonder if it is worth just doing alone. I can make a Docker image for that so I can send to all of the nodes quickly.

I do like some of the beta features though.

@Marsh - that is a bit scary. You do not really need to run a node at this point. Plus, the Docker swarm method allows me to push new pools in seconds and, more importantly, use the nodes for something else :)
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
@Spartus - I tried the new pool with the Windows box with AMD GPUs. [16:34:25] Share rejected (Low difficulty share): 0/16 (0.00%)

I tried doing fixed difficulty, the 5555 the 7777 and nothing is working.
 

Marsh

Moderator
May 12, 2013
2,643
1,496
113

MiniKnight

Well-Known Member
Mar 30, 2012
3,072
973
113
NYC
@Marsh - what is this?

Code:
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25
Random bitcoin repo that's not needed for libdb4.8-dev libdb4.8++-dev.

@Patrick and everyone this is now 14 pages long and not talking about monero benchmarking. Time to split to new threads? I think we could make some more not just the docker images one.
 

Marsh

Moderator
May 12, 2013
2,643
1,496
113
Congrat on your 9th block. Wish I have more XMR.

In last 15 min, manage to get the node-cryptonote-pool running.
I made a bad choice yesterday using Ubuntu 16.x , just could not make all the pieces of software worked.

This morning, installed Ubuntu 14.x using Proxmox VM, following the Blog site instructions.
Waited for monerod sync finished. I am now mining with my private pool.

Reason to have my private pool, during hot summer day, I lived on 1 and 1/2 acre lot, the cable that carried Comcast internet between my house to the pole is about 6 to 7 hundreds feet. I would not have reliable Internet during over 90 degree days.
If I mine with MinerGate, I would incurred penalty for many thousand bad shares.
 

Marsh

Moderator
May 12, 2013
2,643
1,496
113
So far , I edit 2 files
Very minor changes just to get pool server running.
There are lots option, I still not sure how all related and best practice.
Config.json for node pool server
Config.js for Apache web front software.

I have not worked on proper startup and shutdown script.

Example: Best practice ??? ( not sure which is right way )
I tried all 3 method to start monerod , all 3 ways worked
monerod --detach --rpc-bind-ip 192.168.1.21
or
monerod --detach --rpc-bind-ip 127.0.0.1
or
monerod --detach

proper shutdown otherwise monerd would not save blockchain, next time monerod start, it would require entire resync from last save
You must issue this command monerd exit
 

Klee

Well-Known Member
Jun 2, 2016
1,289
396
83
Finally was able to compile and run Wolf's XMR GPU miner under Ubuntu 16.04 and AMDGPU-PRO, had to figure out a buffer overflow issue.

How is this?
[20:46:06] Thread 17, (CPU): 37.10H/s
[20:46:06] Thread 26, (CPU): 37.44H/s
[20:46:06] Thread 13, (CPU): 36.39H/s
[20:46:06] Thread 33, (CPU): 35.74H/s
[20:46:06] Thread 8, (CPU): 35.51H/s
[20:46:06] Thread 4, (CPU): 35.89H/s
[20:46:06] Thread 2, (CPU): 36.89H/s
[20:46:06] Thread 16, (CPU): 38.25H/s
[20:46:06] Thread 21, (CPU): 33.51H/s
[20:46:06] Thread 10, (CPU): 37.74H/s
[20:46:06] Thread 23, (CPU): 33.89H/s
[20:46:06] Thread 32, (CPU): 39.23H/s
[20:46:06] Thread 28, (CPU): 38.49H/s
[20:46:06] Thread 6, (CPU): 38.41H/s
[20:46:06] Thread 25, (CPU): 38.94H/s
[20:46:06] Thread 20, (CPU): 35.03H/s
[20:46:06] Thread 27, (CPU): 36.27H/s
[20:46:06] Thread 9, (CPU): 36.04H/s
[20:46:06] Thread 12, (CPU): 39.17H/s
[20:46:06] Thread 14, (CPU): 34.87H/s
[20:46:06] Thread 30, (CPU): 35.94H/s
[20:46:06] Thread 24, (CPU): 37.25H/s
[20:46:06] Thread 11, (CPU): 34.79H/s
[20:46:06] Thread 5, (CPU): 34.91H/s
[20:46:06] Thread 15, (CPU): 35.02H/s
[20:46:06] Thread 31, (CPU): 39.32H/s
[20:46:06] Thread 19, (CPU): 34.26H/s
[20:46:06] Thread 7, (CPU): 38.90H/s
[20:46:06] Thread 29, (CPU): 36.00H/s
[20:46:06] Thread 18, (CPU): 34.56H/s
[20:46:06] Thread 22, (CPU): 35.01H/s
[20:46:06] Thread 3, (CPU): 35.40H/s
[20:46:06] Thread 1, GPU ID 1, GPU Type: Ellesmere: 567.36H/s
[20:46:07] Thread 0, GPU ID 0, GPU Type: Ellesmere: 567.36H/s
[20:46:09] Thread 28, (CPU): 39.20H/s
[20:46:09] Share accepted: 106/106 (100.00%)
[20:46:09] Total Hashrate: 2301.61H/s
 
  • Like
Reactions: Patrick and Marsh

Marsh

Moderator
May 12, 2013
2,643
1,496
113
My Private Pool
Hash Rate: 5.06 KH/sec
Block Found Every: 2 weeks (est.)

If I mined 1 block every 2 weeks, it would be more profitable then mining with MinerGate
 

Marsh

Moderator
May 12, 2013
2,643
1,496
113
@Patrick , I'll be glad to help with setup with limited experience.

Here are some notes that I learned to have monerod blockchain first time full sync
Two methods:
1) import blockchain.raw then sync uptodate
mkdir /monero
cd /monero
wget https://downloads.getmonero.org/monero.linux.x64.v0-10-1-0.tar.bz2
tar -xjvf monero.linux.x64.v0-10-1-0.tar.bz2

wget -c --progress=bar https://downloads.getmonero.org/blockchain.raw
./monero-blockchain-import --verify 0 --input-file ./blockchain.raw

Then start monerd to sync blockchain uptodate
./monerd status
./monerd save # save blockchain to DB
./monerd exit # save and exit

2) have monerod perform full sync over network
./monerod --out-peers 1 --p2p-bind-ip 127.0.0.1 --db-sync-mode fast:async:1000 --add-exclusive-node node.moneroworld.com
MoneroWorld
Available Moneroworld Open Node Addresses

After sync is completed , restart monerod with these args
./monerod --detach --db-sync-mode safe

Since Patrick's datacenter has fast internet speed, doing a full sync should be just as fast as import and sync.
I tried both ways at home, I think full sync from network is faster.

FYI, my monoero pool VM is allocated with 2 vCPU ( 20% usage , physical CPU is I5-3570 ), 8GB memory ( 1.7GB used )
 

Spartus

Active Member
Mar 28, 2012
323
121
43
Toronto, Canada
The new pool im on is a little small, but they still find a couple blocks a day so anyone planning on mining for the period of weeks will still see good averages. They also had a killer first two days, I was about 250% above normal success, but obviously that is no indicator for the future.

Your Wolf AMD miner on Windows had shares rejected on new pool, and so did mine. I switched to XMR-Stak-AMD miner for gpu, it is newer and has some fixes, but is no faster. Also, the developer of the stak miner is on the supportxmr.com pool and you can talk to him in chat regularly. Once it was working there was no penalties or anything, so i would point the GPU's there over minergate at a minimum.

Also, i setup the same pool software as supportxmr.com uses, but it was way too beta and I found a nice pool with 0.6% fee and no transaction fees so I'm just going to stick with that.
 

Spartus

Active Member
Mar 28, 2012
323
121
43
Toronto, Canada
Marsh, i would probably not recommend solo on 5k/s, too inconsistent, practically a lottery. Paying a 0.5% to 1% pool fees is worth the stability IMO.
 

Marsh

Moderator
May 12, 2013
2,643
1,496
113
Marsh, i would probably not recommend solo on 5k/s, too inconsistent, practically a lottery. Paying a 0.5% to 1% pool fees is worth the stability IMO
You are right,
With first 14 days of mining , I found 2 blocks , but only received around 5.x XMR for my effort.
I thought I try my luck on my own for a month to see if I could break even.
 

Klee

Well-Known Member
Jun 2, 2016
1,289
396
83
Quick guide as to how I was able to compile and run Wolfs GPU miner on Ubuntu 16.04:

Fresh install of Ubuntu 16.04.01 and then update it.

I installed opencl-headers with apt-get as it is needed to compile the miner without an error.

Downloaded "amdgpu-pro-16.60-379184.tar.xz" from AMD's website and installed per AMD's install guide.

Downloaded "AMD-APP-SDKInstaller-v3.0.130.136-GA-linux64.tar.bz2" also from AMD and installed per AMD's install guide. Also needed to compile without an error.

Went to "GitHub - wolf9466/wolf-xmr-miner: Wolf's OpenCL XMR Miner for AMD GPUs" and clicked on the "clone or download" green button and downloaded "wolf-xmr-miner-master.zip"
and extracted it.

EDIT: Make sure to read the install info and the tip about "hugepages" and then install the dependencies.

"sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-6 g++-6 libjansson-dev -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6"


The first time I tried to compile it failed because of an error that it could not locate a OpenCL file.

So I typed this command " sudo ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so"

Ran "make" to compile it.

Next I ran "./miner xmr.conf" , I did not change anything in the xmr.conf file because I just wanted to make sure it ran.

The program started but crashed with a buffer overflow error.

So I changed the CFLAGS line in the Makefile in this way:

Original: "CFLAGS = -D_POSIX_SOURCE -D_GNU_SOURCE $(OPT) -c -std=c11"

Changed to : "CFLAGS = -D_POSIX_SOURCE -D_GNU_SOURCE $(OPT) -c -std=c11 -D_FORTIFY_SOURCE=0"

Ran make again and it compiled ok.

Then I ran "./miner xmr.conf" and it ran.

So I edited the "xmr.conf" file for my info and the pool info and added the configuration for the second RX480.

Seems to run great now , I have been tweeking the "xmr.conf" file to see if I can get better performance.


So @Klee how did you do it? I want to try :)

@Marsh I feel like I will be doing the same soon.
If you do set one up @Patrick I want access.

And +1 for wanting to know how you did that @Klee. Did you need a GUI?
I need a GUI because its my play computer and I prefer it, did not try to run it without loading X.
 
Last edited: