# Miner- SILENTARMY v5

**URL:** https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580
**Category:** Mining
**Created:** [October 27, 2016, 7:47am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580 "2016-10-27T07:47:09Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![mrb](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mrb](https://forum.zcashcommunity.com/u/mrb)
#### Post date: [October 27, 2016, 7:47am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/1 "2016-10-27T07:47:09Z")

</div>

Official site: [GitHub - mbevand/silentarmy: Zcash miner optimized for AMD & Nvidia GPUs](https://github.com/mbevand/silentarmy)

SILENTARMY is a free open source Zcash miner for Linux with multi-GPU and Stratum support. It is written in OpenCL and has been tested on AMD/Nvidia/Intel GPUs, Xeon Phi, and more.

Important changes in v5:

- **Major 2× speedup** on some GPUs (thanks eXtremal):

- **115 sol/s** on R9 Nano
- **75 sol/s** on RX 480
- **70 sol/s** on GTX 1070

- **Large CPU usage reduction** : it should now be close to zero (except Nvidia: [sa-solver 100% CPU core with nvidia · Issue #54 · mbevand/silentarmy · GitHub](https://github.com/mbevand/silentarmy/issues/54))
- **Major PCIe bandwidth reduction** : from 100 MB/s to 500 kB/s per GPU
- Implement stratum.reconnect

Full changelog: [silentarmy/CHANGELOG.md at master · mbevand/silentarmy · GitHub](https://github.com/mbevand/silentarmy/blob/master/CHANGELOG.md)

Be sure to check the README for installation instructions: [silentarmy/README.md at master · mbevand/silentarmy · GitHub](https://github.com/mbevand/silentarmy/blob/master/README.md)

SILENTARMY was initially written as a command line solver for the Zcash open source miner challenge. Its OpenCL kernel is more optimized than any other public Equihash solver, so as a result it was integrated into multiple other miners: Zogminer, Genoil’s miner, eXtremal’s miner, etc. But now I have developed SILENTARMY into a full miner of its own.

**Update:** Claymore has been using some of SILENTARMY’s code without respecting the MIT license, but the issue is now resolved: [Summary of Claymore's miner infringing on mrb's SILENTARMY miner MIT license](https://bitcointalk.org/index.php?topic=1672931.0)

SILENTARMY has been tested and is known to work with various pools:

- [http://zcash.flypool.org](http://zcash.flypool.org)
- [https://zec.nanopool.org](https://zec.nanopool.org)
- [https://zec.suprnova.cc](https://zec.suprnova.cc)
- [https://zcash.nicehash.com](https://zcash.nicehash.com)
- etc

Links:  
GitHub: [GitHub - mbevand/silentarmy: Zcash miner optimized for AMD & Nvidia GPUs](https://github.com/mbevand/silentarmy)  
Bitcointalk forum thread: [SILENTARMY v5: Zcash miner, 115 sol/s on R9 Nano, 70 sol/s on GTX 1070](https://bitcointalk.org/index.php?topic=1666489.0)

Mining on my test machine (RX 480 8GB and R9 Nano at stock clocks):

![](https://global.discourse-cdn.com/zcash/original/2X/6/649d7f4f18b0b6f59b1f042a6a5791bbce86b2ab.png)

The initial version of this post has been preserved below the line, for historical reasons:

* * *

Some of you might recognize my handle from the Bitcoin community. I wrote hdminer which was at one point the fastest GPU miner ([The fastest HD 69xx miner. 250 BTC.](https://bitcointalk.org/index.php?topic=2949.0)) and I introduced and documented the technique of down-plugging PCIe x16 GPUs via x1 extenders (from my password brute forcing research: [Whitepixel breaks 28.6 billion password/sec](http://blog.zorinaq.com/whitepixel-breaks-286-billion-passwordsec/)).

Well, I am pleased to announce my submission to the Zcash miner challenge.

SILENTARMY is an OpenCL solver that runs best on AMD GPUs. The code is unoptimized - this is a version I just got running for the first time this morning (12 hours ago) and I spent the entire day tweaking some settings and running tests. The performance is:

- 45.7 Sol/s with one R9 Nano, stock firmware
- 39.6 Sol/s with one RX 480, stock firmware

This is with the AMDGPU-PRO driver 16.30 on 64-bit Ubuntu 16.04. I plan to turn it into a fully featured miner ASAP. For now it is time for me to go to bed 🙂

Miners integrating the SILENTARMY OpenCL kernel:

- Genoil’s miner: [GitHub - Genoil/ZECMiner: ZCash AMD OpenCL stratum miner for Windows](https://github.com/Genoil/ZECMiner)
- Zogminer: [Miner- SILENTARMY v5 - #222 by hamba](https://forum.zcashcommunity.com/t/silentarmy-45-7-sol-s-with-one-r9-nano/3580/222) (code at [GitHub - nginnever/zogminer: an OpenCL Zcash GPU miner](https://github.com/nginnever/zogminer))
- eXtremal’s miner: [Open Source ZEC (ZCash) GPU Miner AMD & NVidia (up to 45 sol/s on RX480)](https://bitcointalk.org/index.php?topic=1660023.0)

---

<div class="post-metadata">

### Author: ![nimos](https://avatars.discourse-cdn.com/v4/letter/n/5f8ce5/32.png) [@nimos](https://forum.zcashcommunity.com/u/nimos)
#### Post date: [October 27, 2016, 7:50am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/2 "2016-10-27T07:50:25Z")

</div>

Good news ! …

---

<div class="post-metadata">

### Author: ![fomosapiens](https://avatars.discourse-cdn.com/v4/letter/f/b5a626/32.png) [@fomosapiens](https://forum.zcashcommunity.com/u/fomosapiens)
#### Post date: [October 27, 2016, 7:52am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/3 "2016-10-27T07:52:24Z")

</div>

Are you able to port it to CPU miner with xenoncat optimizations?

---

<div class="post-metadata">

### Author: ![tiCeR](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@tiCeR](https://forum.zcashcommunity.com/u/tiCeR)
#### Post date: [October 27, 2016, 7:54am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/4 "2016-10-27T07:54:49Z")

</div>

Wow this sounds really good!!! I really hope to see a windows version 😕 for this soon?

---

<div class="post-metadata">

### Author: ![voxelot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voxelot/32/571_2.png) [@voxelot](https://forum.zcashcommunity.com/u/voxelot)
#### Post date: [October 27, 2016, 8:13am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/5 "2016-10-27T08:13:01Z")

</div>

Really impressive work. Good job

---

<div class="post-metadata">

### Author: ![excessu](https://avatars.discourse-cdn.com/v4/letter/e/a587f6/32.png) [@excessu](https://forum.zcashcommunity.com/u/excessu)
#### Post date: [October 27, 2016, 8:15am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/6 "2016-10-27T08:15:02Z")

</div>

Great work! Can’t wait for the integration! Thank you for your effort!

---

<div class="post-metadata">

### Author: ![voxelot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voxelot/32/571_2.png) [@voxelot](https://forum.zcashcommunity.com/u/voxelot)
#### Post date: [October 27, 2016, 8:30am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/7 "2016-10-27T08:30:06Z")

</div>

21.1 H/s on my rx480, standard settings on 1k nonces

EDIT

I did not read about running two instances

---

<div class="post-metadata">

### Author: ![lexele](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@lexele](https://forum.zcashcommunity.com/u/lexele)
#### Post date: [October 27, 2016, 8:38am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/8 "2016-10-27T08:38:47Z")

</div>

Bravo! God job!!! This numbers are in the same range as toomim’s claim.

---

<div class="post-metadata">

### Author: ![somebody](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@somebody](https://forum.zcashcommunity.com/u/somebody)
#### Post date: [October 27, 2016, 8:42am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/9 "2016-10-27T08:42:38Z")

</div>

So what needs to be done to get the same results as above?

39.6 Sol/s

---

<div class="post-metadata">

### Author: ![voxelot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voxelot/32/571_2.png) [@voxelot](https://forum.zcashcommunity.com/u/voxelot)
#### Post date: [October 27, 2016, 8:45am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/10 "2016-10-27T08:45:22Z")

</div>

> [@somebody](#):
>
> So what needs to be done to get the same results as above?
> 
> 39.6 Sol/s

EDIT

As he clearly states in the readme i did not read. You have to run two instances of the solver on one GPU

Running two i get two hash rates of 18.2H/s on one card so 36.4H/s on rx480

---

<div class="post-metadata">

### Author: ![somebody](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@somebody](https://forum.zcashcommunity.com/u/somebody)
#### Post date: [October 27, 2016, 8:46am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/11 "2016-10-27T08:46:15Z")

</div>

sweet, thanks man.

Looks like we have to wait till tomorrow for some answers since his gone to bed.

---

<div class="post-metadata">

### Author: ![superresistant](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/superresistant/32/585_2.png) [@superresistant](https://forum.zcashcommunity.com/u/superresistant)
#### Post date: [October 27, 2016, 8:56am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/12 "2016-10-27T08:56:08Z")

</div>

That is really impressive.

---

<div class="post-metadata">

### Author: ![adaseb](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@adaseb](https://forum.zcashcommunity.com/u/adaseb)
#### Post date: [October 27, 2016, 9:10am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/13 "2016-10-27T09:10:16Z")

</div>

Funny how he releases a GPU miner for FREE while Toomin’s Bros thinks their miner is worth $750K.

LOL!

---

<div class="post-metadata">

### Author: ![Enoch](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@Enoch](https://forum.zcashcommunity.com/u/Enoch)
#### Post date: [October 27, 2016, 9:15am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/14 "2016-10-27T09:15:11Z")

</div>

I suppose the guy will be the winner of the zcash openminer challenge! 👍

---

<div class="post-metadata">

### Author: ![fomosapiens](https://avatars.discourse-cdn.com/v4/letter/f/b5a626/32.png) [@fomosapiens](https://forum.zcashcommunity.com/u/fomosapiens)
#### Post date: [October 27, 2016, 9:16am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/15 "2016-10-27T09:16:51Z")

</div>

indeed… greed of some people just has no boundaries!

---

<div class="post-metadata">

### Author: ![Dzonkarlo](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Dzonkarlo](https://forum.zcashcommunity.com/u/Dzonkarlo)
#### Post date: [October 27, 2016, 9:23am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/16 "2016-10-27T09:23:48Z")

</div>

Awesome solver mate.

2x Sapphire RX 470 reference cards with 1500 Mhz memory strap modded bios

GPU 0  
./silentarmy --nonces 100 --use 0  
21.9 and 21.9

GPU 1  
./silentarmy --nonces 100 --use 1  
22.0 and 22.2

I have not tried running on my dual RX 480 rig yet as I need to get a new SSD.

Keep up the awesome work.

---

<div class="post-metadata">

### Author: ![adaseb](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@adaseb](https://forum.zcashcommunity.com/u/adaseb)
#### Post date: [October 27, 2016, 9:25am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/17 "2016-10-27T09:25:37Z")

</div>

Anyone successfully build this in MINGW32 on Windows 7?

Getting an error

---

<div class="post-metadata">

### Author: ![voxelot](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voxelot/32/571_2.png) [@voxelot](https://forum.zcashcommunity.com/u/voxelot)
#### Post date: [October 27, 2016, 9:28am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/18 "2016-10-27T09:28:47Z")

</div>

> [@Enoch](#):
>
> I suppose the guy will be the winner of the zcash openminer challenge! 👍

Technically it is just a kernel and not a miner at all. The real winners are the community here.

We at zogminer would be happy to drop this in zcash with your permission tomorrow

---

<div class="post-metadata">

### Author: ![Marvell9](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@Marvell9](https://forum.zcashcommunity.com/u/Marvell9)
#### Post date: [October 27, 2016, 9:34am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/19 "2016-10-27T09:34:37Z")

</div>

> [@adaseb](#):
>
> while

Yeah reallynot sure what toomin will say to this they seem to have an answer for everything

---

<div class="post-metadata">

### Author: ![nimos](https://avatars.discourse-cdn.com/v4/letter/n/5f8ce5/32.png) [@nimos](https://forum.zcashcommunity.com/u/nimos)
#### Post date: [October 27, 2016, 9:35am UTC](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580/20 "2016-10-27T09:35:54Z")

</div>

MIT License… Why wait?

[Next page](https://forum.zcashcommunity.com/t/miner-silentarmy-v5/3580.md?page=2)
