Hi Todd, I know that SHA-256 is available in CPACF (and I've written Assembler code to use it). My assumption is that using Vector integer instructions to solve many hashes in parallel would be more efficient. CPACF SHA-256 (for one hash) is much better than equivalent GP Integer instructions, but it would not be competitive with even a modestly priced GPU card for bitcoin mining.
Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Jan 27, 2017 at 11:00 AM, Todd Arnold <[email protected]> wrote: > Kirk, you don't need to program the SHA-256 algorithm in software - it's > available as a hardware instruction using CPACF. I don't have performance > numbers handy for SHA-256, but you can see SHA-512 performance in this > paper: http://www.ibm.com/common/ssi/cgi-bin/ssialias?subtype=WH& > infotype=SA&htmlfid=ZSW03283USEN&attachment=ZSW03283USEN.PDF It does > over 7 million SHA-512 operations per second (per CPU) on 64-byte input > data. (That's a rate of 481 MB/sec of hashing. With larger input blocks, > the rate gets up to about 3.5 GB/sec.) > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
