Looking to maximize performance when using ethereum-ethash

42 views
Skip to first unread message

Ramki...@hotmail.com

unread,
Sep 23, 2022, 8:37:48 PM9/23/22
to golang-nuts
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?
Reply all
Reply to author
Forward
0 new messages