aionnetwork / aion_miner

aion miner
57 stars 25 forks source link

0 sols/s in reference mining #20

Open rnkhouse opened 6 years ago

rnkhouse commented 6 years ago

Using this command: ./aionminer -cd 0 -cv 1 -cb 64 -ct 64 --location 127.0.0.1:3333

============================= aion reference miner======================
        Equihash<210,9> CPU&GPU Miner for AION v0.1.9
        Base on NiceHash equihash miner.
============================= aion reference miner======================

Setting log level to 2 [04:47:01][0x00007f044791d740] Using SSE2: YES [04:47:01][0x00007f044791d740] Using AVX: YES [04:47:01][0x00007f044791d740] Using AVX2: YES [04:47:07][0x00007f0444e95700] stratum | Starting miner [04:47:07][0x00007f0444e95700] stratum | Connecting to stratum server localhost:3333 [04:47:07][0x00007f043ffff700] miner#0 | Starting thread #0 (CUDA-TROMP) Tesla K80 (#0) BLOCKS=64, THREADS=64 [04:47:07][0x00007f0444e95700] stratum | Connected! [04:47:07][0x00007f0444e95700] stratum | Subscribed to stratum server [04:47:07][0x00007f0444e95700] miner | Extranonce is 40000001 [04:47:08][0x00007f0444e95700] stratum | Received new job #b8d [04:47:08][0x00007f0444e95700] stratum | Authorized worker 0x0000000000000000000000000000000000000000000000000000000000000000 [04:47:18][0x00007f044791d740] Speed [15 sec]: 3650.18 I/s, 0 Sols/s [04:47:28][0x00007f044791d740] Speed [15 sec]: 4039.2 I/s, 0 Sols/s [04:47:32][0x00007f0444e95700] stratum | Received new job #b8e [04:47:38][0x00007f044791d740] Speed [15 sec]: 3589.67 I/s, 0 Sols/s [04:47:50][0x00007f044791d740] Speed [15 sec]: 3710.4 I/s, 0 Sols/s [04:48:01][0x00007f044791d740] Speed [15 sec]: 3859.33 I/s, 0 Sols/s [04:48:12][0x00007f044791d740] Speed [15 sec]: 3833.4 I/s, 0 Sols/s [04:48:24][0x00007f044791d740] Speed [15 sec]: 3788.07 I/s, 0 Sols/s [04:48:27][0x00007f0444e95700] stratum | Received new job #b8f

CPU mining is perfectly fine. The problem is only with cuda. Chain is also fully synced.

aion-Ross commented 6 years ago

Did you build the miner(s) from source or just the compiled versions?

rnkhouse commented 6 years ago

I tried with both actually. Same result. @aion-Ross

alexander-vi commented 6 years ago

I got the same result also with Tesla P100-PCIE and Tesla M60. Tried on compiled v0.1.10 miner with GPU drivers version 390.42 on Ubuntu 16.04.

rnkhouse commented 6 years ago

It looks like from drivers perspective it's fine. There need to be some changes from aionminer code so that it supports K80 and P100 (cloud-based GPUs). Waiting for the update.

sh39sxn commented 6 years ago

For me it's the same. 0 Sol/s running on mainnet. With Tesla M60 it's working. But only 5-6 Sol/s!