Σχόλια 0

Το κείμενο του εγγράφου

Bitcoin and The Age of Bespoke SiliconMichael Bedford TaylorUniversity of California,San DiegoABSTRACTRecently,the Bitcoin cryptocurrency has been an interna-tional sensation.This paper tells the story of Bitcoin hard-ware:how a group of early-adopters self-organized and -nanced the creation of an entire new industry,leading tothe development of machines,including ASICs,that had or-ders of magnitude better performance than what Dell,Intel,NVidia,AMD or Xilinx could provide.We examine this story for clues as to how we can fostergreater innovation in the semiconductor industry and enablethis phenomenon to occur more broadly for more applicationareas,spawning a new age of hardware innovation tailored toemerging application domains|an Age of Bespoke Silicon.Categories and Subject Descriptors B.7.1 [Integrated Cir-cuits]:Types and Design StylesGeneral Terms Design,Performance,EconomicsKeywords Dark Silicon,Bitcoin,Specialization1.INTRODUCTIONBitcoin,since its Jan 2009 deployment,has experienced ex-plosive,exponential growth.As of the writing of this paper,there are 11.5 million Bitcoins (BTC,orB) in circulation,and the USD/BTC exchange rate is $104,which means thatthe market capitalization of Bitcoin is just shy of $1.2 billionUSD.Notably the Winklevoss twins,of The Social Networkfame,have purchased $11 million worth of BTC,and havesubmitted a proposal to the SEC to create an Exchange-Traded Fund (ETF) to allow broader access to investors.With such rapid growth,Bitcoin is the most successful dig-ital currency,exceeding the next most successful open digi-tal currency,Litecoin,by an order of magnitude.Underpin-ning Bitcoin's success is a series of technological innovations,spanning from algorithms,to distributed software,and alsointo hardware.Amazingly,none of this success has been un-derwritten by a corporate or government entity,but ratheremerged through a grass-roots collaboration of enthusiasts.In this paper,we will introduce the algorithms and soft-ware that underpin the Bitcoin system,discuss the turbulenthistory of Bitcoin so far,and then delve into the fascinat-ing hardware ecosystem that has emerged|from GPUs,tocustom FPGA systems to custom ASICs.The latest round of hardware|dedicated ASICs|have beennanced,developed,and deployed by Bitcoin users,which isperhaps an unprecedented event in recent history.One ques-tion is whether this model can scale to other application areasTo appear in the International Conference on Compilers,Ar-chitecture and Synthesis for Embedded Systems (CASES),September 2013.and usher in a new era of bespoke silicon|that is,customizedsilicon that has been developed in small volumes|that lever-ages specialization to outperformhigh-volume general-purposeSoCs built by major billion-dollar companies.2.THE BITCOIN CRYPTOCURRENCYWe overview the bitcoin system below:how it is used,pricing and diculty trends,and how it is mined.2.1 How Bitcoin Works:User PerspectiveThe rst step is to create a Bitcoin account.Bitcoin ad-dresses can be created locally on your computer using open-source software,free of charge.The software outputs both apublic key and a private key.No interaction with the outsideworld is necessary.The private key must be kept secret inorder to protect the account,and is needed whenever youplan on sending money from the account.If the private keyis lost,then the funds are also irrevocably lost.The publickey,on the other hand,may be freely distributed to thosepeople who might possibly want to make a payment to youraccount.To transfer funds to you,they will enter in theirown account's private key,and your public key,and a smalluser-specied transaction fee (typically.0005B,but as lowas a single Satoshi1or even zero).The Bitcoin systemmaintains a global,distributed crypto-graphic ledger of transactions,called the block chain,whichis maintained through a consensus algorithm running acrossa large number of computers distributed across the world.These computers perform a computationally intense func-tion called mining,which integrates the transaction into theblock chain.The transaction to debit from the sender's ac-count and credit to your account is aggregated with otherpending transactions together into a block by one of thesemachines and posted to the head of the block chain.A blockalso contains a hash of the previous head block of the blockchain,creating a total order on all blocks in the block chain.Upon receiving notice of the block being posted to thenetwork,other nodes will verify that the transaction is inorder|for instance,not improperly creating or destroyingbitcoin,or over-spending from an account|and then use thenew block as the head block for blocks that they are tryingto post to the block chain.Each such additional block thatis posted to the chain is referred to as a conrmation.If,by chance,two machines simultaneously append a block tothe same link on the block chain,the fork will be resolved bypicking the branch that has the longest chain of successors|essentially preferring the path that is followed by the major-ity of mining nodes.As new blocks are posted to the blockchain,about every ten minutes,the transaction gets expo-nentially less likely to be reversed.Up until now,most BTCservices are satised with six conrmations,but bitcoin cre-ation (see the next section) requires 100 conrmations.2.2 Bitcoin Mining:Miner’s Perspective1The atomic unit of Bitcoin,equivalent to.00000001 BTC.Bitcoin mining is the heart of the distributed consensusalgorithmthat enforces the consistency of BTC transactions.Bitcoin miners span a wide spectrum of personalities:1.High school and college students making use of cheap elec-tricity and/or hardware fromtheir parents or universities;2.Gamers who subsidize their game machines by runningGPU bitcoin mining codes on them when not in use;3.Extreme hobbyists that buy multiple machines (\miningrigs") until they max out the cooling capacity of theirbasements (and/or the tolerance of their spouses);4.Hackers deploying botnets robbing computation fromnet-works of zombie machines;5.Online collaboratives that raised funding to purchase min-ing hardware and share in prots,and6.Companies that raised funding from Bitcoin enthusiastsvia an IPO on a BTC-denominated non-SEC-regulatedonline stock exchange,and are designing ASIC hardwareto mine BTC and distribute dividends.What incentivizes bitcoin miners to perform the miningoperation that is integral to transaction verication?Theanswer is that for each block they add to the block chain,the miner receives two rewards: First,they are given a block reward,which started outat 50 BTC and is halved every 210,000 blocks,about everyfour years.As of the writing of this article,we are on block251,660;which means that the block reward is 25 BTC.Dueto this halving,the total number of BTC will never exceed21 million;54.8% of BTC has already been issued,and 99%of all BTC will be issued by 2032. Second,they reap all of the transaction fees that are at-tached to the transactions in the block.The miner has theoption of excluding or including transactions in the block,sothe transaction fee creates an incentive for the miner to ex-pend the additional bandwidth,storage or compute requiredfor that transaction.Requests with low transaction fees cantake a long time (a day or more) to be added to a block.Currently transaction fees average around a quarter of abitcoin per block,while the block reward is 25 BTC.Overtime,the block reward will drop,and BTC transaction vol-ume will increase,so we can expect that transaction fees willbecome increasingly the incentive for miners.After bitcoin are earned,the user has the option of eitherselling them on an exchange like Mt.Gox (whether in USD,Euro or other currency;Bitcoin is truly international),orsimply retaining them,hoping that they will appreciate.Since a new block is supposed to be generated at aroundevery ten minutes,how is this enforced?The answer isthat in addition to aggregating the transactions into a block,the miners must nd a nonce value that makes a doubleSHA-256 hash of the block's header be less than (65535 <<208)=difficulty.Since SHA-256 has been designed to benon-invertable,the primary approach is to use brute force.If the diculty value is twice as large,then it takes twice asmany brute-force tries to nd the corresponding nonce.The diculty is scaled every 2016 blocks,using the world'scollective hashrate,the network hashrate,in the precedingperiod,to target an average block creation time of ten min-utes.In practice,the time between generated blocks oc-curs somewhat randomly,with some blocks being generatedwithin a few seconds of each others,and other consecutiveblocks taking over an hour.Thus,in the typical situation where mining capacity isincreasing on the network (i.e.more machines are beingput in place to mine),groups of 2016 blocks will be minedmore quickly than the targeted two week period,and thediculty will be adjusted upwards,but always trailing theever-growing rate.Each machine,or rig,that is in place tomine will get a correspondingly smaller fraction of the current24*6*25 = 3600 BTC bounty that is available per day.Atsome point,enough rigs have been added,and the dicultyincreased,that the energy and maintenance cost of miningequals the value of BTC earned.At this point,the networkenters steady state.Since the USD/BTC exchange uctu-ates,mining protability has also uctuated|during dips,less energy ecient rigs are taken o-line,and the dicultylowers,and the opposite when USD/BTC rises.2.3 Bitcoin’s “In Plain View” AnonymitySince all Bitcoin transactions must be posted to the blockchain,the Bitcoin system is inherently public because theblock chain is public2.Bitcoin does not explicitly require personal identifying in-formation to performtransactions,which makes it highly use-ful for performing irreversible transactions with third-partiesthat you may not want to share physical address informationwith.However,the public record of the transactions can po-tentially allow identities to be de-anonymized by determinedparties,even if users follow the practice of using a dierentaddress for every sum of money that is received.For instance,dispensing with BTC that you receive willoften require that you payout sums of money to several dif-ferent parties.By receiving a transfer from that address,youare now able to identify other addresses that also do businesswith the same entity.Moreover,many entities publish theiraddresses so that they may use the blockchain in order toenhance trust|for instance showing that a set of paymentshave indeed been paid out to stakeholders as promised.Once an address is identied with an organization,gov-ernment entities can subpoena the records of a given publicowner of an address to discover the corresponding real-lifeinformation about the user who owns a particular address.Improvements in anonymity are attainable through\darkpools"|services that perform transactions among accountsinternally and only post the net dierences to the block chain.2.4 A Brief HistoryBitcoin resulted from a renement of ideas in prior digitalcryptocurrencies,and rst came to light when a user identi-fying themselves as Satoshi Nakamoto posted a paper on Nov1,2008 outlining the cryptocurrency system.On Jan 3,2009,the systemwent live,and use grewslowly,then exponentially.Notably,one person paid for a pizza with 10,000 BTC (nowworth over $1 million USD).Nakamato maintained the soft-ware base,communicating with others online,but by April2011 had transferred responsibility for the code base and dis-appeared.Even today,Nakamoto's identity is still a mystery,and the subject of rampant speculation.BTC Pricing Trends.Figure 1 shows the exchange rate ofBTC to USD over time.Starting in 2010,the value of BTCreally started to take o,rising from 5 cents in July 2010 to$105 in August 2013,a dierence of 2100.In that time,there were two bubbles,one in June 2011,peaking at $31.50and one in April 2013,peaking at $266.Large drops in BTCvalue tend to follow periods of intense media attention thatdirect large numbers of people to speculate on BTC.Occa-sionally,there are also scares|based on rumors of weaknessin the protocols or electronic-breakins in the institutions that2E.g.,the complete transaction history for address1JVQw1siukrxGFTZykXFDtcf6SExJVuTVEis visible at https://blockchain.info/address/1JVQw1siukrxGFTZykXFDtcf6SExJVuTVE.0.02J’10FMAMJJASONDJ’11FMAMJJASONDJ’12FMAMJJASONDJ’13FMAMJJASUSD/BTC Exchange rate (in USD).05.1.2.5125102050100$200Price ($)Figure 1:BTCto USDExchange Rate ($ per BTC)on the Mt Gox exchange.Since July 2010,thevalue of a BTC has increased two thousand-fold.Data from http://bitcoincharts.com.1J’10FMAMJJASONDJ’11FMAMJJASONDJ’12FMAMJJASONDJ’13FMAMJJASDifficultyASICGPUCPUPoolsFPGA1251020501002005001,0002,0005,00010,00020,00050,000100,000200,000500,0001,000,0002,000,0005,000,00010,000,00020,000,00050,000,000DifficultyFigure 2:BTC Mining Diculty has increased by50 M .Data from http://blockchain.info.Linesindicate the introduction dates of newtechnologies.GPUs and Pool overlapped.facilitate BTC/at currency conversion|that cause a mas-sive rush to sell,overwhelming the BTC exchanges.One ofthe key aspects that makes BTC attractive to speculators isthe upper limit of 21 million bitcoin that will ever exist.IfBTC were to replace gold as a value store,then the 1.5 tril-lion USD equivalent currently in world-wide gold reserves,when allocated to bitcoin,would make a single bitcoin worth$71,000|signicantly above its current value.BTC Diculty Trends.Figure 2 shows the trend of di-culty over time.The diculty started as 1.0,and has scaledup to 50 million.This is notable because the initial dicultycorresponded to 4-8 general-purpose cores running the nonce-search algorithm,trying out 7M double-SHA hashes persecond,and now the collective hashing rate of the network is50 million times that,trying out over 350 TeraHash/sec!Two factors increase diculty.First,due to the risingUSD/BTC rate,mining can cover the expense of more rigs.Second,continual improvements have been made in both thesoftware and hardware for bitcoin mining.Dips in BTC di-culty can be noted to line up with bubble bursts in the BTCprice;in these cases,the value of the BTC did not justify thecosts of running some of the more inecient miners in pool,and their operators pulled them o-line.Timeline of Innovations in Mining Hardware and Soft-ware.Innovation has been amazingly fast.The rst publiclyavailable CUDA miner was released in Sept 2010,with therst OpenCL miner following in Oct 2010.Shortly after-wards,in Nov 2010,a new innovation was released|pooledmining|where groups of computers could work together andsplit up the nonce-space.Participants were rewarded accord-ing to the fraction of the explored nonce space they con-tributed before the correct nonce was found.These miningpools,which rapidly scaled to thousands of members,allowedusers to get incremental payouts every day as opposed to alarge,50 or 25 BTC payout every several months|by thistime,mining a block was equivalent to several months ofcomputation for a single high-end consumer GPU,and theamount of time could vary widely.One of the key innovationswas guring out how to make sure that the end-machines ac-tually did the work that they claimed to have done;andalso to make sure they did not\run o"with the winningnonce.Unfortunately,pools concentrate the distributed na-ture of bitcoin,resulting in potential integrity threats to themajority-based conrmation process.Shortly afterwards,the rst open-source FPGAminer codewas released in June 2011.And then|the rst ASIC minercame out in Jan 2013,and other eorts rapidly followed after-wards.Figure 2 shows the debut dates of these technologies.Advances in Performance and Energy-Eciency.High-end,overclocked six-core CPUs like Core i7 990x eventu-ally reached 33 megahash (MH)/s when using SIMD ex-tensions.NVidia high-end consumer-grade GPUs like theGTX570 reached 155 MH/s rates,while $450 AMD GPUslike the 7970 performed even better,reaching 675 MH/s3.The next evolutionary step were FPGA-based miners,whichemerged in June 2011.Open-source versions used four cost-eective Xilinx parts ($ per LUT),Spartan 150s,falling shortof the $/MH/s of AMD GPUs,but on a 60 Watt power bud-get instead of 200 W.A commercial company,Butter y Labs(BFL),began to market and sell a range of FPGA miners.FPGAs would have supplanted GPUs due to energy costs;however,ASICs came out,providing orders of magnitudecost reduction,driving up network hash rates,and inexorablydriving GPU and then FPGA prots negative.3See https://en.bitcoin.it/wiki/Mining_hardware_comparison for a host of statistics.2.5 Miner StrategyAn important question that Bitcoin miners need to con-sider is whether the investment of USD in a new piece ofhardware will pay o,versus simply buying the BTC on anexchange.Many custom BTC mining rigs (or shares in com-panies that maintain them on your behalf) are denominatedin BTC4,so it's embarrassing to buy such a rig and neverrecoup the original BTC cost in its mining prots,especiallysince maintaining the rigs requires round-the-clock monitor-ing and considerable energy bills.A simple solution is toevaluate the return of the mining operation in terms of BTC.With Bitcoin's exponential increase in hashing diculty,arig's ability to generate BTC drops exponentially over time.At the average of 1.199 growth of diculty rating per 14-day period (see Figure 2),more than 66% of a rig's lifetimeBTC earnings comes in the rst quarter,22% will come inQ2,7% in Q3,and 4% in Q4{Q1.The lifetime earnings inBTC top out at 84 the initial daily earnings.Practicallyspeaking,you will unplug the rig in two cases:rst,when thedaily earnings in USD is less than the cost of the energy bill,and second,when you need to clear space for your newlypurchased set of much faster hashing hardware which hasbegun its rapid depreciation cycle.The rig's value is the sum of these exponentially decliningexpected payments,minus operating costs,plus a nal pay-ment,which is the salvage value of reselling the hardware atthe end of its life cycle.From this,we can compute the ROI,with P=price,X=exchange rate,ME=maintenance and en-ergy costs,and DRiinitial daily revenue5:ROI =PresaleXresale+80  DRiMEPpurchaseXpurchase1Making a decision about mining hardware requires you toestimate several of these parameters.Some are known at thetime of purchase;for instance,the purchase price and pur-chase exchange rate,and the cost of maintenance.For GPUs,it is easy to estimate the DRi,since ship dates are easy toestimate,and because the online forums will frequently con-tain postings with the hashing rate (in gigahash per secondor Gh/s) of the hardware.The ME are also easy to estimatefrom your electric bill costs and from the power specs of theGPU.GPU resale price can be estimated from E-bay salesof prior GPU hardware.The primary risk is the USD/BTCexchange rate when you resell the hardware.For general-purpose hardware like GPUs,you might recover a signicantfraction of the salvage value in USD.However,the currencyrisk is considerable in this conversion|if BTC appreciatessignicantly,then salvage value,denominated in BTC,willbe very low,and you will hold onto the hardware because theenergy costs are proportionally low.On the other hand,ifUSD/BTC rate stays steady or declines in value,then sellingthe hardware early will greatly improve your ROI.Inspectionof E-bay shows relatively low depreciation on year-old AMDGPUs.On the other hand,the story for custom hardware isthe opposite.Since its only purpose is for mining,everybodywill be dumping it on the market at the same time.Customhardware like FPGA boards and ASICs has much more sig-nicant risks that focus around the delivery date.Every sin-gle eort has slipped to date,with grass-roots eorts tendingto be optimistic in how quickly they can assemble and shipthe hardware.Managing this delivery risk is a major part of4Smart,as it creates demand for BTC,driving up its value!5We assume the rig will operate for 3 quarters,producing.95*84 = 80 initial daily revenues;if daily ME costs arehigh relative to DR,a shorter time frame would be apropos.bitcoin mining.First,you must decide which of several com-peting eorts for a new technology (whether ASIC or FPGA)is most likely to deliver rst.Then,within that eort,youneed to get yourself early on the wait list relative to othercustomers.Otherwise,although you picked the right tech-nology,the diculty of the mining pool will have alreadyramped to meet the new technology,and you will lose themost valuable,early prots of the technology.For example,a Bitcoin software developer who was selected to receive therst available Avalon ASIC rig cost spent 108 BTC,earningover 15 BTC on its rst day of operation in Feb 2013,whilein August 2013,there are back-ordered rigs of the same typeeven though the rig only pulls in 0.9 BTC per day.Using theformula above,we can see that the revenue dierence is 1200BTC versus 72 BTC,a jaw-dropping dierence for the samephysical hardware.2.6 Retiring a rigFigure 3 graphs the daily revenue per Gh/s that the Bitcoinnetwork paid out since 2010.This graph combines histori-cal hashing diculty data with the historical USD/BTC ex-change rate.The drop in late Nov 2012 corresponded to thetransition from 50 BTC to 25 BTC payouts per block.Thehorizontal lines show the daily energy cost per Gh/s of CPUs(Core i5),GPU (AMD 7970),FPGA (Bitforce SHA256),and110-nm ASIC (Avalon Batch 1) at 20 cents per kilowatt en-ergy cost.When the revenue per Gh/s of mining drops belowthese costs,prots turn negative and the rig should be turnedo.The network is currently experiencing a large-scale buildout of ASIC capacity,which will drive daily $ per Gh/s belowthe FPGA line and ultimately below the 110-nm ASIC line.Downward voltage scaling can possibly provide a few extramonths of life.Since diculty increases largely exponentially,at or upward regions in daily $ per Gh/s are typically theresult of appreciation of BTC relative to USD.3.BITCOIN’S COMPUTINGEVOLUTIONIn this section,we examine some notable challenges anddevelopments in the evolution of\bespoke"customized com-pute systems intended for Bitcoin mining.3.1 CPU:First Generation MiningThe bitcoin miner source code can be found on github,andis surprisingly simple (see https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp).The basic computation,while (1)HDR[kNoncePos]++;IF (SHA256(SHA256(HDR)) < (65535 << 208)/DIFFICULTY)return;can leverage existing high-performance libraries for imple-menting the SHA256 hash.One simple optimization that isused is the use of a mid-state buer,which contains the be-ginning portion of the block header that precedes the nonceand has a constant intermediate hash value.The SHA256 computation takes in 512 bits blocks and per-forms 64 rounds of a basic encryption operation involvingseveral long chains of 32-bit additions and rotates,as wellas bit-wise functions including xors,majority,and mux func-tions.An array of 64 32-bit constants is used as well.Eachround is dependent on the last round,creating a chain of de-pendencies between operations.Although separate rounds ofa SHA256 computation cannot be parallelized,each separatenonce trial can be performed in parallel in a classic Eureka-style computation,making this very amenable to paralleliza-tion.Furthermore,some of the operations inside a round arepallelizable.However,typical multicore machines have extra0.02M’10JJASONDJ’11FMAMJJASONDJ’12FMAMJJASONDJ’13FMAMJJASdaily $ per Gh/sCPUGPUFPGAASIC.04.1.2.512.4102050100200$500Figure 3:Daily $ per Gh/s.The gure graphs thedaily revenue per Gh/s that the Bitcoin network paidout since 2010.The horizontal lines show the dailyenergy costs per Gh/s of CPUs,GPU,FPGA,and110-nm ASIC at 20 cents/kWh energy cost.Whenrevenue per Gh/s drops below these costs,protsturn negative and the rig should be turned o.hardware optimized for less regular computations,resultingin wasted performance and energy eciency.3.2 GPU:Second Generation MiningIn October 2010,an open-source OpenCL miner was re-leased on the web,and it was rapidly optimized and adaptedby several open-source eorts.Typically these miners wouldimplement the Bitcoin protocol in another language such asJava or Python,and the core nonce-search algorithm as asingle OpenCL le6that was compiled down by installed run-times into the hidden native ISA of the GPU.Dierent variants of the OpenCL le emerged as coders at-tempted to coax the compilers to improve code quality.Thenon-OpenCL code is also responsible for invoking an OpenCLAPI to use the GPU,for double-checking answers,and forcontrolling GPU parameters in response to temperature anduser-specied tuning parameters.Since these rigs will be left to mine for many months attime,users aggressively tweaked the voltages (lower to reducemining costs,or higher,with frequency,to increase Gh/s)and operating frequencies of video ram(lower to save energy,since memory is unused) and the GPU core itself,as well asparameters of the code such as the number of threads thatare enqued at a time,so as to maximize throughput withinreasonable bounds of stability and temperature.Since theBitcoin computation does not exercise the memory systemor oating point units,many of the critical paths and bot-tlenecks in the GPU are not exercised,which means that thesystem can be pushed beyond the normal bounds of reliabil-6https://github.com/Diablo-D3/DiabloMiner/blob/master/src/main/resources/DiabloMiner.cl.ity.Over time,it would often become necessary to retunethe parameters as fans and power delivery system wear even-tually caused a critical path to run too slowly.Mainstream AMD GPUs tended to outperform NVidiaGPUs in terms of Gh/s per $,in part due to a instruc-tion set well-suited for the bit-level nature of the SHA256algorithm,and also because the AMD VLIW ISA providesfor more parallel ALUs running at slightly lower frequencythan NVidia products.In particular,rotate operations andbit-wise choose operations could be implemented with singleinstructions in the AMD ISAs.The core code itself was specied in OpenCL rather thanmachine or assembly code,and in some cases,patched afterthe binary was generated to make use of special instructionsthat were not directly supported by OpenCL.The code isscheduled via the AMD software into the VLIW4 or VLIW5instruction sets,which allows some of the operations in eachround to execute in parallel.The OpenCL implementationsare consistently a single linear code region which at startselects a nonce based on the thread work item id,and whichperform both chained 64 SHA256 hash rounds in a singleunrolled loop.External memory is not accessed in steadystate.Successful nonces are agged at the end of the OpenCLroutine,to be acted on by the driver code.A Datacenter In My Garage.After shelling out $300-600 on a GPU-based mining rig that is literally minting cash,and spending considerable timing tweaking its parameters,the natural inclination is to scale it up.Buy the same GPUagain,and reuse the settings,and you double your money.Infact,the BTC are coming in so fast,and growing so quicklyin value,maybe it makes sense to buy ten or twenty GPUs!Although this could have lead to catastrophe,with groupbehavior leading to a massive collective drop in protabilitydue to a sky-rocketing diculty rating,it turned out thatBTC appreciated so quickly that these gung-ho BTC mintersdid not grow regret their decision.GPUs tended to be much more accessible than FPGAsfor end users,requiring PC-building skills and avid forum-reading but no formal training in parallel programming orFPGA tools.The goal of scaling BTC hash rate throughGPUs pushed the limits of consumer computing in amazingand novel ways.GPUs had a few key limitations:1.The GPUs are not standalone.Each GPU had to beplugged into a PCI-E 8x or 16x slot,of which there arerelatively few on commercial motherboards.2.The motherboard,processor,hard-drive and RAMare allbut unused in GPU mining,and increase the $ per Gh/scost of your mining operation.Typical users had a singlecomputer lying around to host the GPU,but didn't havemore computers to host follow-on GPUs.3.The GPUs would typically require 200-300W of addi-tional power,per GPU,quickly exceeding typical powersupply (PSU) ratings and requiring an upgrade.4.Cases are typically not designed to provide the air owrequired for multiple GPUs.5.The power consumption of multiple GPUS rapidly ex-ceeded natural cooling,power and noise limits of typicalresidential spaces.6.OpenCL required a display to be attached to the GPU.7.GPUs typically take two slots in a case or motherboard,preventing you from attaching many GPUs to a system.The solution that evolved,addressed these issues as fol-lows.First,because Bitcoin running on the GPUs did notmake use of the bandwidth to the motherboard,a 1x slotactually had sucient bandwidth,and in fact the GPU func-Figure 4:Two open-air GPU mining rigs.In both cases,ve GPUs are suspended above the motherboards,with riser cables connecting the PCI-E connector of the GPU to the motherboard below,and a single high-wattage power supply powering both.Note that the second rig is blowing exhaust heat out of the openedwindow.Left photo credit:James Gibson (gigavps).Right photo credit:Sophokles.tions ne with only a 1x connection.A simple $8 PCIe risercable converts fromthe 16x GPUconnector to the 1x mother-board slot.However,this meant the card could not actuallybe plugged into the case|which led to hackers to get rid ofthe case and just create rail sets that suspend the GPUs overthe motherboard.With an appropriate motherboard withmany cheap 1x slots,this problem was solved.The use ofrails allowed an open design with more surface area for dis-sipating heat.A resistor was inserted into the GPU's DVIadapter to fake out the presence of a monitor for OpenCL.These approaches enabled a low-cost motherboard,CPU,andDRAMcombination to be amortized across 5 or 6 GPUs,im-proving capital eciency.Figure 4 shows a few examples ofwell-designed open-air multi-GPU rigs.Interestingly,some of these systems would work for a fewmonths but then would develop stability issues.The GPUswould pull too much 12V current through the PCI-E slots,overloading the current-carrying capacity of the power con-nector on the ATX motherboard.The solution was to break-out the 12V wire from the riser cable and connect it directlyto the power supply via molex,bypassing the motherboard.After the technical issues of reducing per-GPU overhead,the next scaling challenge is in dealing with the prodigiouspower and cooling requirements of maintaining many GPUs.With each GPU consuming 200 Watts or more,the powerdensity is comparable or in excess of that of many high-density data centers.Data-centers were almost never usedbecause of high costs and data-center imposed requirementsfor FCC certication of the hardware.Few residential homesare equipped to deal with these demands and in states likeCalifornia,residential energy prices allow only one or twoGPUs before the price per KWh is jacked up to 35 cents perKWh.The most successful Bitcoin mining operations typi-cally relocated to warehouse space with a large volume of airfor cooling and cheap industrial power rates.Figure 5 showsa homebrew data center consisting of 69-GPU rack that iscooled by an array of 12 box fans and an airduct.3.3 FPGA:Third Generation MiningJune 2011 brought the rst open-source FPGA bitcoinminer implementations.FPGA are inherently good at bothrotate-by-constant operations,and at bit-level operations bothused by SHA256,but not so good at SHA256's 32-bit adds.An interesting challenge of the open-source eorts for FPGAminers was providing a design that scaled to a variety of levelsof FPGAs,from high-end to low-end.The resulting design7addressed this challenge very elegantly by replicating a sin-gle SHA-256 module that had a parameter that specied anunroll factor.With full unrolling,the module would createdierent hardware for each of the 64 rounds of the hash,eachof which was separated by pipeline registers.These registerswould contain the running hash digest as well as a full copy ofthe 512 bit block being hashed.The state for a given noncetrial would proceed down the pipeline,one stage per cycle,allowing for a throughput of one nonce trial (hash) per cycle.Lesser unroll factors could be specied that would recyclevalues in the pipeline,and calculate a hash every N cycles.Ifthe FPGA were large enough,several such unrolled pipelinescould be instantiated,and trade-os could be attempted be-tween unrolling and duplication of pipelines.This unrolled approach resulted in relatively high num-bers of registers being allocated,due to all of the mostly-redundant copies of the 512 bit block,but in many FPGAs,each logic LUTs is paired with registers,reducing their cost.The key challenge encountered with BTC FPGA miners isthat the power consumption was much higher than typical forFPGA|essentially the activity factor of LUTs was extremelyhigh with the pipelined design.As a result,the majority ofpre-made boards,such as educational boards readily avail-able to student hackers,could neither supply enough currentnor dissipate enough heat to sustain usage.The problemwas doubly so for higher end Xilinx parts that had more re-sources.As a result,hackers developed custom boards thatminimized unnecessary cost due to parts like RAM and I/Oand focused on providing sucient power and cooling.Theseboards attained 215 MH/s rates with Spartan XC6SLX150parts,and quad-chip boards were developed to reduce boardfabrication,assembly and bill-of-materials costs8,reaching860 MH/s at 216 MHz and 39 W,and costing $1060.Another manufacturer,Butter y Labs,based in Kansas,oered a non-open-source version that cost $599 with simi-lar 830 MH/s performance.They also oered a higher-endGoliath FPGA-based machine,the BFL Mini-rig,which costupwards of $15K and reached 25.2 Gh/s,and was based on7For instance,https://github.com/fpgaminer/Open-Source-FPGA-Bitcoin-Miner/tree/master/src.8See http://www.ztex.de/btcminer/for schematics andhttp://www.opencores.org/project,btcminer for Verilog.Figure 5:Two pictures of a homebrew 69-GPU Bitcoin mining data center.Note the ample power deliveryon the photos on the left,and the cooling system,consisting of the box fans and air duct on the photos onthe right.The GPUs are arranged in racks as shown in Figure 4.Photos Credit:James Gibson (gigavps).higher-end Altera FPGAs that individually reached 650{750MH/s per chip.Four of these rigs are shown in Figure 7.BFLwas by all accounts the most successful commercial closed-source Bitcoin company to date.Unfortunately,FPGAs had trouble competing on cost perGh/s with high-volume GPUs that would go on-sale on Newegg;often costing 30% more with less potential for resale.It didnot help that FPGA-based systems trailed GPUs in reachingthe latest,most energy ecient process generation;Spartan-6 was in 45-nm,and GPUs had reached 28-nm.The mainbenet of FPGA was the reduction of energy consumptionto one-fth,breaking-even on total cost of ownership (TCO)after a year or two,holding resale equal.The reign of FPGAs was brief,because little time passedbefore the next generation of hardware,ASICs,providedan order of magnitude cost and energy-eciency advantage.However,FPGA development eorts were not wasted;in-stead they served as a quick stepping-stone to ASIC.TheASIC Verilog designs used were remarkably similar to theFPGA Verilog implementations that preceded them,and theboard,packaging and distribution infrastructure and exper-tise could be re-applied to the ASIC generation.We examinethe rst three ASICs that came to market.3.4 Butterﬂy Labs (BFL)BFL was the rst to announce an ASIC product line,con-dent from their prior success in their FPGA product line.BFL took pre-orders in June 2012 for three types of ma-chines;$149 Jalapenos rated at 4.5 Gh/s,$1,299 SC Sin-gles rated at 60 Gh/s and $30K SC MiniRigs rated at 1,500Gh/s.At these prices,the machines could generate 20-50more bitcoins per dollar invested versus GPUs.The fundsfrom these pre-orders,which exceeded $250K just in the rstday,and lasted many days after that,presumably coveredthe considerable NRE mask costs for BFL's 65-nm GLOB-ALFOUNDRIES process9,with a speculated cost of $500K109Some rumors state that BFL took investments.10A post by Friedcat,lead representative of the ASICMINERoutt in July 2012 indicated that NRE costs in China run150K for 130nm,and 500K for 65nm,and even less withMLM.BFL may have paid more since it used premiumouttand also ASIC design service costs incurred by Butter y.The BFL chip used in all three products contains 16 lanesof double-SHA256 hash pipelines,essentially integrating 16Spartan-6 FPGAs into one ASIC.The die size was 7.5 mmona side,and it was placed into a 10x10 mm BGA 144 package.Surprises.BFL initially targeted the rst half of Nov forshipping their product,however the schedule experienced re-peated slips after setbacks and delays from the fab,packag-ing and BFL itself.The targeted power consumption of thechip was 0.8Wper Gh/s,but a month or so before the chipswere expected to roll o line,BFL revised its target to 1.2W,and switched from QFN package to a ip-chip BGA package,after tape-out,in anticipation of potential power problems.The energy-eciency of the device ended up being a majorsetback;it ended up consuming 4{8 as much power thanexpected,which required that they underclock the chips from500 MHz to 250 MHz.These factors required a redesign of allof the systems using the chips.For example,the Jalapenos,which were supposed to use 1 chip,were shipped with twochips to meet the 4.5 Gh/s rate,and they typically operatedat 30 Watts,closer to 6W per Gh/s.The MiniRigs,shownin Figure 7,would ship as three separate 500 Gh/s boxes.While the chips were intended to operate at 500 MHz,in-stead they would be clocked at 250 MHz,in order to keepthe thermal dissipation within chip limits.The three de-signs inherently leverage the redundancy of the lanes to con-trol yield;BFL reports that 60% of the chips have 16 fully-functional hash lanes,20% have 15,15% have 14 lanes,and5% have 12-13 lanes functional.Dynamics of Customer-Financed Hardware.Consid-erable drama is recorded on the online-forums as customers,who essentially nanced the company with millions of dol-lars,posted on the forums demanding answers for the de-lays.These setbacks,combined with renements necessaryto their packaging,motherboards,and cases resulted in longwaits.BFL started shipping to customers in April 2013,vemonths after initial estimates,and almost a year after cus-tomers had paid for their units in Bitcoin.A large orderbacklog still exists in Aug 2013,however BFL has shippedGLOBALFOUNDRIES.Figure 6:A USB hub hosting an array ofASICMINER Block Erupter USB-stick style bit-coin miners,and a USB-powered cooling fan.Each USB-stick uses a 130-nm ASIC that hashesat 330 MH/s,or about half the performance of$450 28-nmAMD7970 GPU.Photo Credit:Den-nisD7.Figure 7:Newly arrived $22,484 65-nm ASIC-based BFL 500 Gh/s MiniRig SC,at center,with 4 surrounding last-generation BFL FPGAMiniRig,and a bunch of smaller mining rigs.Note the two hefty power cables;the rig con-sumes 2500 to 2700 watts.Photo Credit:JamesGibson (gigavps).many units,by order of ship date,within each category.Although BFL's customers were understandably concernedthat their purchase was rapidly depreciating before they evenreceived it,BFL's initial expectations about the amount oftime it took to bringup the chip and ship it at scale as aproduct were wildly optimistic,and in the end the delayswere probably not atypical,especially for a company's rstASIC product.Anecdotally,companies like Intel can oftentake a year from rst silicon to shipping products.What was perhaps most atypical was the high level oftransparency that BFL oered,most likely unparalleled in al-most any chip product,presumably brought on by their pre-order based model which,while raising ample capital,alsopushed them to over-promise.Nonetheless,this resulted infrustration and animosity from many enthusiastic customersanxiously looking at the rising BTC diculty curve and won-dering if they had bet on the slow horse.3.5 ASICMINERThe ASICMINER(www.asicminer.co) Bitcoin eort startedin early July,after BFL had started taking pre-orders fortheir machines,and consisted of three Chinese-national founders.One of the motivations was to prevent BFL from being thesole purveyor of Bitcoin mining hardware.Their approachwas quite dierent than BFL's,since they did not have thecredibility that BFL had from an existing product line.Remarkable,the entire process of raising funding was per-formed exclusively through online forums,namely bitcointalk.org,and also some Chinese-language forums.Using theseforums,they outlined carefully their plan for developing anASIC,and responded to hundreds of questions,many of themvery technical,by the online community,regarding their busi-ness model,their technical decisions,and their nancial trust-worthiness.We summarize the openly posted developments.By July 18,the ASICMINER team had registered a com-pany in Shenzhen,China,and signed contracts with the ICmanufacturer and received the les required for starting thechip design process.By July 29,they had completed an ini-tial IC design,which targeted 1.25 Gh/s per chip in 130-nm,and used 17:5mm2of silicon,at 13.3 W of power.130-nmwas explicitly chosen because the NRE was low|on the or-der of 150K for a design based on a multi-layer mask setproduced by a fab in Shanghai,China.According to theirposts,they used a industry-standard ow:Verilog,VCS-based simulation,Verdi-based debugging Design Compilerfor synthesis,IC Compiler for Place and Route,Calibre fordesign rule checks (DRC) and layout-versus-synthesis (LVS),Virtuoso for merging the layout,StarRCXT-based extrac-tion,PrimeTime-based static timing analysis and Formalityfor verication.This tool suite would be quite expensive inthe US,but they cite that EDA licenses cost are cheap inChina,as are labor costs.In early August,after completing an initial place-and-route,they proceeded to raise funds through an IPO on an onlinestock exchange,GLBSE,in which the securities were Bitcoin-related and further denominated in bitcoin.They proposedto sell a 1/400K share of the company for 0.1 BTC,with upto 200K shares going to shareholders.Their business planwas to start out by mining shares with 12Th/s of their ownhardware,and then later sell hardware or chips directly tocustomers.The prots would be split as weekly dividendsequally across all shares.The forum posting contained aprofessional-looking prospectus,including risk factors,anddetailed payout schedule including preferential payments forshare-holders to recoup their investment before payout to thefounders,and estimates for prots based on Bitcoin dicultytrends and projections about competitors.Shareholder voteswere used attain guidance on key issues,such as whether toconvert 8,000 BTC raised in the IPO to at currency (535KRMB) in order to hedge currency risks and ensure paymentto the fab.The IPO closed Aug 27,selling 163,962 shares,roughly equivalent to 160K USD.By Sept 22,they nalized the chip's spec:1.05V,335 MHz,6 mm x 6 mm QFN40 package,4.2 W per Gh/s,6-metal130-nm process,with a simple memory mapped interface forwriting,midstate,data and nonces into the part.The partwould contain a single double SHA256 hash unit,essentiallyreplicating the Spartan-6 design at a higher frequency,lowerpower,and much,much smaller cost.The nal design fo-cused on reducing power consumption so that the QFN pack-age could be used to reduce packaging and cooling expenses.A tapeout followed shortly afterwards.On Oct 6,2012,the plot thickened.The GLBSE ex-change was shut down due to a security breach and disagree-ment among its founders.Since the shares were held in ananonymous system by GLBSE,ASICMINER did not knowwho its shareholders were,and would not be able to dis-tribute dividends.To make matters worse,some fraction ofASICMINER funds from the IPO was trapped in GLBSE'saccounts.Over time,the ASICMINER founders relied onemails and documentation from the shareholders to proveout the ownership of > 150,000 shares.Finally,GLBSE de-livered the list after two months of anxiety.By Oct 14,the mask-set was generated and in the wafer-process queue.PC board design had commenced and thefoundry received payment for the masks and rst wafer set.By Oct 31,the initial set of wafers was in the metal layerprocessing stage,the last stage before the wafers are slicedand shipped to be packaged.However,in Nov 7,it becomeclear that business at the fab had picked up,delaying furtherproduction of ASICMINER chips in favor of bigger players.For the next month,the founders posted to say how manylayers of processing remained left,with 1.4-1.5 day/layer for\hot runs"and 1.1-1.2 day/layer for\bullet"runs.By Dec 5,12 out of 29 layers remained.On Dec 22,half of the wafershad nished via the bullet run,with the other half waitingpre-metalization for potential bug xes.On Dec 28,2012,ASICMINER posted on the forum withchip carrier pictures|the rst Bitcoin mining ASICs ever.By Jan 31,2013,ASICMINER had boards in hand,eachwith 64 chips,and was aiming to deploy 800 boards,andmounting them into 10-board backplanes,by early Feb.By Feb 14,they had 2Th/s deployed and hashing.O-cially the ASIC Bitcoin movement was in full force!Over time,ASICMiner continued to deploy units,howeverthey encountered some signicant stalls after their initiallystellar rollout.They needed to train workers to assemble theunits,and acquire a warehouse space that had sucientlystable power and cooling to host the machines.Finally,theirfab,encountering a busy period,insisted that they respin themasks to avoid MLMtechnology which reduced fab through-put.After a period,encountering problems scaling out theirmining datacenter,they switched to a second phase wherethey sold their hardware directly to consumers.They auc-tioned o 60 individual 83W10.7 Gh/s blades on the forums,for prices as high as 50-75 bitcoin (roughly $5K-7.5K),to endcustomers,and then developed a USB miner stick,the BlockErupter,containing a single ASIC,which sold initially for2 bitcoin in large lots to be resold by others,and rapidlydropped in price.They are currently available for purchaseon Amazon.com for $44.Figure 6 shows a USB hub host-ing an array of ASICMiner Block Erupter USB-stick stylebitcoin miners,and a USB-powered cooling fan.Each USB-stick users a 130-nm ASIC that hashed at 330 MH/s at 1.05V and 2.5 W,but can be overclocked to 392 MH/s at 1.15V.The ASIC performs one hash per clock cycle,mirroring ear-lier FPGA designs.The ASIC is 40 more energy ecientthan the 28-nmAMD7970 GPU,and 4.4cheaper per Gh/s.ASICMINER shares now sell for 4 BTC each,signifyinga 40 return to the initial investors.Of the three eorts,clearly ASICMINER was the most innovative in trying outnew products and business models for their chips.3.6 AvalonThe Avalon company was another grass-roots eort thatsecured funding by direct Internet pre-sales of units via anonline store.A key founder,ngzhang,had established a rep-utation his design of a top Bitcoin FPGA board,Icarus.They focused on an 110-nm TSMC implementation of asingle double-SHA256 pipeline,measuring 4 mm on a side,and packaged 300 chips across 3 blades inside a 4U-ish ma-chine.Like ASICMiner,they were based in Shenzhen,China,which provided signicant challenges in shipping the rigsinternationally|they essentially had to transport the rigsthrough a shaky customs process to Hong Kong,where theunits could be mailed out.They ran pre-order sales for 300rigs,each selling for $1299 each,or 108 bitcoin at the time,and hashing at 66 Gh/s on 600W.They taped out slightly after ASICMiner,encountering de-lays due to higher-priority TSMC customers,with a targetdate of Jan 10.On Jan 30,2013,Je Garzik,a Bitcoin de-veloper,was the rst customer in history to receive a BitcoinASIC mining rig,which earned 15 BTC the rst day.Subsequently,Avalon sold o new machine batches,a 2ndbatch of 600 rigs for 75 BTC ($1599) on Feb 2,and a thirdbatch of 600 rigs,also for 75 BTC ($5500) on Mar 25.Theysold out almost immediately.Avalon followed up with directchip sales,selling over 100 batches of 10,000 chips for 780BTC per batch,or about $78,000.Groups of users bandedtogether to perform\group buys",ensuring security by nom-inating well-known online users to perform escrow.Othergroups banded together to design boards for the new chips,including USB sticks and multi-chip boards.In response,BFL has also started to sell their chips in bulk.Meanwhile,Avalon has started work on a 55-nm chip.3.7 Bitcoin Hardware ScalingAlready,pre-orders have been placed for 28-nm units froma new upstart company.This leads us to the question of howwell Bitcoin chips will scale.Due to the dark silicon problem,improvements in performance due to process technology aregated by improvements in energy eciency at 1.4 perprocess generation [3],i.e.,the ratio of the two feature widths.In fact,Bitcoin logic is close to the worst case for dark silicon,much worse than multicore [1] or GPUs,because of high dutycycles and lack of low power-density SRAMs.Thus,if we suppose 10-nm is the terminal process genera-tion for CMOS scaling,there is only a 6.5improvement thatwe can expect in performance/$ due to process generationimprovements versus 65-nm.Thus,the additional transistorcount and frequency gained by these advanced processes willnot pay the dividends one might expect,due to power limita-tions.BFL,with its advanced 65-nm chip,already bumpedup against these dark silicon related limits when it had toscale back performance due to power consumption.However,unlike in the\race to ASIC"days,the cost/per-formance dierence of future generations of hardware willnot be great enough to quickly obsolete the last generation.Rather,it will be energy costs that are likely to dictate whichASIC will be the most protable.This is especially true inthe case where there is a supply glut of chips of a given gen-eration,such as is likely to happen in the next year,as theNREs have been paid,and the three groups are simply pay-ing wafer costs now.One can imagine Bitcoin users dumpingtheir chips,and groups with access to cheap energy buyingthemfor almost free and putting themback to use for mining.Of course,there are two factors that dictate energy costs|the cost of energy,and the energy consumption of the part.The parties with the greatest advantage will be those thathave cheaper access to large quantities of energy and alreadyhave their mining hardware paid o when returns on hashingwere higher.Cheaper energy allows these parties to pay otheir newly acquired hardware over longer cycles,and to con-tinue to operate even when $ per Gh/s,as shown in Figure 3,drops precipitously low.Others may have an advantage be-cause they have more energy ecient hardware designs.Optimizing Energy Eciency.BFL's 65-nm part hashesat 5.5 W per Gh/s,while Avalon's 110 nm part is 9W,andASICMINER's 130-nm is 8W.Post-Dennard Scaling [2] pre-dicts that a 14-nm process could allow energy eciency toimprove another 65/14 = 4.6 to around 1 Wper Gh/s.Since the rst round of ASIC parts was essentially a race toASIC,there is likely ample room for optimization of the un-derlying circuits,including relatively o-the-shelf optimiza-tions that improve energy eciency without decreasing per-formance or increasing area,such as reducing energy costby replacing ip- ops with latches,using multi-Vtows,orusing dual-edge triggered ip- ops,or even using self-timedlogic to reduce clock energy.Additionally,there are system-level power distribution and cooling overheads (especially forBFL) that can be reduced.I would estimate at least a factorof 4 energy eciency to be gained from these approaches.Beyond this initial level of optimization,Bitcoin hash en-gines are very friendly targets for dark-silicon types of op-timization [2].In particular near-threshold voltage (NTV)operation is a great t for Bitcoin mining because hash unitscan hash with almost no communication,and there are noSRAMs to limit Vddscaling.We could expect that near-threshold could oer an additional 5 in energy eciency.Because SHA256 circuits are relatively simple,we couldimagine very specialized fabrication processes emerging forthem,along the lines of DRAMs today,that take advantageof the limited diversity in the circuit.4.CONCLUSIONS FORBESPOKESILICONIn this paper,we examined the Bitcoin hardware move-ment,which led to the development of customized siliconASICs without the support of any major company.The usersself-organized and self-nanced the hardware and softwaredevelopment,bore the risks and duciary issues,evaluatedbusiness plans,and braved the task of developing expensivechips on extremely low budgets.This is unheard of in mod-ern times,where last-generation chip eorts are said to cost$100 million or more,and the#of ASIC starts drop yearly.What lessons can learn from this?Under what conditionsis bespoke silicon truly possible?Some thoughts: Bespoke silicon is most competitive against high volumesilicon when it passes the\concentration test":the benetof customized silicon is contained almost entirely in the partitself,and not in other parts of the system.In the case ofBitcoin,the protability is a direct function of the silicon,with fewother factors except access to electricity and cooling. As in the case of Bitcoin,it makes sense that the initialsteps towards realizing a bespoke implementation of a algo-rithm would start with successively harder levels of progam-ming (i.e.cloud,then GPU),and then use FPGA as a gate-way to a low-cost ASIC.As was the case with Bitcoin,if thecomputation exhibits\weak scaling",where the data size canbe scaled up arbitrarily to provide additional benet,and thespecialized implementation is much smaller than the equiva-lent general purpose or FPU code,then it will be a good tfor a cheap ASIC,making the jump. Surprisingly,university research played a limited role inthe development process.There are good reasons for this.For one,university research focuses on the latest fabricationprocesses,which inherently are unsuitable for bootstrapping.Furthermore,the university has free access to tens of mil-lions of dollars worth of CAD tools that are licensed for non-commercial use only.This means that recent graduates don'tknow how to\do hardware on the cheap". The arrival time to market was in direct inverse orderof the process node targeted:130-nm came rst,and 65-nmcame last.In situations where ASIC really makes a dier-ence,what's important is that you get the ASIC working andnanced,not what generation it is,or how optimized it is. Venture capital appeared not to play a signicant role.VC conventional wisdom is that hardware startups are toocostly,and take too long.Here,user bases were able to self-nance through Bitcoin-denominated stock sales,throughonline forums,and through pre-order websites,even in caseswhere the order price ran in the thousands.Kickstarter,an-other option,surprisingly did not play a role in the contest,although it helped Adapteva.Essentially,the model is thatnew technology comes into being when crowdsourced earlyadopters believe in it enough to risk their money. Bitcoin machines had a very strong value propositionfrom the outset:you buy the machine,and it makes you lotsof money.Furthermore,users had already tested this valueproposition with prior generations of miners.It's possiblythe easiest product to motivate people to risk capital for. Two of the teams were from China,and were operat-ing in Shenzhen.Although Silicon Valley is known for itscutting-edge design,much of the work done on a tight bud-get is performed in Asia.This gives them an inherent advan-tage in bootstrapping.Cheap access to labor and CAD toolsalso played an essential role.The CAD ow mentioned byASICMINER would run $400K+ for a single seat in the US. Ultimately,for innovation in the hardware space,we needlots of new ideas to be tried out for cheap.However,thesemiconductor model has increasingly moved away from thisdirection to expensive chips.As a result,chip startups arelargely non-existant and there are few markets in which high-risk,innovative ideas can be examined.At the same time,demand for hardware engineers is dropping and fresh hard-ware talent is being diverted away from hardware companiesto software companies that oer higher salaries.This createsan increasingly unhealthy death spiral where fewer new ideasare being tried and the top talent is leaving the eld.We need to think about strategic ways to enable cheaperchips for new ideas|perhaps via open-source CAD tools,through new technologies to reduce chip costs like MLM,through more uid nancing methods that spread risk bet-ter,and through better education and training|in order toenter the Age of Bespoke Silicon.This work was partially supported by NSF Awards 0846152,1018850,0811794,and 1228992,Nokia and AMD gifts,and bySTARnet,an SRC program sponsored by MARCO and DARPA.We thank James Gibson,Sophokles and DennisD7 for provid-ing photographs,and the Bitcoin online forums for information.Thanks to Saman Amarasinghe and Krste Asanovic for feedback.[1] Goulding et al.\GreenDroid:A mobile application processor fora future of dark silicon."In HOTCHIPS,2010.[2] Taylor.\Is dark silicon useful?harnessing the four horesemen ofthe coming dark silicon apocalypse."In Design AutomationConference (DAC),2012.[3] Venkatesh et al.\Conservation cores:Reducing the energy ofmature computations."In ASPLOS,2010.