# Best GPU for mining Grin

**URL:** <https://forum.grin.mw/t/best-gpu-for-mining-grin/1654>\
**Category:** Mining\
**Created:** [January 2, 2019, 9:07am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654 "2019-01-02T09:07:31Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![keepwalking1234](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/keepwalking1234/32/818_2.png) [@keepwalking1234](https://forum.grin.mw/u/keepwalking1234)\
**Post date:** [January 6, 2019, 12:28am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/23 "2019-01-06T00:28:06Z")

</div>

what’s the reason why Tesla V100 with 32GB memory even slow than 2080Ti ? thanks!

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 6, 2019, 12:43pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/24 "2019-01-06T12:43:18Z")

</div>

Extra memory doesn’t help much on C31; newer generation Turing architecture helps more. Anyway, that was my guess; let’s wait to see performance numbers.

---

<div class="post-metadata">

**Author:** ![timolson](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/timolson/32/494_2.png) [@timolson](https://forum.grin.mw/u/timolson)\
**Post date:** [January 8, 2019, 5:08pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/25 "2019-01-08T17:08:04Z")

</div>

A fully optimized Cuckoo Cycle miner is compute-bound on GPU’s, not memory bound.

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 8, 2019, 9:34pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/26 "2019-01-08T21:34:58Z")

</div>

