<p>There is a nice wiki page here: <a href="https://en.bitcoin.it/wiki/Mining_hardware_comparison">https://en.bitcoin.it/wiki/Mining_hardware_comparison</a></p>

<p>The raspberry pi is listed by its processor in the arm section: ARM1176JZ(F)-S. It gets 0.2 Mhash/s when clocked at 800 MHz.</p>

CC BY-SA 3.0
2013-03-17T15:07:10.303Z
Hey Gus, welcome to bitcoin.SE! Please don't post just a link, because if the link is dead, then the answer isn't useful. I've edited your answer to fix that. Thanks!
Nick ODell
CC BY-SA 3.0
2013-12-16T03:30:24.310Z
This is not a useful answer because that page doesn't consider the pi GPU.
Scuba Steve
CC BY-SA 3.0
2013-03-17T12:10:13.563Z
2013-03-17T15:04:01.753Z
2013-03-17T15:04:01.753Z
JimCricket
<p>The Raspberry Pi uses the VideoCore IV series of GPU, which to my understanding are either a single or dual core GPU running at or around 700 MHz. Since the primary benefit of GPU mining is that you can run many parallel processes on the hundreds of cores typically found in most GPUs, the single-core nature of the VideoCore GPU undoes most of that benefit.</p>

<p>I don't have exact numbers, nor the necessary knowledge to compute an estimate, but I can tell you that the Folding@Home folks <a href="http://www.raspberrypi.org/forum/projects-and-collaboration-general/distributed-computing-like-fh">already discussed this</a> and came to the conclusion that an AMD Phenom II X4 940 was almost 5 times as efficient for their needs as utilizing both the CPU and GPU of the Raspberry Pi. Since the needs of Folding@Home are very similar (but not identical) to Bitcoin's, it's probably not a stretch to say that if CPU mining (admittedly with a fairly nice CPU) is 5x more efficient, the Raspberry Pi doesn't look like a strong contender.</p>

<p>Of course, until we have solid MH/s and actual at-the-wall wattage numbers it's very difficult to say if, at scale, a cluster of $35 Raspberry Pis could compete with other setups on initial price or power cost. Personally, I'd guess not.</p>

CC BY-SA 3.0
2012-03-17T21:26:13.493Z
Thanks. Will leave this one open awaiting a more definitive figure though. From the thread you linked to, it sounds like the (API) access to the GPU may not be adequate to efficiently use it for mining, which would make a big difference.
Highly Irregular
CC BY-SA 3.0
2012-03-15T01:09:50.753Z
2012-03-15T01:09:50.753Z
David Perry
<p>It gets less than 200kh/s on the CPU proof here <a href="http://www.youtube.com/watch?v=rrdzam7voOg&amp;list=UUdOgdYMe-hwv2_uUtYlqLDQ&amp;index=1&amp;feature=plcp" rel="noreferrer">http://www.youtube.com/watch?v=rrdzam7voOg&amp;list=UUdOgdYMe-hwv2_uUtYlqLDQ&amp;index=1&amp;feature=plcp</a></p>

CC BY-SA 3.0
2012-09-17T17:57:35.747Z
2012-09-17T17:57:35.747Z
James Dawson
<p>The one thing I should probably answer on is about the difference between OpenGL / OpenGL-ES and OpenCL. Both OpenGL and OpenCl can be used for SHA256d hashing, but OpenCl is used much more frequently. </p>

<p>Where as GL means Graphics Language and CL stands for Compute Language. GL is for graphics and CL is for mathematical and scientific calculations. While your system may have OpenGL support of some sort, it's more than likely doesn't have OpenCL 1 &amp; 2 support for the GP-GPU (VideoCore IV) which would allow you to get okay to medium hash rates. As I see to remember, the VideoCore IV in the Pi doesn't support it in hardware (OpenCL version 1 or 2). </p>

<p>Which means you'd have to rely on those ASIC miners that are connected via the USB port hub or even a dedicated mining rig that is connected via the UTP network connector (RJ-45 jack / Ethernet). </p>

<p>Well, at least we're having a good amount of information / data coming out so the next people that read this will have a good idea on what to do with their RPIs if they want to do any mining.</p>

