Just released was the Open Source FPGA Bitcoin Miner software. This miner allows bitcoins to be mined using a commercially available FPGA board.
FPGA boards consume much less electricity compared to GPUs for the hashing work performed when mining bitcoins.
FGPAs might have a MHash/J performance level around 20 or more whereas the most efficient GPUs are closer to about 2 MHash/J.
There are fears that FPGA mining will force miners using GPUs today to either pivot and switch to FPGA mining for their operations or to abandon mining completely when the efficiency disparity makes GPU mining uncompetitive.
Those fears are likely unwarranted just yet though. The cost of the equipment and not the cost of electricity continues to be the primary concern affecting miner’s decision on whether or not to add capacity.
Using commercially available FPGA boards to attain a certain level of hashing can require investment several times that required for a GPU-based equivalent.
Though a less costly FPGA board designed specifically for bitcoin could be built, there are no sources for such a product yet — at least not commercially.
GPU Mining Still Profitable And Still Growing
It will likely be many months yet before the FPGA would even start to displace the GPU as the technology responsible for significant increases to the mining difficulty measure.
GPU miners have been able to reach the breakeven point, on a per-dollar invested basis, within a couple months after bringing new capacity online. Thereafter a decent profit continues to be returned though the profitability level can decline steadily with each subsequent increase in difficulty when there is no matching increase in the bitcoin exchange rate as well.
The Bitcoin network has continued to see capacity come online at an unprecedented and torrid pace — over 30 GHash/s of capacity was added each day during the most recent difficulty adjustment period, for example.
Because of the recent run-up in the bitcoin exchange rate mining is generally considered to be very profitable at the present time. It will remain highly profitable until either the exchange rate drops or the difficulty level increases significantly as the result of additional mining capacity being procured and brought online by miners seeking those profits.
With so many miners active now, the global supply of GPU hardware has become constrained. Even used GPUs found on eBay, for example, are becoming difficult to find. If the now-discontinued ATI HD 5870s and HD 5970s were still sold, or AMD were able to keep up with demand for the AMD HD 6990s, the difficulty increases would likely be even greater than what is being seen now.
FPGA’s Edge
Even though the FGPA solution is extremely expensive relative to its GPU equivalent, FPGAs are widely available commercially. If the bitcoin exchange rate were to spike further, FPGA mining may be about the only option for being able to add any significant amount of mining capacity.
The higher power efficiency that an FPGA provides is not just a factor for comparing the cost of electricity to mine but also when other factors are considered.
The total amount of electricity consumed by a miner with a GPU mining rig or two will add up quickly. Individual miners are already popping breakers after exceeding limits on the amount of current available from household circuits used when mining with multiple GPUs in a single rig even. Those with multiple rigs are finding limits to the amount of electricity fed to the property as well.
When power consumption limits are a constraint, then the FPGA with its significantly higher power efficiency might be the only method to increase mining hashing capacity.
Residential electric rates are often tiered to encourage conservation. As a result the incremental rate for mining starts at the most expensive tier for the household. Individuals mining from their homes should be the biggest beneficiaries from having an efficient FPGA alternative but the equipment’s high cost will remain a major limiting factor, as will the technical skill level necessary for FPGA mining.
Further out, if the exchange value of bitcoin rises much further the numbers begin to approach the level where building and producing an ASIC design might become feasible.
If or when that happens, then the clock counting the days left for GPU mining can start ticking.
Hack A Day - FPGA bitcoin mining
The board requires only 6.8 watts for 100 Mhashes/second, but [li_gangyi]‘s blog says the team expects to hit 150-200 Mhashes with some improvements.
Only four of these boards were built and the supply has already sold out. Deposits are being accepted at Cablesaurus towards pre-orders for the second generation model. The second generation units are priced at $420 (single FGPA) to $620 (dual FPGA) but those prices will likely be lowered before purchase due to volume discounts. The number of boards produced will be determined by how many deposits (paid in either bitcoins or USDs) are made.
This board differs from the modular FPGA hardware project but runs the same open source FGPA miner that was released in May.
FPGA hardware is more expensive for mining Bitcoin than the hashing equivalent when GPU graphics cards are used but power consumption for FPGA mining can be nearly an order of magnitude less. At current exchange rates and difficulty levels. the dual-FGPA board will produce just under 0.12 BTC per day, which is worth about $1.22 USD. Calculated using the typical U.S. residential rate the cost of electricity to run the two FPGAs for a day is under $0.04 USD, or about 3% of revenue. For comparison, when GPU graphics cards are used for mining in regions where electric rates are high the cost of electricity can exceed half the miner’s revenue.
Though mining profitabilty is near all-time lows, these levels are still high enough that FGPAs are not yet price competitive due to the higher hardware costs involved. At the same time, this board just brought FPGA mining one step closer to becoming a significant competitor to GPU mining. Those likely to be the early adopters will be those hitting total power consumption limits, those running out of space and those unable to sufficiently remove the heat produced when mining with GPUs.
Product Comparison
Last Updated: 2012-01-25. For the latest product information, please check the forum.
Bitcoin in a Nutshell
Bitcoin is a peer-to-peer currency based on public key signatures and an ingenious double-spend-prevention mechanism based on a cryptographic hash function (SHA256). Nodes in the Bitcoin network are rewarded for finding x, such that SHA256(SHA256(x)) is below a certain target (this is called mining). The first node to find a solution earns Bitcoins.
The Bitcoin network adjusts this target so that on average, a solution is found every 10 minutes, based on the total computational rate (MH/s) of the network.
A node's chance of winning is roughly equal to the fraction of total MH/s that it contributes to the network.
Mining requires the latest technology and/or low electricity costs to remain profitable over time. Only the most power-efficient survive.
In mid-2011, GPU mining was highly profitable, with many ATI GPUs paying for themselves in 6-9 months, counting power (but not cooling, maintenance, configuration, or other) costs. However, as an increasing number of GPU miners chased those returns, the difficulty adjusted and large-scale GPU mining inevitably became unprofitable.
Field Programmable Gate Array miners are under active development and use around 1/10th the power of a GPU, at the same performance level (MH/s). The upfront capital investment is higher than for GPUs; however, once made, the lower operational costs should enable FPGA miners to earn a significant monthly profit, even at price and difficulty levels where GPUs cannot. FPGAs are more power-efficient for mining, and over time are likely to make GPU mining unprofitable. Once the electricity to run a GPU costs more than the bitcoins it can produce, most miners will turn them off, and either sell their GPUs, or repurpose them.
A GPU process shrink does not change this situation; a 45nm FPGA still uses less electricity per MH than a 28nm GPU. And of course - 28nm FPGAs will arrive around the same time as 28nm GPUs, keeping FPGAs firmly ahead throughout 2012.
Now is the best time to switch to FPGA-based mining, to enjoy a major technological advantage over most other miners.
The FPGA End-Game
Large-scale miners who are willing to make the initial investment in FPGA mining should be able to mine a substantial portion of the remaining coins, with no operational threat from GPUs for at least the next 2 years. It looks likely that miners using GPUs will need to migrate to FPGAs to remain profitable during 2012.
Why not build an ASIC?
It's extremely expensive to build an ASIC that can outperform high-volume 40nm/28nm FPGAs. A 40nm mask set costs around $4M. Older technologies are less expensive, but above 130nm, probably cannot outperform a 28nm FPGA. At the current price and liquidity of Bitcoin, an ASIC would be an extremely risky investment. Most likely, the mining community will switch to FPGAs first and move to ASICs if/only if the Bitcoin ecosystem matures and expands considerably.
To Learn More..
Join #bitcoin-fpga on freenode. There's a small community of talented folks working on a variety of designs.
FPGA LOGi Family Bitcoin Mining Application
FPGA LOGi Bitcoin Mining Application
Foreword: This project allows users to easily experiment with and discover the inner workings of mining on a low cost multi-purpose platform. Note that there are currently much faster and more powerful options available for bitcoin mining including FPGA arrays and ASICS. The purpose of the article and project is simply to introduce to the processes and algorithms used for bitcoin mining, not to make money. The knowlege, algorithms and processes can be taken to larger scale platforms if the user wishes to seriously pursue bitcoin mining
logi-mark1-bone-beaglebone-pi-arduino
Bitcoin
Using FPGA hardware for bitcoin mining at home
So what is bitcoin? Bitcoin is an experimental, decentralized digital currency that enables instant payments to anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried out collectively by the network. Bitcoin is designed around the idea of using cryptography to control the creation and transfer of money, rather than relying on central authorities [1]. The more interesting aspects of bitcoin mining are in the details of the intricate protocols and algorithms being used that make up what is quickly being adopted as a new digital currency. Part of the beauty of the bitcoin protocol is that it uses technologies including encryption, hashing, client to client communication, all of which scream out for an FPGA implementation.
Mining
Most of the work involved in bitcoin transactions is in the mining. The key part of the transaction is in the verification process that authenticates the bitcoin transaction. The verification process awards effective bitcoin nodes (or "bitcoin miners") with a limited release of bitcoins and the transaction fees (if any). This process requires intense computing power, electricity, and significant investment as it solves hashes through brute-force to verify transactions and add them to the network's transaction log [1]. So part of the fun of mining is getting a reward equivalent to hard cash money! You might have noticed the words brute force and solving hashes. These are two more keywords that are just asking for an FPGA.
Algorithm
The process of bitcoin mining is no minor feat and this is why FPGA’s have been widely adopted for the task. T he mining process, or proof-of-work process, involves scanning for a value that when hashed, such as with SHA-256, the hash begins with a number of zero bits. Once this hash has been found, the block can be considered as being solved and the transaction can be verified. The average work required is exponential in the number o f zero bits required and can be verified by executing a single hash [2]. You can go through the links below to see more details about the processing, but the bottom line is that you are looking for a diamond in the rough. So, get to that number crunching, as the faster you crunch the numbers the sooner you will have a chance to wield that bitcoin cash earned by the work of that handy dandy FPGA.
The reality of solving a “block” or successfully mining the correct hash is becoming harder and harder with the advent of bigger and better processing work horses. The trend has gone from crunching the numbers on high end FPGA’s to now being able buy a custom ASIC which is designed to increase the total number of hashes/sec calculated while reducing the power requirement from that of running PC’s, GPU’s or FPGA’s. But this should not discourage you from getting started with an FPGA, as there are now pools of miner’s which all work together to solve the “block” and then share the loot with all who were working on it. So, even the humble 2.5 Mega hash/sec, as found in this project, can get you in the game. You will have bragging rights of be saying you did it, but it probably won’t ever get you rich.
The bigger motivational factor should be to do it because you can. There is only one place to start in learning to work with FPGA’s and create cool and interesting projects. My vote is to start off with the basics, learn to work with a basic FPGA, learn the algorithms involved that have the potential of making you some digital cash, and most importantly have fun while you’re doing it!
LOGi Family Bitcoin mining Application
The FPGA LOGi family has support for a bitcoin mining application that will get you up and running with a fully operational bitcoin miner in 10 cubic inches of hardware. The current hardware supported is the LOGi-bone in conjunction with the Beaglebone. You can simply extract and run the packaged application code or open and explore the open source project yourself, learn it, make modifications and then build and run your own custom version. After getting the application running, don’t forget to sit back and think, I just created my own bitcoin mining rig!
This mining project is based upon an existing open source hardware project that was customized and built to work on the LOGi family and Beaglebone. The project was created by Jonathan Piat. The LOGi team looks forward to porting the project to run on the LOGi-Mark1 and allow interfacing the Beaglebone, Raspberry Pi. When you are finished with the bitcoin minig project, don't throw out the board move onto the many other cool projects that the LOGi Family boards are capable of running, such as plug and play machine vision. Quadcopter, autonomous robot and many more. The LOGI team plans to continue working to make these projects as plug and play as possible, as was done with the mining application.
Running the Demo:
This demo shows how one can build a low power self contained mining platform using a Beaglebone and the Logibone cape. In this demo the Beaglebone executes a python client that Communicates with the mining pool to get share information and submit hashing results. A python class provides the interface to the Logibone to easily get/send information from/to the FPGA. The Logibone cape uses the GPMC interface of the Beaglebone and thus appear in the Beaglebone address space as a set of registers. These register provides information about the hashing status and an interface to write the share and read the result.
To run the demo:
1) Extract the logibone_mining_demo.tar.gz file to the beaglebone
2) Extract the tar.gz file (tar xzf logibone_mining_demo.tar.gz)
3) Go into the logibone_mining_demo folder
4) Add execution mode to the make_demo.sh script (chmod 777 make_demo.sh)
5) If you are running Ubuntu, edit make_demo to uncomment the “apt-get” lines and
comment the “opkg” lines (by default the demo runs on Angstrom)
minutes and the cape Led should be blinking)
Note: You will need to configure each mining worker to participate in a bitcoin mining pool You be given worker registration information username and password for each worker that can be used to configure your mining worker. There are many mining pool sites which can be referenced here: http://mining.bitcoin.cz/
References and Resources: