Bitcoin Forum
November 09, 2024, 03:42:21 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 »  All
  Print  
Author Topic: FPGA mining for fun and profit  (Read 67190 times)
theboos
Member
**
Offline Offline

Activity: 87
Merit: 10


View Profile
May 19, 2011, 01:43:13 AM
 #81

This idea may have been discussed elsewhere, but what if someone produced a purely combinational logic circuit for calculating SHA-256 hashes. Such a circuit would be relatively small (low power consumption, easy to keep cool, easy to develop) and ridiculously fast, since you would get outputs as fast as you give it inputs. However, you'd need to develop one circuit for hashing the hash of the block header plus the nonce and another for hashing that hash (different input lengths). This isn't an issue if both circuits are combined, though it does double the initial computations needed for designing the circuit. Am I making some unreasonable assumptions here or would it be possible to achieve a multi-GH/s device?
de4l
Member
**
Offline Offline

Activity: 82
Merit: 10


View Profile
May 19, 2011, 01:45:24 AM
 #82

based on the huge difficulty jump today.... I think someone has succeeded in fpga/asic bitcoin flooding Sad
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
May 19, 2011, 01:54:53 AM
 #83

This idea may have been discussed elsewhere, but what if someone produced a purely combinational logic circuit for calculating SHA-256 hashes. Such a circuit would be relatively small (low power consumption, easy to keep cool, easy to develop) and ridiculously fast, since you would get outputs as fast as you give it inputs. However, you'd need to develop one circuit for hashing the hash of the block header plus the nonce and another for hashing that hash (different input lengths). This isn't an issue if both circuits are combined, though it does double the initial computations needed for designing the circuit. Am I making some unreasonable assumptions here or would it be possible to achieve a multi-GH/s device?

You still need clocking.  See here.

The idea of an ASIC (or FPGA, which is like an ASIC without the AS part) is to implement the logic such that all processing for each round is done in parallel, thus one round per clock.  You can then add pipelining to get an effective throughput of multiple rounds per clock.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
fpgaminer
Hero Member
*****
Offline Offline

Activity: 560
Merit: 517



View Profile WWW
May 19, 2011, 02:11:06 AM
 #84

Quote
I think someone has succeeded in fpga/asic bitcoin flooding
That seems to be a common misconception present in this thread.

FPGAs aren't powerful. They're actually quite inefficient and slow  Tongue Read ArtForz's posts for a good breakdown and debunking.

Someone with free access to a huge stack of FPGAs isn't any better off than someone who has free access to a huge array of GPUs, as far as hashing power is concerned.

As for an ASIC, I highly doubt anyone is foolish enough to drop >$1,000,000 of their own cash to have developed one. Also, it takes a long time from start to finish. Bitcoins weren't all that popular a year ago. They still aren't (outside of our little bubble).

Suppose someone was foolish enough to do so. Well, sucks for them. Good luck getting $1,000,000 out of the Bitcoin market right now. The only feasible profit would be from selling them and spreading the risk to the customers.

I post occasional updates on my progress with FPGA mining in this thread. If I succeed in making FPGA mining feasible, I fully intend to release a product.

I also still have on my TODO list the release of an FPGA Mining Reference Design, open-source.

I hope this helps clear out the mis-information and fear. As always, I am happy to answer questions about my project, FPGA mining, and FPGAs in general. It's an exciting topic for me and I hope my knowledge can be of some use to the community.

michaelmclees
Hero Member
*****
Offline Offline

Activity: 633
Merit: 500


View Profile
May 19, 2011, 02:53:44 AM
 #85

FPGAMiner, what else would explain the difficulty jump?  I'm thinking I ordered my 5850's at exactly the wrong time.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
May 19, 2011, 03:02:06 AM
 #86

The goal is to have each block come out in 10 minutes, on average.

The difficulty target is increased every 2016 blocks.  So, if hashing power is growing, the blocks just before a retarget will be coming in much too quickly.  If the retarget shoots for a 10 minute average based on the pool at the time, before long we'll be spitting them out in seconds.

So, you calculate the rate of growth and extrapolate it out a week.  The first 1008 blocks take too long, and the second 1008 blocks are too quick.  Hopefully, if you guessed right about the pool growth, you get it more or less right overall.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
boscoj
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 19, 2011, 03:06:09 AM
 #87

get me right, I know nothing of fpga's as they apply to mining but I can imagine a few implementations and also the potential for optimization . . .

http://upload.wikimedia.org/wikipedia/commons/0/07/Xilinx_S6-SP601_board.jpg
JJG
Member
**
Offline Offline

Activity: 70
Merit: 20


View Profile
May 19, 2011, 03:13:47 AM
 #88

FPGAMiner, what else would explain the difficulty jump?  I'm thinking I ordered my 5850's at exactly the wrong time.

More people rushing in.

I'm sure a lot of people ordered hardware back when the exchange rate first jumped. Over the past week they've probably been receiving their hardware, configuring machines, and bringing their mining online. Meanwhile, popularity continues to increase.

We've all known that difficulty has been climbing at a rapid rate for quite some time now. These jumps shouldn't come as a surprise to anyone.

As for FPGA mining, it's been debunked many times already. FPGAs are good at what they do, but they're not magical.

GPUs, on the other hand, are really, really, really good at crunching lots of numbers in parallel. And they're relatively cheap.
boscoj
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 19, 2011, 03:15:45 AM
 #89

yeah well we just get the fpga to manage the arrays
fpgaminer
Hero Member
*****
Offline Offline

Activity: 560
Merit: 517



View Profile WWW
May 19, 2011, 04:38:31 AM
Last edit: May 19, 2011, 04:53:15 AM by fpgaminer
 #90

Quote
yeah well we just get the fpga to manage the arrays
Neat idea! An FPGA driven board, with PCI-e controllers and an ARM core in the FPGA. You could then run ribbon cable to quite a number of video cards, depending on how many PCI-e cores fit into the FPGA. Luckily we only need PCI-e 1x, which seems do-able with an FPGA.

My back of the napkins calculations couldn't justify the price, though. Perhaps for large mining farms. The majority of GPU mining cost comes from the cards and PSUs. Such a solution would only cut out the motherboard, CPU, and RAM, which really aren't that much. Not to mention how difficult it would be to get fglrx drivers running on such a stripped down system.

What we really need to do is buy the GPU processors in bulk directly from AMD and build massive GPU array boards  Tongue

EDIT:
Quote
FPGAMiner, what else would explain the difficulty jump?
Personally, I don't find the difficulty jump surprising. But to answer your question, it was the recent spikes in the market price, compounded by the naturally growing number of miners. Newcomers see the market skyrocketing like that and they all start firing up the machines they have lying around. We've gotten lots of new traffic over the past week or two from Slashdot, Reddit, and I think an article or two.

I know I just brought on an extra 3GH/s online this past week or so. Also take a look at how many posts we have about people trying to get their new rigs up and running, or looking to buy one.

To be honest, the difficulty increase isn't that bad. It's quite appropriate for the market price, which jumped from ~$3-$4 all the way up to $10 not too long ago. Regardless of the difficulty increase I'm going to break-even on my hardware in a timely fashion just as I had hoped. Probably before schedule!

EDIT2:
Almost forgot! The phatk kernel was released shortly after the difficulty jump before last (jump to 157K). This increased everyone's performance by 10MH/s or so. That was about a 3% increase for most people, which most certainly contributed to this larger difficulty increase.

Chris Acheson
Sr. Member
****
Offline Offline

Activity: 266
Merit: 251


View Profile
May 19, 2011, 07:58:29 AM
 #91

Those of you voicing concerns about the possibility of Bitcoin being taken over by mining corporations with FPGA/ASIC clusters should check out the bounty thread for an open-source FPGA mining implementation.  Encouraging people to develop this stuff out in the open will help to prevent any one party from gaining too much of an advantage.
Grinder
Legendary
*
Offline Offline

Activity: 1284
Merit: 1001


View Profile
May 19, 2011, 08:28:29 AM
 #92

FPGAMiner, what else would explain the difficulty jump?  I'm thinking I ordered my 5850's at exactly the wrong time.
You've pretty much answered your own question. There are probably a thousand other aspiring miners in the exact same position. It happens after every large increase in price, and combined with a Slashdot front page it's a disaster for difficulty.
michaelmclees
Hero Member
*****
Offline Offline