CC BY-SA 3.0
2018-03-13T14:31:35.043Z
Here is a topic from dec 2017 https://www.raspberrypi.org/forums/viewtopic.php?t=194952&start=25 about OpenCL mining. Quote `If you are referring to https://github.com/ethereum-mining/ethminer, it won't work, since its OpenCL kernel requires 64-bit data-types (ulong), which are not supported`
JP Hellemons
CC BY-SA 3.0
2013-07-21T06:28:52.017Z
2015-03-06T21:37:16.190Z
2015-03-06T21:37:16.190Z
user6016
<p>I will step up and answer the Raspberry Pi question too. The RPI in and of itself is not worth using to do virtual currency mining on by itself. However, if you a nice powered USB hub and connect in the ASICs that plug in via the USB ports and download the proper software that can access these devices, then you've got a descent mining rig to speak of.</p>

<p>Note:</p>

<p>Due to the way in which the ASICs are designed, they can only do SHA256D and that alone although, performance per watt is the best way to go. Essentially, all the RPI does is act as the surrogate for all the ASIC slave units and constantly feeds them data and ferries the data hashes back and forth from their source.</p>

<p>You can't use Scrypt with these USB ASICs at all. You'll be stuck using the GETWORK protocol until someone can come up with an ASIC that can do both SHA256D and Scrypt.</p>

<p>One last thing, you may have heard of the Stratum protocol vs. the old GETWORK protocol. This can be used with Scrypt or SHA256D algorithms. Stratum helps you get less stale and has even better network performance than the old protocol.</p>

<p>Hope this clears things up like my message above.</p>

CC BY-SA 3.0
2013-07-19T08:25:50.287Z
Thanks for the answer! A Pi goes nicely with ASICs too because it keeps the overall power consumption very low, especially if you're only running small low-wattage ASICs like the 330MH/s block eruptors...
Highly Irregular
CC BY-SA 3.0
2013-07-19T07:43:04.120Z
2013-07-19T07:43:04.120Z
user6016
<p>Great summary here:</p>

<p><a href="https://www.electromaker.io/blog/article/cryptocurrency-mining-on-the-raspberry-pi-60" rel="nofollow noreferrer">https://www.electromaker.io/blog/article/cryptocurrency-mining-on-the-raspberry-pi-60</a></p>

<p>Also includes a step-by-step guide on how to mine crypto currency on the Raspberry pi</p>

CC BY-SA 3.0
2018-04-06T12:30:42.323Z
You should elaborate on what the link covers a bit. Answers containing only a link are useless in the future if the link ceases to work
Raghav Sood
CC BY-SA 3.0
2018-04-06T15:17:25.097Z
Welcome to Bitcoin! Whilst this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.
Ava Chow
CC BY-SA 3.0
2018-04-06T11:36:10.227Z
2018-04-06T11:36:10.227Z
richelliot
<p>Do you even know what FLOPS are, first off?</p>

<p>FLOPS stands for FLoating-point OPerations per Second. Hashes are calculated via signed integers in the form of hexadecimal numbers, those numbers are then run through a series of logical operations (You know; AND, OR, NOR, XOR, NAND).</p>

<p>FLOPS means absolutely jack when it comes to your processing speed of your Hash Bashing rig (your crypto-currency mining computer).</p>

<p>ATI cards are known for their single-precision floating point performance over Nvidia, that much is true.</p>

<p>ATI also has better signed and unsigned integer performance than Nvidia does too.</p>

<p>ATI has slightly better logical operations per second than Nvidia does.</p>

<p>Now, floating point is screaming fast on the ATIs as compared to the Nvidia but it's too bad it's not actually being used for SHA256D and Scrypt.</p>

<p>Integers both signed and unsigned actually take less time on the CPU or GP-GPU to calculate and thus much faster.</p>

<p>The logical operations are the slowest and since you use a combination of both logical and unsigned integer you get a composite average of the performance between the two and of course the implementation of the mining application.</p>

