Skip to content

Commit

Permalink
Updated performance numbers for arm on graviton2
Browse files Browse the repository at this point in the history
  • Loading branch information
fwessels committed May 15, 2020
1 parent 941c46d commit 98fbf12
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
17 changes: 11 additions & 6 deletions README.md
Expand Up @@ -42,13 +42,18 @@ So for moderately sized messages it tops out at about 15 GB/sec. Also for small

### ARM Performance

On an 8 core 1.2 GHz ARM Cortex-A53 (running Debian 8.0 Jessie with Go 1.7.4) the following results were obtained:
Below are the single core results on an EC2 m6g.4xlarge (Graviton2) instance for 256 bit outputs:

Platform/CPU | Write 64 | Write 1024 | Write 8192
----------------- | ---------------- | ----------------- | -----------------
ARM64 NEON | 384 MB/s | 955 MB/s | 1053 MB/s

*Note: For now just the (main) update loop is implemented in assembly, so for small messages there is still considerable overhead due to initialization and finalization.*
```
BenchmarkSum256_16 96.82 MB/s
BenchmarkSum256_64 445.35 MB/s
BenchmarkSum256_1K 2782.46 MB/s
BenchmarkSum256_8K 4083.58 MB/s
BenchmarkSum256_1M 4986.41 MB/s
BenchmarkSum256_5M 4992.72 MB/s
BenchmarkSum256_10M 4993.32 MB/s
BenchmarkSum256_25M 4992.55 MB/s
```

### ppc64le Performance

Expand Down
4 changes: 4 additions & 0 deletions highwayhash_test.go
Expand Up @@ -224,3 +224,7 @@ func BenchmarkSum256_16(b *testing.B) { benchmarkSum256(16, b) }
func BenchmarkSum256_64(b *testing.B) { benchmarkSum256(64, b) }
func BenchmarkSum256_1K(b *testing.B) { benchmarkSum256(1024, b) }
func BenchmarkSum256_8K(b *testing.B) { benchmarkSum256(8*1024, b) }
func BenchmarkSum256_1M(b *testing.B) { benchmarkSum256(1024*1024, b) }
func BenchmarkSum256_5M(b *testing.B) { benchmarkSum256(5*1024*1024, b) }
func BenchmarkSum256_10M(b *testing.B) { benchmarkSum256(10*1024*1024, b) }
func BenchmarkSum256_25M(b *testing.B) { benchmarkSum256(25*1024*1024, b) }

0 comments on commit 98fbf12

Please sign in to comment.