Activity: 633
Merit: 500


View Profile
May 19, 2011, 12:04:31 PM
 #93

So my 1,000 dollar 1Ghs system isn't a total waste.  Fwwweeewww.
cypherf0x (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 1



View Profile
May 19, 2011, 06:32:48 PM
Last edit: May 19, 2011, 06:46:31 PM by cypherf0x
 #94

based on the huge difficulty jump today.... I think someone has succeeded in fpga/asic bitcoin flooding Sad

*bell ring*
We have a winner!

Two FPGA clusters went live.

I can't really describe the feeling of learning that the two initial units were for prototyping and there were RACKS of them to be used when idle.
cypherf0x (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 1



View Profile
May 19, 2011, 06:35:45 PM
 #95

Quote
I think someone has succeeded in fpga/asic bitcoin flooding
That seems to be a common misconception present in this thread.

As for an ASIC, I highly doubt anyone is foolish enough to drop >$1,000,000 of their own cash to have developed one. Also, it takes a long time from start to finish. Bitcoins weren't all that popular a year ago. They still aren't (outside of our little bubble).



Very true, but what if there was already a source of something equivalent to high speed SHA-256 ASIC. Wink
PcChip
Sr. Member
****
Offline Offline

Activity: 418
Merit: 250


View Profile
May 19, 2011, 07:09:35 PM
 #96



*bell ring*
We have a winner!

Two FPGA clusters went live.

I can't really describe the feeling of learning that the two initial units were for prototyping and there were RACKS of them to be used when idle.

Does anyone here think the original creator(s) of BitCoin ever forsaw this happening?
If not, how do you think they feel about it?


Legacy signature from 2011: 
All rates with Phoenix 1.50 / PhatK
5850 - 400 MH/s  |  5850 - 355 MH/s | 5830 - 310 MH/s  |  GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
teknohog
Sr. Member
****
Offline Offline

Activity: 520
Merit: 253


555


View Profile WWW
May 19, 2011, 07:14:24 PM
 #97

what if there was already a source of something equivalent to high speed SHA-256 ASIC. Wink

There are SHA-256 ASICs around, but they are basically I/O limited. They are fine for getting a hash of some given string, but in a Bitcoin miner you are incrementing a part of the input in a specific way. This can be done inside the chip, so you don't need a particularly high I/O with the outside world.

world famous math art | masternodes are bad, mmmkay?
Every sha(sha(sha(sha()))), every ho-o-o-old, still shines
randomguy7
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
May 19, 2011, 07:43:41 PM
 #98

I'm curious about that our 'mystery miner' bribes cypherf0x for not posting developement details, even if the main reason stopping the public to start FPGA mining seems to be the high price of the FPGAs (and a low hash rate compared to the high price). Even availability of some source code wouldn't make a difference at all because most people won't spend a bazillion dollars on FPGA clusters. Obviously mystery miner doesn't want us to know something. Maybe there's a quite affordable way to do fpga mining.
Does someone know the price to buy/rent copacobana?  Grin
Grinder
Legendary
*
Offline Offline

Activity: 1284
Merit: 1001


View Profile
May 19, 2011, 08:34:48 PM
 #99

Does anyone here think the original creator(s) of BitCoin ever forsaw this happening?
If not, how do you think they feel about it?
I, for one, welcome our new miner overlords.

This is the beginning of the end for bitcoins. Those who control the mining control the coins. If you're a big enough fan you'll probably be able to convince yourself that it's still better than normal fiat money, but the average person won't.
anisoptera
Member
**
Offline Offline

Activity: 308
Merit: 10



View Profile
May 19, 2011, 08:44:55 PM
 #100

And you think people will go along with centralizing this much economic power into so few hands? Satoshi deliberately  designed Bitcoin to distribute wealth because he knew that if it didn't then it wouldn't be adopted. If this news spreads, then Bitcoin is going to be worthless before 21 million BTC has been mined.


It's not like FPGAs are some secret inaccessible technology. They are just expensive. Know what else is expensive? Four 6990s.

Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!