<p>If it's done correctly, you should get around 85 to 90% maximum of what your card or embedded system claims it's capable of doing. Simply put, you will never achieve 100% because you have an operating system that is using the card and of course interfacing to the rest of the system.</p>

<p>While the indicators tell you are getting 100% of the cores, what it's really means is that you are getting 100% of the 85 ~ 90% theoretical maximum you can achieve with the hardware you have.</p>

<p>I hope this clears things up for y'all.</p>

CC BY-SA 3.0
2013-07-19T07:34:06.933Z
2013-07-19T07:34:06.933Z
user6016
<p>I dont think you will find a Pi economic for 'mining', ASICs have far higher hashes per watt.
However if you put a Proof of Stake coin on your Pi you can get excellent ROI depending on the price of the coin and the reward structure.</p>

<p>PoS uses 1 hash per second per UTXO, so even a lowly Pi Zero for $8 can easily run a PoS coin from a hashing perspective (I stake Pinkcoin on mine).  The other consideration with PoS and SBCs is RAM, longer chains need to load more into RAM (I believe its the chain index), so for chains with over a million blocks Id recommend a Pi2 or 3, much over 2 million you prpbably need to look into an SBC with higher RAM, like a Rock64.</p>

CC BY-SA 3.0
2018-03-20T10:50:37.317Z
2018-03-20T10:50:37.317Z
Scalextrix
<p>A <a href="http://www.raspberrypi.org/" rel="noreferrer">Raspberry Pi</a> is a credit card sized $25 (or $45, for the deluxe option) computer, designed for educational use. Has anyone tried running mining software on it? If so, what's the hashrate like? (apparently the CPU is approximately equivalent to a P2 300MHz - I know the hashrate will be very low!)</p>
<p>Also, can the GPU be used to mine? What's the hashrate for that, if it's been done.</p>
<p>From the FAQ on the above linked site: &quot;<em>The GPU provides Open GL ES 2.0, hardware-accelerated OpenVG, and 1080p30 H.264 high-profile decode.
The GPU is capable of 1Gpixel/s, 1.5Gtexel/s or 24 GFLOPs of general purpose compute and features a bunch of texture filtering and DMA infrastructure.
That is, graphics capabilities are roughly equivalent to Xbox 1 level of performance. Overall real world performance is something like a 300MHz Pentium 2, only with much, much swankier graphics.</em>&quot;</p>
<p>Note: The price of $25 or $45 excludes a way of powering it (via MicroUSB), a keyboard, a mouse and likely a USB hub. I think you need to provide an SD card too.</p>

