4 ms·
I'm not sure of this specific calculation but in general they come from the network's total hashrate compared with the known floating point operations per secon
by Tarang 13y ago
I'm not sure of this specific calculation but in general they come from the network's total hashrate compared with the known floating point operations per second of the top 500 supercomputers. Not sure how flops has been equated to hashrates though.
Nowadays it makes less sense since bitcoin hardware is ASIC/custom silicon designed & optimized for hashing as opposed to floating point operations making the comparison biased.
- throwaway_yy2Di 13y agoThe numbers are: 9 petahashes/second (entire Bitcoin network [FTA]), and 20 petaflops/second (IBM Sequoia [1]). If you equate a SHA-2 hash with a floating point op, the ratio is 0.45, not 4,500. [1] http://www.top500.org/system/177556 http://www.top500.org/system/177556
- Tarang 13y agoThis site (http://www.bitcoinwatch.com/ http://www.bitcoinwatch.com/) seems to do a 'flops' type conversion from the hashrate on the bitcoin network. Currently at 108239.28 Petaflops which is 5400x the performance of the IBM Sequoia. This is approximately the quoted amount of 4500. While I don't agree with the idea that a hashrate can be converted into flops because its more bitwise opts others are drawing similar calculations to UCSD. Also a bit more of a discussion on this: https://bitcointalk.org/index.php?topic=7675.20 https://bitcointalk.org/index.php?topic=7675.20
- sp332 13y agoThanks for the numbers, but a SHA-256 hash takes a lot more than one "flop".
- maxerickson 13y agoDo you think that is a sensible equivalence? A Radeon 7990 gets around 1.2 gigahash/second and 8.2 teraflops. The ASICS are of course skewed towards hashes from there, and I guess the supercomputer could be more skewed towards floating point than the GPU, but a large factor seems more likely than a fraction.
- mrb 13y agoYou are making a terrible apples vs. oranges comparison. A bitcoin hash is about 1900 32-bit integer operations [1]. This is comparable to 1900 32-bit floating point operations, not one(!). Because most CPU/GPU, when they can execute N integer ops per cycle, can also execute N floating ops per cycle. So the ratio clearly is in the ~1000 order of magnitude. [1] https://en.bitcoin.it/wiki/Why_a_GPU_mines_faster_than_a_CPU#Why_are_AMD_GPUs_faster_than_Nvidia_GPUs.3F https://en.bitcoin.it/wiki/Why_a_GPU_mines_faster_than_a_CPU...
- throwaway_yy2Di 13y ago"A bitcoin hash is about 1900 32-bit integer operations [1]. This is comparable to 1900 32-bit floating point operations, not one(!)." That's the amount of work you do in a software implementation of SHA-2, running on a CPU or GPU. This abstracts the hardware complexity inside the chip, which is very relevant when we're going into ASIC's. SHA-2 is bit shifts, masks, and binary adders: it's much simpler than a floating point core. A hardware comparison would be something like ops/(transistor * time). A recent Bitcoin press release [1] claims 500 billion SHA-2 hashes/second out of >1 billion transistors: ~500 hashes/(transistor-second). A 7990 has a peak throughput of 8.2 teraflops SP [2], out of 8.6 billion transistors: ~1,000 flops/(transistor-second). Both are on 28nm processes. [1] http://finance.yahoo.com/news/uniquify-hashfast-announce-working-silicon-160000124.html http://finance.yahoo.com/news/uniquify-hashfast-announce-wor... [2] https://en.wikipedia.org/wiki/Radeon_HD_7000_Series#Southern_Islands_.28HD_7xxx.29_Series https://en.wikipedia.org/wiki/Radeon_HD_7000_Series#Southern...