Hacker GitHub

← All repos

minio/sha256-simd

View on GitHub ↗ ★ 1,042 Go

Accelerate SHA256 computations in pure Go using AVX512, SHA Extensions for x86 and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s per core). SHA Extensions give a performance boost of close to 4x over native.

6 mentions on Hacker News by 5 people: 2 stories, 4 comments · first 2016-07-27 · latest 2024-01-04

Mentions per year 6 mentions · busiest year 2016 (2)
20082026
  1. …and parallelism is only used in workloads where you process multiple messages at the same time). https://github.com/minio/sha256-simd https://github.com/BLAKE3-team/BLAKE3
    comment by wolf550e · 2024-01-04 · in The Curious Case of MD5
  2. another pretty easy optimization is swapping to https://github.com/minio/sha256-simd , particularly if you're on a process with the sha extensions. versus just spawning a goroutine per attempt, it'll likely be much faster as well to just…
  3. ▲ 5
    Show HN: Intel SHA Extensions provide 3/4x performance improvement over AVX2
    story by y4m4b4 · 2019-01-24 · 1 comment
  4. ▲ 74
    Show HN: Accelerate SHA256 Computations in Go Using AVX512 instructions
    story by y4m4 · 2017-12-13 · 33 comments
  5. …seems to be the same way [2](2013) - i.e. looping over multiple instructions per 64 byte block. [1] https://github.com/minio/sha256-simd/blob/master/sha256block... [2] https://software.intel.com/en-us/articles/intel-sha-extensio...
  6. For comparison with other checksums you should look here https://github.com/minio/sha256-simd#comparison-to-other-has...