CC BY-SA 3.0
2017-09-13T07:30:08.393Z
Did you ever try this your self? On my Mac, I have cpuminer minerd and cgminer 3.7.2 for the amd Radeon . I imagine you can run two separate mining programs.
Sun
CC BY-SA 3.0
2012-03-15T00:52:16.347Z
Not quite an exact duplicate of [this question](http://bitcoin.stackexchange.com/questions/2308/could-the-25-16-raspberry-pi-computer-be-used-to-run-mining-equipment) but there may be some good info there for you.
David Perry
<mining-hardware><raspberry-pi>
What hash rate can a Raspberry Pi achieve? Can the GPU be used?
Highly Irregular
# What hash rate can a Raspberry Pi achieve? Can the GPU be used?

(Asked by: username_0 on 2012-03-15)

A [Raspberry Pi](http://www.raspberrypi.org/) is a credit card sized $25 (or $45, for the deluxe option) computer, designed for educational use. Has anyone tried running mining software on it? If so, what's the hashrate like? (apparently the CPU is approximately equivalent to a P2 300MHz - I know the hashrate will be very low!)

Also, can the GPU be used to mine? What's the hashrate for that, if it's been done.

From the FAQ on the above linked site: "*The GPU provides Open GL ES 2.0, hardware-accelerated OpenVG, and 1080p30 H.264 high-profile decode.
The GPU is capable of 1Gpixel/s, 1.5Gtexel/s or 24 GFLOPs of general purpose compute and features a bunch of texture filtering and DMA infrastructure.
That is, graphics capabilities are roughly equivalent to Xbox 1 level of performance. Overall real world performance is something like a 300MHz Pentium 2, only with much, much swankier graphics.*"

Note: The price of $25 or $45 excludes a way of powering it (via MicroUSB), a keyboard, a mouse and likely a USB hub. I think you need to provide an SD card too.

**Tags:** mining-hardware, raspberry-pi

> **Comments:**
> **username_2**: Not quite an exact duplicate of [this question](http://bitcoin.stackexchange.com/questions/2308/could-the-25-16-raspberry-pi-computer-be-used-to-run-mining-equipment) but there may be some good info there for you.  
> **username_1**: Did you ever try this your self? On my Mac, I have cpuminer minerd and cgminer 3.7.2 for the amd Radeon . I imagine you can run two separate mining programs.  

---

## 8 answers

### Answer by username_3 on 2013-03-17. Score: 13

There is a nice wiki page here: <https://en.bitcoin.it/wiki/Mining_hardware_comparison>

The raspberry pi is listed by its processor in the arm section: ARM1176JZ(F)-S. It gets 0.2 Mhash/s when clocked at 800 MHz.

> **Comments:**
> **username_4**: Hey Gus, welcome to bitcoin.SE! Please don't post just a link, because if the link is dead, then the answer isn't useful. I've edited your answer to fix that. Thanks!  
> **username_5**: This is not a useful answer because that page doesn't consider the pi GPU.  

---

### Answer by username_2 on 2012-03-15. Score: 10

The Raspberry Pi uses the VideoCore IV series of GPU, which to my understanding are either a single or dual core GPU running at or around 700 MHz. Since the primary benefit of GPU mining is that you can run many parallel processes on the hundreds of cores typically found in most GPUs, the single-core nature of the VideoCore GPU undoes most of that benefit.

I don't have exact numbers, nor the necessary knowledge to compute an estimate, but I can tell you that the Folding@Home folks [already discussed this](http://www.raspberrypi.org/forum/projects-and-collaboration-general/distributed-computing-like-fh) and came to the conclusion that an AMD Phenom II X4 940 was almost 5 times as efficient for their needs as utilizing both the CPU and GPU of the Raspberry Pi. Since the needs of Folding@Home are very similar (but not identical) to Bitcoin's, it's probably not a stretch to say that if CPU mining (admittedly with a fairly nice CPU) is 5x more efficient, the Raspberry Pi doesn't look like a strong contender.

Of course, until we have solid MH/s and actual at-the-wall wattage numbers it's very difficult to say if, at scale, a cluster of $35 Raspberry Pis could compete with other setups on initial price or power cost. Personally, I'd guess not.

> **Comments:**
> **username_0**: Thanks. Will leave this one open awaiting a more definitive figure though. From the thread you linked to, it sounds like the (API) access to the GPU may not be adequate to efficiently use it for mining, which would make a big difference.  

---

### Answer by username_6 on 2012-09-17. Score: 6

It gets less than 200kh/s on the CPU proof here <http://www.youtube.com/watch?v=rrdzam7voOg&list=UUdOgdYMe-hwv2_uUtYlqLDQ&index=1&feature=plcp>


---

### Answer by username_7 on 2013-07-21. Score: 2

The one thing I should probably answer on is about the difference between OpenGL / OpenGL-ES and OpenCL. Both OpenGL and OpenCl can be used for SHA256d hashing, but OpenCl is used much more frequently.

Where as GL means Graphics Language and CL stands for Compute Language. GL is for graphics and CL is for mathematical and scientific calculations. While your system may have OpenGL support of some sort, it's more than likely doesn't have OpenCL 1 & 2 support for the GP-GPU (VideoCore IV) which would allow you to get okay to medium hash rates. As I see to remember, the VideoCore IV in the Pi doesn't support it in hardware (OpenCL version 1 or 2).

Which means you'd have to rely on those ASIC miners that are connected via the USB port hub or even a dedicated mining rig that is connected via the UTP network connector (RJ-45 jack / Ethernet).

Well, at least we're having a good amount of information / data coming out so the next people that read this will have a good idea on what to do with their RPIs if they want to do any mining.

> **Comments:**
> **username_8**: Here is a topic from dec 2017 https://www.raspberrypi.org/forums/viewtopic.php?t=194952&start=25 about OpenCL mining. Quote `If you are referring to https://github.com/ethereum-mining/ethminer, it won't work, since its OpenCL kernel requires 64-bit data-types (ulong), which are not supported`  

---

### Answer by username_7 on 2013-07-19. Score: 1

I will step up and answer the Raspberry Pi question too. The RPI in and of itself is not worth using to do virtual currency mining on by itself. However, if you a nice powered USB hub and connect in the ASICs that plug in via the USB ports and download the proper software that can access these devices, then you've got a descent mining rig to speak of.

Note:

Due to the way in which the ASICs are designed, they can only do SHA256D and that alone although, performance per watt is the best way to go. Essentially, all the RPI does is act as the surrogate for all the ASIC slave units and constantly feeds them data and ferries the data hashes back and forth from their source.

You can't use Scrypt with these USB ASICs at all. You'll be stuck using the GETWORK protocol until someone can come up with an ASIC that can do both SHA256D and Scrypt.

One last thing, you may have heard of the Stratum protocol vs. the old GETWORK protocol. This can be used with Scrypt or SHA256D algorithms. Stratum helps you get less stale and has even better network performance than the old protocol.

Hope this clears things up like my message above.

> **Comments:**
> **username_0**: Thanks for the answer! A Pi goes nicely with ASICs too because it keeps the overall power consumption very low, especially if you're only running small low-wattage ASICs like the 330MH/s block eruptors...  

---

### Answer by username_9 on 2018-04-06. Score: 1

Great summary here:

<https://www.electromaker.io/blog/article/cryptocurrency-mining-on-the-raspberry-pi-60>

Also includes a step-by-step guide on how to mine crypto currency on the Raspberry pi

> **Comments:**
> **username_10**: You should elaborate on what the link covers a bit. Answers containing only a link are useless in the future if the link ceases to work  
> **username_11**: Welcome to Bitcoin! Whilst this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.  

---

### Answer by username_7 on 2013-07-19. Score: 0

Do you even know what FLOPS are, first off?

FLOPS stands for FLoating-point OPerations per Second. Hashes are calculated via signed integers in the form of hexadecimal numbers, those numbers are then run through a series of logical operations (You know; AND, OR, NOR, XOR, NAND).

FLOPS means absolutely jack when it comes to your processing speed of your Hash Bashing rig (your crypto-currency mining computer).

ATI cards are known for their single-precision floating point performance over Nvidia, that much is true.

ATI also has better signed and unsigned integer performance than Nvidia does too.

ATI has slightly better logical operations per second than Nvidia does.

Now, floating point is screaming fast on the ATIs as compared to the Nvidia but it's too bad it's not actually being used for SHA256D and Scrypt.

Integers both signed and unsigned actually take less time on the CPU or GP-GPU to calculate and thus much faster.

The logical operations are the slowest and since you use a combination of both logical and unsigned integer you get a composite average of the performance between the two and of course the implementation of the mining application.

If it's done correctly, you should get around 85 to 90% maximum of what your card or embedded system claims it's capable of doing. Simply put, you will never achieve 100% because you have an operating system that is using the card and of course interfacing to the rest of the system.

While the indicators tell you are getting 100% of the cores, what it's really means is that you are getting 100% of the 85 ~ 90% theoretical maximum you can achieve with the hardware you have.

I hope this clears things up for y'all.


---

### Answer by username_12 on 2018-03-20. Score: 0

I dont think you will find a Pi economic for 'mining', ASICs have far higher hashes per watt.
However if you put a Proof of Stake coin on your Pi you can get excellent ROI depending on the price of the coin and the reward structure.

PoS uses 1 hash per second per UTXO, so even a lowly Pi Zero for $8 can easily run a PoS coin from a hashing perspective (I stake Pinkcoin on mine). The other consideration with PoS and SBCs is RAM, longer chains need to load more into RAM (I believe its the chain index), so for chains with over a million blocks Id recommend a Pi2 or 3, much over 2 million you prpbably need to look into an SBC with higher RAM, like a Rock64.


---

