NiceHash EQM Zcash NVIDIA optimized miner [Maxwell + Pascal @ Win + Linux] + CPU Mining [v1.0.4c] 400 Sol/s @GTX 1070 (stock)


#1

Hey folks,

This is a heavily optimized Zcash (Equihash) miner for CUDA, brought to you by NiceHash.

Up to 400 Sol/s @ stock GTX 1070.

WINDOWS and LINUX

Works on all GPUs with SM5.0 or more (Maxwell and Pascal). Do not even try to run on older cards, won't work.

Also, there are some improvements regarding CPU mining; ability to use locked pages, works good on multi-cpu servers/rigs with no additional settings needed.

There are no additional settings needed for GPUs, the default should be the best for most, but just in case, several options are provided and you may choose among them (use -h to learn more).

This miner is currently compatible only with NiceHash.

DOWNLOAD WINDOWS version (Windows 7+)

DOWNLOAD Linux Ubuntu 14.04 version

DOWNLOAD Linux Ubuntu 16.04 version

(Linux versions might work on other Linux distributions as well, but haven't been tested)

Known issue on Linux: Ctrl+C does not stop the miner, you have to use stop.sh script (included in zip archive) or simply do "pkill -9 -f eqm".

If you're getting `GLIBCXX_x.x.x' not found on Ubuntu 14.04, try this:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update
sudo apt-get install libstdc++6

See eqm -h for help.

GPU mining only:

eqm -l [LOCATION] -t 0 -u [YOUR-BTC-ADDRESS] -w [WORKER-NAME]

CPU + GPU mining with 4 cores:

eqm -l [LOCATION] -t 4 -u [YOUR-BTC-ADDRESS] -w [WORKER-NAME] -cd [GPUs]

[LOCATION] = "eu", "usa", "hk", "jp"

[GPUs] = 0 1 2 3 ...

Query CUDA devices:

eqm -ci

Benchmark device 0 for 10 seconds:

eqm -t 0 -b 10 -cd 0

Launch with multiple threads/instances per CUDA device and start mining on EU location:

eqm -l eu [YOUR-BTC-ADDRESS] -w [WORKER-NAME] -t 0 -b 10 -cd 0 0

IMPORTANT: to achieve maximum speed you should enable two threads per GPU:

-cd [GPU0] [GPU0] [GPU1] [GPU1]...

for example, when using two threads per GPU while having three GPUs in the system:

-cd 0 0 1 1 2 2

or you can simply use -ca parameter to run on all cuda devices:

-ca -ca

Notes on CPU mining: this miner has support for LOCKED PAGES; it can give few extra % of performance. How to enable: https://msdn.microsoft.com/en-gb/library/ms190730.aspx (you may have to restart OS after changing). CPU mining supports "big servers" with more than 64 cores and there is no need to manually fiddle with affinities and NUMA nodes. Just set -p (number of CPUs) and -t (number of CORES per CPU) and miner automatically deals with it.


Keep on mining!

p.s.: there is another thread about this miner on this forum (called "NVIDIA GTX 970 = 50 Sol/s"), but this is now the official thread for this miner

Best regards,
NiceHash team.


Is Nvidia better than amd for mining zcash?
Complete list of Miners
#2

Sample .bat file just for a quick test?


#3

I am getting 72Sol/s on 1070 with Silentarmy (on Linux but it should be similar in Windows), there are builds for Windows available in the Silentarmy's thread.


#4

having 65 sol/s on windows with silentarmy unlocked using geforce 1060
i actually like your software (using 4.0b for cpu mining), but this miner is pretty useless
will use your miner only if he get at least 90 sol/s


#5

Ok so I got it to work but only with a BTC address

eqm.exe -l eu -u BTCAddress -t 0 -cd 0 1

90 Sol/s on 2x Titan X Maxwell

Temp: 35c :joy:


#6

See eqm -h for help.

GPU mining only:

eqm -l [LOCATION] -t 0 -u [YOUR-BTC-ADDRESS] -w [WORKER-NAME]

CPU + GPU mining with 4 cores:

eqm -l [LOCATION] -t 4 -u [YOUR-BTC-ADDRESS] -w [WORKER-NAME]

[LOCATION] = "eu", "usa", "hk", "jp"


#7

Parameters:
-h Print this help and quit
-l [location] Location (eu, usa, hk, jp)
-u [bitcoin] Username (bitcoin address)
-w [worker] Worker name (optional)
-a [port] Local API port
(default: 0 = do not bind)
-d [level] Console print level
(0 = print all, 5 = fatal only)
-f [level] File print level
(0 = print all, 5 = fatal only)
-b [seconds] Run in benchmark mode
(default: 20 seconds)

CPU settings
-p [num_cpus] Number of physical CPUs
-t [num_thrds] Number of threads per CPU
-e [ext] Force CPU ext
(0 = SSE2, 1 = AVX, 2 = AVX2)

NVIDIA CUDA settings
-ci CUDA info
-cd [devices] Enable CUDA mining on devices
-ca [mode] Async mode (set to 1)
-cp [pbuckets] Parallel buckets (1, 2, 4, 8, 16)
-cb [blocks] Number of blocks
-ct [tpb] Number of threads per block
Example: -cd 0 2 -cp 2 1 -cb 12 16 -ct 64 128


#8

Weak sauce sadly.

I have tried every variation possible and the best I can get is 52 Sol/s per Titan X Maxwell (63% power usage, 1300Mhz core, 35c)


#9

ty for sharing your performance. makes me want to try my titan X pascal when i get home from work.


#10

-cp 16 -ct 128 worked the best for me (the rest on defaults)


#11

66 - 68 Sol/s >> I7-6950X 10/20core / 4200mhz + Quad channel DDR4 3200Mhz
Not bad for CPU right :slight_smile:....... remember, memory bandwidth is everything here :wink:
55 Sol/s >> i7-5960X 8/16core / 3500mhz + Quad channel ordinary DDR4 2133Mhz
28 Sol/s >> i7-4790 4/8core / 4600mhz + dual channel DDR4 2400Mhz

77-80 Sol/s >> MSI GTX 1070 Gaming X - Core: +220Mhz, RAM + 925Mhz
(default settings)
230 Sol/s >> 3x MSI GTX 1070 Gaming X - Core: +175mhz, RAM +900Mhz


#12

Default settings as in just the normal pool settings ?


#13

Yes, like:
"eqm.exe -l eu -u 1xxxxxxxxxxxxxxxxxxxxxx -w MagicWorker -t 0 -cd 0
for 1 GTX 1070

nothing special, just nice overclocking and good cooling...Its winter already here so...I just opened the window on farm :slight_smile:


#14

How long does this miner take to show full speed?


#15

for me, less than 30 - 45secs
Still running like this, after few hours nonstop:

=====> 41.39 I/s, 77.3733 Sols/s
[03:39:35][0x00002bd8][info] Accepted: 10.6 /m Rejected: 0 /m
[03:39:36][0x000015cc][info] net | Share with id 353 accepted
[03:39:51][0x00002bd8][info] =====> 41.3867 I/s, 77.5833 Sols/s
[03:39:51][0x00002bd8][info] Accepted: 10.2 /m Rejected: 0 /m
[03:39:56][0x000015cc][info] net | Share with id 354 accepted
[03:40:02][0x000015cc][info] net | Share with id 355 accepted
[03:40:03][0x000015cc][info] net | Share with id 356 accepted
[03:40:08][0x00002bd8][info] =====> 41.3867 I/s, 77.54 Sols/s


#16

Is it possible to use this with the zcash pool? Keeps asking me for bitcoin address.


#17

nice, I get 67 sol/s on gtx980 .... still equivalent AMD (the same cores, speeds, tdp) get 120+ sol/s


#18

No, use your bitcoin addres, see answer from other thread.


#19

Strange that I was only getting 52 Sol/s on Titan X, it's close to 1.5x the speed of a GTX980. What settings are you using ?


#20

oc core:1490,mem:4000 options: -as 1 -cb 64 -ct 512 , running 2 instances for gpu, and 1 separatly for cpu