create account

Hardware and Project Selection Part 1 - CPU vs GPU by dutch

View this thread on: hive.blogpeakd.comecency.com
· @dutch · (edited)
$18.05
Hardware and Project Selection Part 1 - CPU vs GPU
<center>[![](https://steemitimages.com/DQmQ3NvoSghpU7HxwH2PseyipL1tTNXAumYukVi6ZgiNBHn/image.png)](https://www.tes.com/lessons/F3r7HA1Y9Dhbvg/informatica-basica)</center>



As I spent more time browsing the Gridcoin subreddit, it becomes increasingly apparent that a lot of users don't actually know what hardware their computer is comprised of. This trend extends to a lot of other crypto-currency mining operations, where people become increasingly reliant on copy-pasta exes that make the most of your hardware with **very** limited user input. In response to this, and in lieu of answering the same hardware questions repeatedly with minimum detail, today I would like to examine the two most important pieces of mining hardware: the CPU (Central Processing Unit) and the GPU (Graphics Processing Unit).

NVIDIA affectionately describes the two components like this:

> The CPU ... has often been called the brains of the PC. But increasingly, that brain is being enhanced by another part of the PC - the GPU, which it its soul.

# The CPU

<p>
<div class="pull-right">
<img src="https://steemitimages.com/DQmNigX6GEeNJmu5BTfm4Kwbq4af42sZdp3rfMs35KoAcXJ/image.png">
</div>
The CPU is comparable to the human brain, in that it literally is the central processing unit of your PC.  At the most basic level, all a computer does is carry out incredible numbers of simple mathematical operations, and the CPU is the device that controls and carries out those operations.
</p>

To give an example, imagine that we are trying to add together two integers using your PC. You input the numbers into the computer using the keyboard, and the keyboard controller logs the numbers in the form of binary. This binary sequence is relayed to the CPU via the registry, at which point the CPU will use its integrated Arithmetical Logical Unit (ALU) to carry out the addition operation. Finally, the CPU transfers the result back to whatever output device needs it.

As you would have probably realised, adding two integers is an overly simple example, but it gets the point across. In exactly the same manner, your CPU is able to carry out all forms of work, including mining hashes or BOINC tasks.

# The GPU

<p>
<div class="pull-right">
<img src="https://steemitimages.com/DQmY7aA1Y5vanzsy8zU523AwwpijMpDBTjS4GPNCohHKwS2/image.png">
</div>
Every single PC on the market today will have a chip that is able to render the images you see on the monitor. However, there is a vast array of these chips. The most basic models are integrated with almost every motherboard and are only capable of low-res video. The GPU is a component in its own right that transcends this limited functionality, and is a programmable powerhouse that does so much more than just render video.
</p>

GPUs are optimised for taking collosal data sets and performing the exact same operation endlessly, running many threads simultaneously, and doing so very quickly. Such a problem is called 'embarrassingly parallel'. To understand why the GPU is so good at jobs such as this, we have to take a look at the architectural differences between the CPU and the GPU.

![](https://steemitimages.com/DQmbboYVYjvhUetEDhh9bQPXz4AxZTBaDujTkSLBtqn7TYv/image.png)

A CPU is composed of a few cores (the most powerful i9 processor is expected to boast 18) with a lot of cache memory that can handle a few parallel processes. On the other hand, GPUs can have many thousands of cores that allows them to handle huge numbers of parallel processes simultaneously. The ability of a GPU to run such a massive number of simultaneous threads means that for repetitive tasks such as mining, the GPU vastly outperforms even much newer CPUs.

You might be wondering at this stage why GPUs, which came into existence in their current form far later than CPUs, have outperformed their older brother. The reason is the gaming industry. The amount of money available from the gaming industry, combined with its endless demand for higher fidelity, has pushed GPU development into the fast lane. While this is great for most applications, there have been some unfortunate consequences as a result. Primarily, games do not require high precision logic, so single precision (FP32) GPUs have pushed double precision (FP64) GPUs out of the mainstream limelight and banished them to being research models. However, that is a discussion we can have another day.

# The Take Home Message

If you remember nothing else from this article, remember that:

* The two key components in your PC that you can utilise for mining are the CPU and the GPU. Whether you are 'mining' by running BOINC or doing something more traditional, that still holds true.
* The CPU and GPU have to be put to work and optimised independently to get the most out of your machine
* GPUs are generally more power and cost efficient than CPUs for mining. There are exceptions.

Next time we touch base, we will be looking at how to select appropriate BOINC projects based on your CPU and GPU.

In the mean time, keep crunching!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authordutch
permlinkhardware-and-project-selection-part-1-cpu-vs-gpu
categorygridcoin
json_metadata{"tags":["gridcoin","cryptocurrency","beyondbitcoin","science","technology"],"image":["https://steemitimages.com/DQmQ3NvoSghpU7HxwH2PseyipL1tTNXAumYukVi6ZgiNBHn/image.png","https://steemitimages.com/DQmNigX6GEeNJmu5BTfm4Kwbq4af42sZdp3rfMs35KoAcXJ/image.png","https://steemitimages.com/DQmY7aA1Y5vanzsy8zU523AwwpijMpDBTjS4GPNCohHKwS2/image.png","https://steemitimages.com/DQmbboYVYjvhUetEDhh9bQPXz4AxZTBaDujTkSLBtqn7TYv/image.png"],"links":["https://www.tes.com/lessons/F3r7HA1Y9Dhbvg/informatica-basica"],"app":"steemit/0.1","format":"markdown"}
created2017-06-21 02:57:24
last_update2017-06-21 02:59:48
depth0
children15
last_payout2017-06-28 02:57:24
cashout_time1969-12-31 23:59:59
total_payout_value13.700 HBD
curator_payout_value4.351 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,023
author_reputation11,905,004,165,125
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,444,742
net_rshares1,215,356,194,537
author_curate_reward""
vote details (37)
@mzungu ·
Great write-up, thanks for the info
properties (22)
authormzungu
permlinkre-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t161450592z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 16:15:00
last_update2017-06-21 16:15:00
depth1
children0
last_payout2017-06-28 16:15:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation21,895,468
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,514,950
net_rshares0
@sustainarchist ·
Great article.  I just got started with Gridcoin, and I love it!
properties (22)
authorsustainarchist
permlinkre-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170805t153711574z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-08-05 15:37:09
last_update2017-08-05 15:37:09
depth1
children1
last_payout2017-08-12 15:37:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation81,888,891,827
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,860,783
net_rshares0
@dutch ·
Great - and thank you for the feedback!

Sing out if you have any questions. =)
👍  
properties (23)
authordutch
permlinkre-sustainarchist-re-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170805t153844614z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-08-05 15:38:45
last_update2017-08-05 15:38:45
depth2
children0
last_payout2017-08-12 15:38:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length79
author_reputation11,905,004,165,125
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id10,860,903
net_rshares405,785,600
author_curate_reward""
vote details (1)
@timeshiftarts ·
$0.64
Would it be at all practical to reverse engineer video cards to make multi-GPU boards to handle things like mining, or is that essentially what an ASIC does?
👍  , , ,
properties (23)
authortimeshiftarts
permlinkre-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t040344813z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 04:03:45
last_update2017-06-21 04:03:45
depth1
children11
last_payout2017-06-28 04:03:45
cashout_time1969-12-31 23:59:59
total_payout_value0.500 HBD
curator_payout_value0.142 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length157
author_reputation2,267,045,009,621
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,450,720
net_rshares44,107,957,120
author_curate_reward""
vote details (4)
@cm-steem ·
It's less a matter of reverse engineering video cards but rather porting CPU work to GPU (or FPGA). If you can do this and realize performance gains then you could earn serious GRC.
👍  
properties (23)
authorcm-steem
permlinkre-timeshiftarts-re-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t140420390z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 14:04:15
last_update2017-06-21 14:04:15
depth2
children4
last_payout2017-06-28 14:04:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length181
author_reputation58,522,774,254,119
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,500,910
net_rshares0
author_curate_reward""
vote details (1)
@timeshiftarts ·
I'm a bit too new to know what GRC stands for. I'm guessing it relates to H/s?
properties (22)
authortimeshiftarts
permlinkre-cm-steem-re-timeshiftarts-re-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t142933513z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 14:29:33
last_update2017-06-21 14:29:33
depth3
children3
last_payout2017-06-28 14:29:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length78
author_reputation2,267,045,009,621
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,503,150
net_rshares0
@dutch · (edited)
$0.07
Do you mean having multiple GPUs fixed on the same motherboard? Sure, this is already done in a lot of mining rigs. However, if you had the money to invest another option for GPU mining would be to buy a server/research GPU. These GPUs have incredibly large numbers of cores. For example, the V100 GPU Accelerator from NVIDIA's Tesla range (An FP64 focussed card) has 5120 cores in the single GPU.

ASICs are a bit different, in that they are pieces of hardware designed to only do one job, and do it incredibly well. In terms of mining capabilities, ASICs are far superior to any GPU. However, the problem with such specialized hardware is that it can do pretty much nothing else - BTC ASICs mine BTC, and that is it. There are some rare exceptions, such as chips that mine BTC and LTC, but this is because the chip package effectively incorporates two ASICs, one for each coin. An ASIC could never, for example, render your display.
👍  , , ,
properties (23)
authordutch
permlinkre-timeshiftarts-re-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t041604018z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 04:16:03
last_update2017-06-21 04:16:54
depth2
children5
last_payout2017-06-28 04:16:03
cashout_time1969-12-31 23:59:59
total_payout_value0.062 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length934
author_reputation11,905,004,165,125
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,451,700
net_rshares5,338,291,800
author_curate_reward""
vote details (4)
@timeshiftarts ·
Ah I see ... I think something like the server gpu is what I was talking about, that way I could still mine pools and get a variety of payouts. I'm guessing the investment for something like that is obscene though and the ROI would be prohibitive?
👍  
properties (23)
authortimeshiftarts
permlinkre-dutch-re-timeshiftarts-re-dutch-hardware-and-project-selection-part-1-cpu-vs-gpu-20170621t041913092z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2017-06-21 04:19:12
last_update2017-06-21 04:19:12
depth3
children4
last_payout2017-06-28 04:19:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length247
author_reputation2,267,045,009,621
root_title"Hardware and Project Selection Part 1 - CPU vs GPU"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id5,451,964
net_rshares1,148,118,828
author_curate_reward""
vote details (1)