Position: Home page » Equipment » Why use graphics card to mine instead of CPU

Why use graphics card to mine instead of CPU

Publish: 2021-05-17 10:50:38
1. 1. CPU is mainly optimized for serial instructions, while GPU is optimized for massively parallel operations
2. Modern multi-core CPU aims at instruction set parallelism (ILP) and task parallelism (TLP), while GPU is data parallelism (DLP)
3. GPU often has a larger bandwidth of memory, that is, the so-called video memory, so it will also have good performance in high throughput applications
4. CPU is a general-purpose operation. In short, it means brainless calculation and violent calculation. Whether it's 100 children sharing apples or simulating the earth, it can be decomposed into the most basic calculation of 1 + 1 = 2. GPU is specially designed to deal with high-order mathematical algorithms, such as calculating the relative positions of light source, object, viewpoint and shadow, which requires trigonometric functions to be piled up. The bitcoin digger uses SHA-256, a secure hash function invented by the US National Security Agency, which is generally used for password encryption and decryption. This algorithm can perform a large number of 32-bit integer right-rotate operations, which is very suitable for GPU which is good at large-scale concurrent computing and password cracking.
2. mining software, from the programming principle, is about large-scale parallel computing
there are many stream processors in GPU of graphics card. For example, the old HD5770 has 800 stream processors, which is equivalent to 800 computing cores. In recent years, the mainstream high-end graphics card has more built-in stream processors and more powerful computing performance. Using GPU for mining operation, the stream processor is used for parallel operation, and the mining program also optimizes the GPU parallel operation, so the operation efficiency is particularly high, and the efficiency of bitcoin mining has been greatly improved
the number of CPU cores is relatively small. At present, the number of the most powerful mainstream desktop processor cores is no more than 10 or 20 (many are logic cores virtualized by hyper threading technology), and the parallel computing power is far less than that of GPU.
3. Copied:
in short, mining is to use the chip to carry out a calculation related to the random number, and get the answer in exchange for a virtual coin. Virtual currency can be exchanged for the currency of each country through some way. The stronger the computing power, the faster the chip can find this random answer. Theoretically, the more virtual coins can be proced per unit time. Because it's about random numbers, you can only get rewards if you happen to find the answer. It's possible that one chip will find the answer in the next second, or ten chips won't find the answer in a week. The more chips compute at the same time, the easier it is to find the answer, and the mining machine with built-in multi chips appears. And a number of mining machines to form a "mine" at the same time mining is to improve efficiency. In the mine pool, multiple "self-employed" join an organization to mine together. No matter who finds the answer and digs out the virtual coin, everyone gets the corresponding reward according to the calculation ability of contribution. This way can make the income of "self-employed" more stable
take a popular example:
I write a string of numbers on a piece of paper and give some hints. Whoever guesses correctly will be given a bonus (mining)
smart people can make more guesses (calculation ability)
some people pay money to invite many people to come back and guess together (mining)
some people call everyone together to guess, no matter who guesses, Distribute the bonus (mine pool) according to the proportion of guessing times of each person
the rest is too long, you can search by yourself...
4. In other words, the task of BTC only needs some specific transistors to execute

  • the CPU is used to perform mining tasks. Because the CPU needs many transistors to execute various instructions, many transistors are idle in a cycle. The speed is slow and normal

    In order to enhance the ability of displaying images, the graphics card saves many transistors which have nothing to do with the display function, so the graphics card can only display pictures, but it is much faster than the CPU in the task of displaying pictures. BTC needs to perform the same tasks as the graphics card, so the mining of the graphics card is faster than the CPU, So a card is more suitable for mining

  • 5. The reason is that the task of BTC is a very simple calculation of decryption,
    does not need too many instructions. In other words, the task of BTC only needs some specific transistors to be executed.
    the CPU is used to perform the mining task, because the CPU needs many crystal tubes to execute various instructions, In a cycle, many transistors are idle, and the speed is slow and normal.
    in order to enhance the ability of displaying images, the graphics card saves many transistors that have nothing to do with the display function, so the graphics card can only display images, but it is much faster than the CPU in the task of displaying images.
    BTC needs to perform the same task as the graphics card, so the graphics card mining is faster than the CPU.
    the same as the graphics card, The task execution mode of a card is closer to that of BTC than that of N card, so a card is more suitable for mining
    6. CPU can also be used for mining. The CPU was used in the earliest mining. However, with the in-depth study of mining algorithms, miners found that mining is a relatively simple but repetitive operation process. The key to improving mining efficiency is to improve the efficiency of multi task processing, and the characteristics of CPU are not suitable for such operations. On the contrary, the graphics card has thousands of stream processors. It is better at mining this simple but repetitive work than CPU. Therefore, the graphics card is widely used in mining.
    7. First of all, we analyze the development of China's economy from the perspective of GDP. The GDP is national purchase + government purchase + investment + export import. Since the reform and opening up, China's GDP growth has been mainly driven by investment and export, and the proportion of export stations is larger. In recent years, China's frequent investment and construction of large-scale projects mainly rely on government purchase as another driving force for development. Due to the deformity and bias of domestic instrial structure, national purchase has not been the main economic driving force. China is the country with the highest degree of foreign dependence in the world (the ratio of international trade deficit to national income). According to the textbook, it accounts for 70% (I think it should be only 40% at most), which is nearly twice as high as Russia, the second highest country. Therefore, e to the high degree of foreign dependence, the market main body of made in China is not at home, It has caused the deformity of the national instrial chain Most of the exported nails, steel, can't encourage the public to buy them home, and can't eat them In order to get rid of this dilemma, the government has been calling for the expansion of domestic demand, because the annual trade deficit makes China hoard too much foreign exchange... Ordinary people can't use US dollars to shop in their daily life at home, so the money can only be exchanged by the state treasury in the end.) coupled with the foreign "mping" lawsuits against China and the emergence of trade barriers, the weakness of excessive dependence on foreign countries has begun to hurt China's economy. Economic transformation is not easy. First of all, you have to make rational use of the surplus proction. At this time, the most useful real estate appears, and an investment target that can pull more than 30 instries by itself appears. In addition, land development and auction have become a large part of local government revenue, Therefore, the state vigorously supports (there are many forced demolition problems). But with the passage of time, the overheating of real estate also involves financial instability. When real estate is no longer a necessity but a speculative investment, it will eventually become pure concrete rather than stable repayment ability (whether it is building or buying a house, most businesses and indivials are through loans or mortgages), China's "subprime" crisis began to break out. In fact, according to the theory of western economics, it may be a miracle that China's real estate did not cause China's economy to collapse now, but the state's macro-control and slow weakening of real estate development have indeed played an incomparable role. With the development of economy and the improvement of employment rate in our country, people are happy to see that our GDP is developing at a high speed of 10% every year, and we are jubilant to become the second largest economy in the world. At the same time, we have encountered three headache problems
    first, China has become the world's creditor. The foreign exchange reserves of 200 billion US dollars mean that China has more US dollar cash in its treasury than the United States. When its economy goes wrong, it will reach out to China and borrow it. It will return it, but it is just fresh money directly from the banknote printing machine. So what's the difference between the fresh banknotes and the old banknotes? The difference lies in their depreciation and sharp decline in purchasing power. We can think that they originally had 100 cattle, issued 1 million US dollars, and China had 100000 in its pocket. At this time, 10000 US dollars is a cow; Later, the United States and China borrowed the 100000, and when they returned it, they printed another 100000 US dollars to China, but only 11000 US dollars could buy a cow at that time, so they cheated us... Then we can't borrow it. Your loss in China is even more miserable. If I don't lose a dollar against your RMB, you will lose 200 billion RMB. Can you afford to lose? So China had to help him. In this way, China should be very passive. But last year, our leaders began to use US dollars to inhale a lot of gold, turning piles of waste paper into lovely, gorgeous and golden gold. Although we have got rid of the fixed exchange rate system, the stability of the value of gold is far higher than that of paper money. Therefore, comrades, Get some gold before we run out of dollars... At least I made a small profit from my gold
    Second, the rapid economic development and high employment rate bring about high inflation rate. With the increase of inflation rate and CPI, more and more people work and have a stable income. Moreover, the income graally increases, and the rise of prices can not be avoided. I still remember that when I was in junior high school, a finished noodle at my home only sold for 3.5 yuan. This time I returned home and asked for 6 yuan. God... Compared with the rise of the exchange rate, it's a good choice for everyone to study abroad. Therefore, how to control the priceless rise and stabilize the inflation is one of the main problems of China's economy in the next step, and this environment also urges us to prepare to invest abroad (we can also be foreign enterprises in foreign countries). Of course, it is not necessarily the European and American powers, but the relatively backward but resource rich small countries, such as Myanmar, Laos, Cambodia, Vietnam and other Southeast Asian countries, whose economic situation and resource utilization rate are very similar to those of China in the 1980s and 1990s, are also encouraging foreign investment. Our great motherland saw such an opportunity, so it vigorously developed the Southwest (this is related to the third issue), established bridgeheads, laid the Pan Asian Railway and so on, and achieved initial results, such as vegetable oil exchange in Yunnan and Thailand, China and Thailand free of fruit and vegetable tariffs and so on... Because I'm here
    thirdly, the gap between the rich and the poor is too large, the utilization rate of resources is low, the utilization of resources is unreasonable, etc.
    the rapid development makes some people richer and some people may be poorer. To some extent, we have no conscience can be called the law of the jungle, but we can also have a conscience to say that many rich people are not benevolent. This seems to have nothing to do with economy, but it is closely related to social stability and political strength. If these two points are gone, what we can consider is to escape from the country or resell arms to make a fortune. The first to become rich should be those engaged in import and export (both legal and illegal), then those engaged in mining, and those engaged in real estate recently. Here we want to see the times and the conditions for them to become rich. Import and export have just started the reform and opening up. Whether it's the low price of Chinese made goods or the curiosity of Chinese people about foreign goods, these people almost became the first to get rich at that time by using the price difference in the middle. They have a condition to get rich. They have a place to do import and export for you. For bulk logistics, trains can't go directly, Airplanes are too expensive. They can only be transported by sea... The coastal people laughed (so that up to now, some people think that apart from the coastal areas, most of the inland areas are poor, and my mother-in-law should be counted as one...), Later, foreigners found that your mine was better. All right, those who found the mine laughed. Overnight, they changed from farmers to mine owners. Some of them could not adapt to this gap, making mine owners a derogatory term today... For them, wealth and their cultural quality may not be in direct proportion, which leads to some very rampant rich second generation XX. Mine boss mine boss in the final analysis, you have to find your own mine, or you are likely to be a miner... Therefore, it is necessary to have regional characteristics. Finally, when it comes to real estate, it's finally a bit balanced, at least not regional, but you still need to have "resources". Although some of their black hearted people are still poor, from the perspective of economics, I would like to pay tribute to them, because economy is the rational use of all resources to maximize, they not only use the funds, technology, human resources, but also "contacts" resources, Finally, it also affected the economic situation and financial trend of the whole country. A few people own resources, and they don't share all the resources with everyone. Therefore, the gap between the rich and the poor is graally widening, causing a series of problems. In Thailand, the rich people donate money to temples every month, buy things to temples, and then distribute them to the poor and the needy. In addition, temples actively build schools and really achieve compulsory ecation (I was a teacher in Temple schools), I hope the rich in our country can do the same. It's not economics, it's sociology, but I'm still itching to say, remember that the founding of the people's Republic of China was e to grandfather Mao's fight against local tyrants and division of land, be careful of his reincarnation
    China's national strength is becoming stronger and stronger, and the strong economy has also brought us a happy life, although the economic system still has many disadvantages (such as buying bonds, not to mention making profits, even losing the principal... But I think with the development of the times, China will only become more and more powerful (if we don't become the second Song Dynasty in history, and find the time to beat those Filipinos who say we Chinese are small eyes every day). God bless China
    I have little talent and little learning. I dare to talk about China's economy. If there is something wrong, please correct it and communicate with my friends. If the landlord adopts my question, I would be very grateful
    8. Call the police. Don't think too much
    9.

    ADA, known as IDA coin in Chinese, is the proct of Cardano project. Cardano project was launched in 2015, and its name comes from Italian mathematician Gerolamo Cardano in the 16th century. Cardano is a doctor, astrologer, philosopher and gambler. He used astrology to predict his death, and it is said that he finally committed suicide on the same day. ADA is named after ADA levea, a British aristocrat in the 19th century. She is known as the first programmer in human history

    the total amount of Aida coins issued is 4.5 billion, and the planned financing scale is 60 million US dollars. The project is divided into four phases of crowdfunding. So far, crowdfunding has been completed

    It will take about 24 years to proce three blocks per minute until all of them are released

    Hot content
    Inn digger Publish: 2021-05-29 20:04:36 Views: 341
    Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
    Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
    Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
    Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
    Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
    Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
    Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
    Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
    Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750