Gridcoin GPU mining (3): Blast From The Past

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@vortac·
0.000 HBD
Gridcoin GPU mining (3): Blast From The Past
<html>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<img src="http://i65.tinypic.com/1zpp0zn.jpg"/></p>
<h1>Gridcoin - crypto mining through computational science</h1>
<p>I have built a new machine recently, specifically for <a href="http://boinc.berkeley.edu/">BOINC</a> computations and mining Gridcoin. <a href="https://steemit.com/gridcoin/@vortac/gridcoin-gpu-mining-heating-up-your-living-room-with-computational-science">Like my other machine</a>, this one is also watercooled, since it's placed in my living room and is running 24/7:</p>
<p><img src="http://www.upslike.net/images/2016/12/09/8198038b6e743faa1895868f043ce598.jpg"/></p>
<p><em>Classical elegance of watercooling :)</em></p>
<p><br></p>
<p><img src="http://www.upslike.net/images/2016/12/09/2d9de1db88baf54e935b4ae4db198b45.jpg"/></p>
<p><em>Subwoofer, EK-CoolStream XE 480 radiator and Lian Li PC-A10B case</em></p>
<p><br></p>
<p>Full specs:</p>
<p>- CPU Intel Core i7-990X&nbsp;</p>
<p>- ASUS Rampage III Extreme X58 S1366</p>
<p>- Corsair XMS3 Dominator GT 12GB DDR3&nbsp;</p>
<p>- 2 x Gigabyte R9 280X (rebranded HD7970)</p>
<p><br></p>
<p>I know what you're probably thinking: that's not quite the best hardware, hardly worth spending so much on it - newer GPUs would certainly yield higher hash rates. And for repetitive Proof-of-Work algorithms, you would probably be right. But while Proof-of-Work hashing is usually dealing with integer numbers, computational science is more complex and is usually dealing with decimal numbers - so called <a href="https://en.wikipedia.org/wiki/Floating_point">floating point operations</a>. The speed of floating-point operations, commonly measured in <a href="https://en.wikipedia.org/wiki/FLOPS">FLOPS</a> (FLoating-point Operations Per Second), is a very important characteristic of a computer system, especially for applications that involve intensive mathematical calculations. For example, 8 teraflops (TFLOPS) is equivalent to 8x10^12 or 8000000000000 (eight trillions) floating operations per seconds (performance commonly seen in today's GPUs).&nbsp;Typically, an addition or a multiply operation is always considered to be one floating operation, but more complex functions such as exponential, sine or cosine require more floating operations.</p>
<p>Performance of today's supercomputers is commonly measured in petaflops (PFLOPS or 10^15 floating operations per second). Current performance of the <a href="http://boincstats.com/en/stats/-1/project/detail/">BOINC network is (roughly) estimated at 175 petaflops</a>. Fastest supercomputer in the world is currently <a href="https://www.top500.org/system/178764">Sunway TaihuLight</a>, with peak performance of 125 petaflops.</p>
<p><br></p>
<h2>Floating Point Operations - FP32 vs FP64</h2>
<p>When analyzing the performance of your GPU in computational science, it's very important to know that there are two levels of floating point precision: single (usually abbreviated as FP32, for using 32 bits) and double (FP64, using 64 bits). Double precision is well... more precise. Without going into too much details, consider a straightforward example:</p>
<p>The single precision value of Pi is 3.1415927 &nbsp;(7 decimal places)</p>
<p>The double precision value of Pi is 3.1415926535897930 (16 decimal places)</p>
<p><br></p>
<p>There are BOINC projects where 7 decimal places just aren't enough for accurate computations. For example, the <a href="http://milkyway.cs.rpi.edu/milkyway/">MilkyWay@home project</a>, which is creating a highly accurate three dimensional model of the Milky Way galaxy, is using a lot of exponential functions in its math and all tiny errors produced by constant rounding to 7 decimal places get exponentiated by an exponential function too, delivering results which are simply not accurate enough in the end. Consequently, if you want to compute for MilkyWay@home, double precision is mandatory. And that's where the things get tricky, because newer GPUs have actually very low FP64 performance. Since FP32 is more than adequate for gaming, AMD and Nvidia have in their wisdom decided that FP64 is for "professionals" only, so you are welcome to buy their professional graphic cards which cost <strong>much</strong> more than regular, consumer cards. &nbsp;&nbsp;</p>
<p><br></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="http://www.upslike.net/images/2016/12/13/b1d30b19fbffe811f74acc4eafb2e50a.jpg"/>&nbsp;&nbsp;&nbsp;</p>
<p><em>AMD FirePro S9170 (released in July 2015.) delivers 2.62 TFLOPS in double precision computations at a price of $4000, Mr. Professional</em></p>
<p><br></p>
<h2>HD7970 Tahiti</h2>
<p>But double precision wasn't always for professionals only. Back in early 2012. when AMD released their HD7000 consumer series, they were generous enough to equip their flagship GPU, HD7970 Tahiti, with 1.1 TFLOPS of FP64 performance, at a price of $549. In February 2013. Nvidia released their GeForce GTX Titan with 1.5 TFLOPS of FP64 performance at a price of $999 and suddenly high-end double precision computing became quite expensive. AMD followed suit and halved FP64 performance on their next line of consumer cards (Rx 300 series), relegating such niceties to expensive professional market. Good times were over (and they didn't last long).</p>
<p><br></p>
<p><img src="https://www.techpowerup.com/reviews/AMD/HD_7970/images/front.jpg" width="800" height="330"/></p>
<p><em>HD7970 Tahiti - most affordable FP64 power ever! Released in early 2012. and delivering 1.1 TFLOPS of FP64 performance at a price of $549 (you can find them today </em><a href="http://www.ebay.com/itm/Gigabyte-AMD-Radeon-HD-7970-WinForce-OC-GV-R797OC-3GD-3GB-GDDR5-PCI-E-GPU-Vide-/162287437816?hash=item25c915c7f8:g:2rgAAOSwHMJYCUlT"><em>for $150 at eBay</em></a><em>). In comparison, GeForce GTX1080, one of the most powerful consumer graphic cards today, can achieve only 0.28 TFLOPS in FP64 (but 8.8 TFLOPS in FP32).</em></p>
<p><br></p>
<p>Not surprisingly, due to its high FP64 output, HD7970 is still an admirable BOINC performer today, very well suited for BOINC projects which require double precision computations (such as MilkyWay@home). My new machine is currently holding the third place at <a href="http://milkyway.cs.rpi.edu/milkyway/top_hosts.php">MilkyWay top host list</a> which is populated almost exclusively by Tahiti cards (HD7970 is also known as R9 280X when AMD simply rebranded it in October 2013). And of course, anything that yields high performance in BOINC is also very suitable for mining Gridcoin (more BOINC work=more Gridcoins, to put it simply).</p>
<p><br></p>
<p><img src="http://www.upslike.net/images/2016/12/13/30f1ca60d1f017aeb3499021aebf43f7.jpg"/></p>
<p><em>&nbsp;&nbsp;&nbsp;</em><a href="milkyway.cs.rpi.edu/milkyway/top_hosts.php"><em>Top five hosts in MilkyWay@home</em></a></p>
<p><br></p>
<h2>How much FP64 have you got?</h2>
<p>Interested in doing some computations for science? You can check FP32/FP64 GFLOPS for your graphic card on the following links:</p>
<p><br></p>
<p><a href="http://www.geeks3d.com/20140305/amd-radeon-and-nvidia-geforce-fp32-fp64-gflops-table-computing">http://www.geeks3d.com/20140305/amd-radeon-and-nvidia-geforce-fp32-fp64-gflops-table-computing</a>&nbsp;</p>
<p>(clear and instructive, but newer cards are not listed) &nbsp;</p>
<p><br></p>
<p><a href="https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units">https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units</a>&nbsp;</p>
<p>(a bit harder to navigate, but ALL Nvidia GPUs are listed - look under Processing Power DP<strong> </strong>column) &nbsp;</p>
<p><br></p>
<p><a href="https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units">https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units</a>&nbsp;</p>
<p>(same remark, but for AMD/ATI)&nbsp;</p>
<p><br></p>
<p>Don't worry if your GPU is weak at FP64. There are plenty of BOINC projects which use FP32 or single precision. We'll be talking about one such (very popular) project in my next article about Gridcoin GPU mining.</p>
<p><br></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="http://www.upslike.net/imgdb/Gridcoin728x90_38-f68597.jpg"/></p>
</html>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,