Bitcoin and Cryptocurrency Technologies
1Qqc4BN
1Qqc4BN
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Disadvantages of GPU mining. GPU mining has some disadvantages. GPUs have a lot of hardware<br />
built into them for doing video processing that can’t be utilized for mining. Specifically, they have a<br />
large number of floating point units that aren’t used at all in SHA‐256. GPUs also don't have the<br />
greatest cooling characteristics when you put a lot of them next to one another. They’re not designed<br />
to run side by side as they are in the picture; they're designed to be in a single box doing graphics for<br />
one computer.<br />
Miners vs. Gamers.According to folklore, by 2011 <strong>Bitcoin</strong> miners were purchasing enough GPUs to<br />
upset the normal market. This caused friction with the gaming community who found it increasingly<br />
difficult to find certain popular GPUs in local electronics stores. Interestingly, however, it may have<br />
increased interest in <strong>Bitcoin</strong> mining as many of these frustrated gamers learned about the currency<br />
to underst<strong>and</strong> where all the GPUs were going, with some of gamers becoming miners themselves!<br />
GPUs can also draw a fairly large amount of power, so a lot of electricity is used relative to a<br />
computer. Another disadvantage initially was that you had to either build your own board or buy<br />
expensive boards to house multiple graphics cards.<br />
On a really high‐end graphics card with aggressive tuning you might get as high as 200 MH/s , or 200<br />
million hashes per second, an order of magnitude better than you would be doing with a CPU. But<br />
even with that improved performance, <strong>and</strong> even if you're really enterprising <strong>and</strong> used one hundred<br />
GPUs together, it would still take you over 300 years on average to find a block at the early‐2015<br />
difficulty level. As a result, GPU mining is basically dead for <strong>Bitcoin</strong> today, though it still shows up<br />
sometimes in early‐stage altcoins.<br />
FPGA mining. Around 2011 some miners started switching from GPUs to FPGAs, or Field<br />
Programmable Gate Arrays, after the first implementation of <strong>Bitcoin</strong> mining came out in Verilog, a<br />
hardware design language that’s used to program FPGAs. The general rationale behind FPGAs is to try<br />
to get close as possible to the performance of custom hardware while also allowing the owner of the<br />
card to customize it or reconfigure it “in the field.” By contrast, custom hardware chips are designed<br />
in a factory <strong>and</strong> do the same thing forever.<br />
FPGAs offer better performance than graphics cards, particularly on “bit fiddling” operations which<br />
are trivial to specify on an FPGA. Cooling is also easier with FPGAs <strong>and</strong>, unlike GPUs, you can<br />
theoretically use nearly all of the transistors on the card for mining. Like with GPUs, you can pack<br />
many FPGAs together <strong>and</strong> drive them from one central unit, which is exactly what people began to do<br />
(see Figure 5.8). Overall, it was possible to build a big array of FPGAs more neatly <strong>and</strong> cleanly than you<br />
could with graphics cards.<br />
Using an FPGA with a careful implementation, you might get up to a GH/s, or one billion hashes per<br />
second. This is certainly a large performance gain over CPUs <strong>and</strong> GPUs, but even if you had a hundred<br />
141