Skip to content

Instantly share code, notes, and snippets.

@hyc
Created October 22, 2019 01:52
Show Gist options
  • Save hyc/0eb85f226c21b28b67a62baf4cd8e2ed to your computer and use it in GitHub Desktop.
Save hyc/0eb85f226c21b28b67a62baf4cd8e2ed to your computer and use it in GitHub Desktop.
RandomX benchmark on 32 core Ampere eMAG ARM server
root@randomx:~/RandomX/build# ./randomx-benchmark --auto --verify
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- light memory mode (256 MiB)
- JIT compiled mode
- hardware AES mode
- small pages mode
Initializing ...
Memory initialized in 1.42558 s
Initializing 1 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 41.5958 ms per hash
root@randomx:~/RandomX/build# ./randomx-benchmark --auto --verify --largePages
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- light memory mode (256 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing ...
Memory initialized in 1.22281 s
Initializing 1 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 33.7581 ms per hash
root@randomx:~/RandomX/build# for i in `seq 1 32`; do ./randomx-benchmark --auto --mine --largePages --threads $i; done
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45484 s
Initializing 1 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 62.4996 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.44825 s
Initializing 2 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 124.83 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.51879 s
Initializing 3 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 186.746 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.44588 s
Initializing 4 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 249.446 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.47114 s
Initializing 5 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 311.248 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.46201 s
Initializing 6 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 372.349 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.43117 s
Initializing 7 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 434.613 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.50694 s
Initializing 8 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 491.774 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.46768 s
Initializing 9 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 537.405 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.44793 s
Initializing 10 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 613.569 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.43067 s
Initializing 11 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 671.853 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.47591 s
Initializing 12 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 727.959 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45219 s
Initializing 13 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 780.124 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.47755 s
Initializing 14 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 833.113 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.44714 s
Initializing 15 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 890.799 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.46196 s
Initializing 16 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1014.36 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.51607 s
Initializing 17 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1070.78 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45268 s
Initializing 18 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1124.37 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.47546 s
Initializing 19 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1170.28 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45078 s
Initializing 20 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1222.8 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.43488 s
Initializing 21 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1272.98 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.49884 s
Initializing 22 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1318.68 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.67533 s
Initializing 23 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1348.64 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.5015 s
Initializing 24 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1383.28 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45826 s
Initializing 25 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1429.2 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.46742 s
Initializing 26 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1522.08 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.48227 s
Initializing 27 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1519.5 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.44743 s
Initializing 28 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1622.4 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.47413 s
Initializing 29 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1631.97 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.4595 s
Initializing 30 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1706.68 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.42756 s
Initializing 31 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1753.19 hashes per second
RandomX benchmark v1.1.4
- Argon2 implementation: reference
- full memory mode (2080 MiB)
- JIT compiled mode
- hardware AES mode
- large pages mode
Initializing (32 threads) ...
Memory initialized in 2.45638 s
Initializing 32 virtual machine(s) ...
Running benchmark (1000 nonces) ...
Calculated result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Reference result: 10b649a3f15c7c7f88277812f2e74b337a0f20ce909af09199cccb960771cfa1
Performance: 1800.44 hashes per second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment