Why I believe FPGA mining machines will erode the computing power share of GPUs before the emergence of ASICs

Why I believe FPGA mining machines will erode the computing power share of GPUs before the emergence of ASICs

“FPGA mining is a healthy transition and supplement before computing power becomes ASIC.”


Written by: Yan Xin, the author works at the blockchain investment institution Fundamental Labs


With the launch of the new popular PoW public chain mainnet such as Nervos, the process of PoW public chain computing power competition and balance before the emergence of ASIC mining machines has once again attracted attention. Generally speaking, the degree of matching between the mining algorithm and the characteristics of the mining machine device affects the market share of a certain type of mining machine. During the launch of the Nervos mainnet, the performance of FPGA mining machines was quite conspicuous.


Although FPGA mining machines, which are often mentioned and discussed in the history of the mining industry, have never been mass-produced and sold, their impact on the ecology of the PoW public chain cannot be ignored. In my opinion, FPGA mining machines are very likely to erode the computing power share of GPUs before the emergence of ASICs on a large scale, becoming the most powerful computing power tool.


1. What is FPGA?


Let us start by simply popularizing the basic concepts of what is "FPGA" and what is "ASIC".


FPGA is the abbreviation of "Field Programmable Gate Array", which is a semi-custom circuit.


ASIC is the abbreviation of "Application Specific Integrated Circuit", which is the optimal solution for a fixed algorithm. However, ASIC production is expensive, with the cost of one wafer being around 10 million RMB. Its cost advantage can only be reflected in mature, stable, and high-demand application scenarios.


For scenarios such as cryptocurrency mining or machine learning where the computing logic needs to change frequently or the chip demand is relatively small, FPGA has a place with its computing speed comparable to ASIC and the feature of algorithm updateability. FPGA is also often used to verify the computing logic in the ASIC being designed.


In a sense, FPGA is a substitute before the emergence of ASIC, and plays a unique role in scenarios with high uncertainty.


FPGA Internal Structure


FPGA and GPU can also be programmed to perform various computing tasks, but the computing logic of FPGA is implemented through a logic gate array based on a lookup table, which does not rely on the von Neumann structure. The result of one operation is directly fed to the input of the next operation without being temporarily saved in the main memory. Therefore, not only is the bandwidth requirement for internal memory much lower than that of GPU, but it also has the characteristics of fast response and lower power consumption. Therefore, FPGA can show unmatched advantages over GPU for some algorithms with small memory requirements and pipeline processing.


2. From “ASIC Resistant” to “ASIC Friendly”


If we want to discuss the future trends of FPGA mining machines in more depth, let us start with the entire process and context of the development of mining machines.


After Bitcoin was monopolized by various dedicated computing devices, a number of early "altcoins" such as Litecoin began to embody the idea of ​​"Anti-ASIC" (preventing ASIC mining) in the design of mining algorithms. This design is conducive to allowing more enthusiasts to participate in the mining of new cryptocurrencies with ordinary computers, thereby promoting the decentralization of new cryptocurrencies. However, this "Anti-ASIC" has always been proven to be unsustainable in the long run, and the delicate balance can easily collapse after a certain cryptocurrency booms. Driven by interests, dedicated mining machines corresponding to Anti-ASIC were soon launched.


Although Anti-ASIC itself is indeed an unsustainable process, this gradual failure process has benefited the development of many cryptocurrencies. Therefore, it has been imitated for quite a long time and various Anti-ASIC algorithms have been designed.


Generally speaking, there are three main design ideas for Anti-ASIC algorithms:


  • Memory-dependent algorithms, such as Cuckoo Cycle, Equihash, and Scrypt. These algorithms increase the size of the computational input, requiring FPGAs and ASICs to add additional memory outside of the existing computational units, increasing the difficulty of FPGA and ASIC design and reducing their relative advantages.

  • Multiple algorithms are mixed, such as X11, X13, and X16R. These algorithms increase the complexity of FPGA and ASIC by introducing several hash algorithms in series at the same time. Later, multiple algorithms in random order were derived, further increasing the design threshold of FPGA and ASIC.

  • Regularly change the algorithm. Some cryptocurrencies regularly change the mining algorithm or algorithm parameters, so that dedicated mining equipment is regularly eliminated, which is considered a fundamental anti-ASIC method.



The development of the Anti-ASIC algorithm has given GPU mining a lot of room, and has gradually made it the main Altcoin mining equipment, but its side effects have also gradually emerged:


  • First of all, GPU miners have no loyalty. The only criterion for most GPU miners to choose mining targets is the daily output. Once the price of a cryptocurrency drops sharply, the computing power will drop sharply. For the proof-of-work blockchain that relies on computing power to maintain network security, the robustness of its network will drop rapidly after the computing power drops, making it extremely vulnerable to 51% attacks.

  • Second, it cannot provide excess returns to its miners. Due to the huge stock of GPUs, the mining revenue of any cryptocurrency that exceeds Ethereum will be quickly flattened by the influx of computing power, so miners cannot get the corresponding incentives to become active builders of the currency.



GPU mining targets are sorted from high to low in terms of daily revenue. ETH ranks third, with a small gap from the top two.


  • Third, the maturity of GPU mining has made the original purpose of Anti-ASIC ineffective, that is, it is impossible to enable more ordinary enthusiasts to participate in mining, and mining is completely monopolized by GPU miners.

  • Fourth, the stock of GPUs is huge. Apart from the GPU mining machines that have been put into mining, there are still a large number of GPUs idle in the hands of MSPs. Under the national strategic background, the National Development and Reform Commission has deleted virtual currency mining and other contents from the eliminated industries in the "Guidelines for Industrial Structure Adjustment". The entry of real GPU computing power giants in the future is not far away. The excess returns of GPU mining relative to the social average return on investment will be infinitely diluted in the process of the surge in GPU computing power.

  • In addition to the above four points, regular forks or algorithm changes will lead to the division of the community, and in the long run, it will be difficult for the community to grow.




More and more developers are more conservative about Anti-ASIC, or design rules to guide the hashrate to gradually transition to ASIC in a regular manner. Grin is a good example, but because the Cuckoo Cycle algorithm itself still has very high memory requirements, mining machine manufacturers have not yet successfully launched products as planned.




Nervos, which was recently launched, designed an ASIC-friendly SHA3-based Eaglesong algorithm. This algorithm does not require large memory or involve complex algorithms. Its main content is multiple iterations of a simple hash algorithm, which facilitates pipeline processing in FPGAs and ASICs.




The core of Eaglesong Hash is 42 iterations of the transformation function f




In summary, the transition from ASIC Resistant to ASIC Friendly is entirely possible to be the beginning of a new direction, and FPGA will replace GPU in this direction and become the best mining tool before the emergence of ASIC.





3. Why is it so difficult to produce ASIC mining machines for Altcoin?

Since the beginning of this year, mainstream mining machine companies such as Bitmain, Canaan Creative and MicroBT have stopped horizontally expanding their Altcoin ASIC mining machine product lines. The simplest explanation is that the risk-return imbalance is disproportionate.




Compared with GPU, ASIC mining energy efficiency ratio has an absolute advantage of 10 times. Due to the diminishing marginal cost effect, ASIC producers will inevitably tend to overproduce ASIC to seize the computing power share, increase the difficulty, and quickly squeeze out GPU miners. The small currency mining machine itself has a small capacity and a limited number of mining machines that can be produced and sold, which inevitably causes the problem of centralization. FPGA is more like GPU here, with a fundamental advantage, that is, FPGA itself is produced by large manufacturers such as Xilinx and Intel. Each FPGA mining machine is nothing more than purchasing FPGAs that have been produced in different places for circuit board-level hardware design and software algorithm optimization. Both of these contents are not as closed and "high-precision" as the ASIC layout, and there will not be much difference in the products of each company, which can better promote decentralization.




According to MRFR statistics, among the major FPGA manufacturers, Xilinx and Intel have a cumulative market share of 72%.




ASIC is a winner-takes-all game. ASICs designed for the same algorithm using different foundries, different processes, or different design methods may have several times the performance difference. Due to the adaptive adjustment of the difficulty of the blockchain network, computing devices with inferior performance may face brutal elimination. Therefore, each manufacturer strictly keeps the confidentiality of product parameters, which further increases the risk of capital investment.




As a programmable device, FPGA is still widely used in scenarios such as blasting where durability does not need to be tested, even if it is a second-hand FPGA that has been eliminated. It is not worthless like an eliminated ASIC.




Having ASIC means having a say in computing power, but it does not mean having a say in community governance. If an ASIC harms the interests of most community members, the currency is likely to completely exclude the ASIC designer by modifying the mining algorithm through a fork. For example, in early October, Ravencoin upgraded its mining algorithm to an upgraded version of X16R, "X16Rv2", to prevent ASIC miners on the Ravencoin network from continuing to mine. This algorithm change left many ASIC teams at a loss, and FPGA miners, as the most flexible mining machines for algorithm changes, quickly flooded into the computing power market.





4. FPGA is not a replacement for GPU, but a new choice that is more suitable for ASIC-friendly algorithms

In essence, mining is a process of increasing network computing power through block rewards, thereby increasing the cost of attacks. A beneficial mining algorithm should be one that can motivate miners to provide services to the network stably. In this regard, ASICs will always have an irreplaceable role, but before the volume of a certain cryptocurrency can no longer support ASIC mining machines, FPGAs and GPUs essentially play the same role. The difference between the two is the difference in stock and the difference in the degree of matching between their own characteristics and the algorithm design concept.




At present, the availability of GPU computing power (huge stock, stable supply, output and smooth distribution channels) far exceeds that of FPGA computing power. However, if the trend from ASIC Resistant to ASIC Friendly is established and continues to develop, FPGA will inevitably tip the balance of liquid computing power and become a powerful tool for new currency computing power.



References
1. https://www.crypto51.app/
2. https://whattomine.com/
3.https://miningpoolstats.stream/
4.https://www.marketresearchfuture.com/reports/field-programmable-gate-array-market-1019
5.https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0010-eaglesong/0010-eaglesong.md



<<:  [Current Comment] How much extra profit does transaction congestion bring?

>>:  Standing on the shoulders of GRIN and BEAM, GRIMM will become a new hot spot for MimbleWimble

Recommend

Palmistry shows what kind of people are born with a strong love life

Do you have the charm to be a heartthrob and be s...

Is it auspicious to have a schizo pattern in the middle of the eyebrows?

People with Bazi lines on their foreheads are des...

The face of a man most likely to remarry

The face of a man most likely to remarry No matte...

A naturally lovable woman's face

A naturally lovable woman's face 1. Cherry li...

The most liar man's face

The most liar man's face Since childhood, the...

Analysts tell you how the crypto market is going: BTC, SOL, LDO, ICP, VET

The S&P 500 rose slightly by 0.45%, recording...

How to judge a man's appearance and personality

As the saying goes: Appearance is determined by t...

What does the most serious husband-killing look like?

The word "克夫" is easy to understand. We...

The ears tell your fate. The ears tell your fortune.

Your ears tell your fate, your fortune 1. Big ear...

Women with good luck in helping their husbands

Tiancang Concave Women with a concave Tiancang ar...

What are the facial features of a person with too much Yin De?

In fact, people with great good karma can often b...