> [@timolson](#):
>
> compute-bound on GPU

That is not what it looks like on cuckaroo\_cuda\_29;  
a GPU typically spends 37 ms on computing and bucketing siphashes,  
and then another 188 ms edge trimming and cycle chasing.  
So even ignoring the initial bucketing, siphash computation is only about 16% of runtime.

> [@timolson](#):
>
> A fully optimized Cuckoo Cycle miner

Are you suggesting that you optimized the 188 ms down to under 37 ms, for a 3x or more total speedup?

---

<div class="post-metadata">

**Author:** ![g011um](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/g011um/32/745_2.png) [@g011um](https://forum.grin.mw/u/g011um)\
**Post date:** [January 9, 2019, 7:18am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/27 "2019-01-09T07:18:57Z")

</div>

You mentioned in another thread, in response to a question about the complexity of the cuckoo cycle PoW, compared to standard cryptographic hashes, that graph theory is a well-studied field of mathematics. Indeed. But I can’t find (probably because I don’t know exactly where to look) any strong mathematical argument that the current cuckatoo/cuckaroo implementation cannot be dramatically improved upon.

After all, the edge trimming phase where most time is now spent wasn’t part of your initial proposal.

What I am wondering is: what are the strongest arguments we have that edge trimming in its current implementation is close to optimal?

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 9, 2019, 8:22am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/28 "2019-01-09T08:22:50Z")

</div>

> [@g011um](#):
>
> what are the strongest arguments we have that edge trimming in its current implementation is close to optimal?

The observation that the lean miner only uses 2 bits of memory, 2 bit-writes, and 2 bit-reads, to verify that two connecting edges must be kept around. I cannot imagine using any less resources.

---

<div class="post-metadata">

**Author:** ![g011um](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/g011um/32/745_2.png) [@g011um](https://forum.grin.mw/u/g011um)\
**Post date:** [January 9, 2019, 10:36am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/29 "2019-01-09T10:36:25Z")

</div>

Thank you!

And what about the mean miner? Isn’t that the one used on GPU?

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 9, 2019, 10:57am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/30 "2019-01-09T10:57:46Z")

</div>

The mean miner is just our best attempt at dealing with the lack of SRAM on GPUs. They bucket-sort the edges so that we can lean mine within each bucket using the limited SRAM in each threadblock.

---

<div class="post-metadata">

**Author:** ![timolson](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/timolson/32/494_2.png) [@timolson](https://forum.grin.mw/u/timolson)\
**Post date:** [January 9, 2019, 4:05pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/31 "2019-01-09T16:05:32Z")

</div>

> [@tromp](#):
>
> Are you suggesting that you optimized the 188 ms down to under 37 ms, for a 3x or more total speedup?

My miner hasn’t done a single hash yet.  
If you look at the theoretical capabilities of a 1080 compared to the requirements of siphash, it has 1-2 orders of magnitude more memory bandwidth than needed to keep up with its siphash computation (mean miner). See my next post in the other thread about increasing graph size…

---

<div class="post-metadata">

**Author:** ![codeb2cc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/codeb2cc/32/798_2.png) [@codeb2cc](https://forum.grin.mw/u/codeb2cc)\
**Post date:** [January 10, 2019, 2:11am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/32 "2019-01-10T02:11:44Z")

</div>

> **[AMD's Radeon 7 pushes PC gaming to 'the bleeding edge'](https://www.cnet.com/news/amd-radeon-vii-announced-at-ces-available-feb-7-for-699/)**
>
> AMD's new GPU helps push 4K and frame rates to new levels -- and it launches for $699 this February.

  
AMD just release 7nm Radeon VII with 16GB VRAM and it launches for $699 this February.

---

<div class="post-metadata">

**Author:** ![Riete](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Riete](https://forum.grin.mw/u/Riete)\
**Post date:** [January 10, 2019, 9:04am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/33 "2019-01-10T09:04:43Z")

</div>

I want to buy a gtx 1080 but does it Mather what brand and what version? I would buy the gigabyte gtx 1080 g1 gaming. This should give me 3.7 gps?  
Please advise 🙂

---

<div class="post-metadata">

**Author:** ![babaji](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/babaji/32/1098_2.png) [@babaji](https://forum.grin.mw/u/babaji)\
**Post date:** [January 10, 2019, 9:08am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/34 "2019-01-10T09:08:49Z")

</div>

getting about 4gps with this 2070  
[https://www.canadacomputers.com/product\_info.php?cPath=569\_43\_1200\_557\_559&item\_id=129150](https://www.canadacomputers.com/product_info.php?cPath=569_43_1200_557_559&item_id=129150)

likely more energy efficient too!

---

<div class="post-metadata">

**Author:** ![Riete](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Riete](https://forum.grin.mw/u/Riete)\
**Post date:** [January 10, 2019, 9:12am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/35 "2019-01-10T09:12:36Z")

</div>

Maybe, but more expensive 2. I just wanted to know if the brand and version make a big difference. Or is the performance for any gtx 1080 more ore less the same?

---

<div class="post-metadata">

**Author:** ![babaji](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/babaji/32/1098_2.png) [@babaji](https://forum.grin.mw/u/babaji)\
**Post date:** [January 10, 2019, 9:18am UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/36 "2019-01-10T09:18:53Z")

</div>

i think the pricing is pretty similar, around here at least, there will be differences in speed from manufacturer to manufacturer , also there may be low end 1080’s , mid level, and high end cards offered all by the same manufacturer. Best read the specs, and compare.

here is the only chart i know of at the moment

> **[mimblewimble/docs](https://github.com/mimblewimble/docs/wiki/GPU-Mining-Stats)**
>
> Open wiki documentation for Grin and MimbleWimble. Contribute to mimblewimble/docs development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Riete](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Riete](https://forum.grin.mw/u/Riete)\
**Post date:** [January 10, 2019, 12:41pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/37 "2019-01-10T12:41:13Z")

</div>

Can someone comfirm if gtx 1060 6gb is able to mine grin? I thought that mining grin needed 8gb minimum

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 10, 2019, 12:45pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/38 "2019-01-10T12:45:37Z")

</div>

See [GPU mean memory reductions](https://forum.grin.mw/t/gpu-mean-memory-reductions/1517/19)

---

<div class="post-metadata">

**Author:** ![sandwich](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sandwich](https://forum.grin.mw/u/sandwich)\
**Post date:** [January 10, 2019, 1:10pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/39 "2019-01-10T13:10:17Z")

</div>

Yes g1 gaming is a great card. The only problem you can have is a fan failure, but fans are easy to replace . You will get 3.5 gps. Now sure about 3.7

---

<div class="post-metadata">

**Author:** ![sandwich](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sandwich](https://forum.grin.mw/u/sandwich)\
**Post date:** [January 10, 2019, 1:15pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/40 "2019-01-10T13:15:35Z")

</div>

Just don’t buy cards with:

- a blower style fans (like the founders edition) they are noisy as hell.  
-short versions with 1-2 fans instead of 3. They are fine for gaming but with mining thermals are more important

gigabyte g1 gaming is a great card I have many - they work great

---

<div class="post-metadata">

**Author:** ![Riete](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@Riete](https://forum.grin.mw/u/Riete)\
**Post date:** [January 10, 2019, 4:59pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/41 "2019-01-10T16:59:28Z")

</div>

thx for that 🙂 but i am not able to locate the cuda mean plugin for the 5.5 cards…  
in my folder : grin-miner/target/release/plugins i only find cpu plugins… where  
can i locate the cuda plugins?

---

<div class="post-metadata">

**Author:** ![IMineBlocks](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/imineblocks/32/895_2.png) [@IMineBlocks](https://forum.grin.mw/u/IMineBlocks)\
**Post date:** [January 10, 2019, 11:02pm UTC](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654/42 "2019-01-10T23:02:01Z")

</div>

I did a short test today with my GTX 1080Ti (stock clocks) and got 4.5 GPS @ 250Watts

[Previous page](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654.md?page=1)

[Next page](https://forum.grin.mw/t/best-gpu-for-mining-grin/1654.md?page=3)
