I tried using bench on AWS servers (the most expensive Compute and Memory Optimized ones) on
https://github.com/hackmod/ethereum-ethash/blob/master/ethash_test.go#L88 but for each server (from 2 cores all the way to 64 cores) they all give similar numbers 9-12 seconds.
cpu: Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz
BenchmarkProcessShare-32 2 1015472592 ns/op 101924 B/op 636 allocs/op
BenchmarkProcessShare-32 2 1024122370 ns/op 102456 B/op 637 allocs/op
BenchmarkProcessShare-32 1 1036610777 ns/op 108408 B/op 640 allocs/op
BenchmarkProcessShare-32 1 1032957803 ns/op 108904 B/op 642 allocs/op
BenchmarkProcessShare-32 1 1004457663 ns/op 107336 B/op 636 allocs/op
PASS
ok 9.646s
Is there a way to optimize this or is there a better package for this that I'm not aware of?