Bitcoin Institute

anyone tried running with VIA Padlock extensions?

3 messages BitcoinTalk Ground Loop July 14, 2010 — July 15, 2010
Ground Loop July 14, 2010 22:44 UTC Link to this message

There’s a “drivers/crypto/padlock-sha.c” driver implementation in the standard kernel.

How does the openssl speed benchmark compare to bitcoin’s khash/s?

openssl speed -evp sha256

On my Core2Duo E8500, it’s:

The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
sha256           25568.41k    60726.70k   108968.11k   137848.27k   146604.46k
Ground Loop July 15, 2010 00:42 UTC Link to this message

Excellent insight into how the SHA256 stages are used. The machine I quoted above seems to run about 1630 khash/sec, so there’s one data point.

If openssh is hashing 512-bit chunks at a throughput rate of 60726.70k bytes per second, that’s 485 Mbps. If bitcoin on the same machine is doing 1,630,000 btc-hashes per second, and each btc-hash is effectively 1536 bits (three 512-bit hash inputs) through the same pipeline, that’s a whopping 2503 Mbps.

Is bitcoin really running SHA256 at 5x the speed of openssh?

Is each “khash/sec” a whole attempt, or each single cycle through SHA256?

Ground Loop July 15, 2010 19:51 UTC Link to this message

If I was building dedicated bitminer hardware, I’d start with something like this: http://www.xilinx.com/products/ipcenter/Fast_SHA-1-SHA-256_MD5_Hashing_cores.htm