[zapps-wg] Hardware-accelerated verification of randomness beacon

Jason Davies jason at jasondavies.com
Wed Apr 18 10:53:29 EDT 2018


Hi all,

I've implemented a simple Rust tool for parallel verification of the randomness
beacon:

  https://github.com/plutomonkey/verify-beacon

It uses Intel SHA extensions or ARM NEON crypto for performance.  I've added
the relevant SHA-256 intrinsics to Rust's stdsimd, which should land in nightly
very soon, but for now the tool should work fine using stdsimd directly.

If you have a Ryzen CPU, performance is rather good, e.g. 1h45m on 24 cores
running at 3.8GHz.  On ARM, it's not quite as good (indicating I may be able to
optimise further), but I was able to complete verification in 2h20m on 96 cores
running at 2GHz.

--
Jason Davies, https://www.jasondavies.com/




More information about the zapps-wg mailing list