Skip to content

Benchmark v1.1.0

Compare
Choose a tag to compare
@tevador tevador released this 30 Aug 09:36
· 166 commits to master since this release

Performance may be slightly lower than v1.0.4 on some CPUs due to #118.

Using the new --secure option may decrease mining performance by up to 30%, but provides slightly more secure memory permission management.

Usage: ./randomx-benchmark [OPTIONS]
Supported options:
  --help        shows this message
  --mine        mining mode: 2080 MiB
  --verify      verification mode: 256 MiB
  --jit         x86-64 JIT compiled mode (default: interpreter)
  --secure      W^X policy for JIT pages (default: off)
  --largePages  use large pages (default: small pages)
  --softAes     use software AES (default: hardware AES)
  --threads T   use T threads (default: 1)
  --affinity A  thread affinity bitmask (default: 0)
  --init Q      initialize dataset with Q threads (default: 1)
  --nonces N    run N nonces (default: 1000)
  --seed S      seed for cache initialization (default: 0)

Changes:

  • Fix undefined behavior in rotr/rotl (#86)
  • Fix: possible overflow when using non-standard Dataset size (#87)
  • Sanity checks (#88)
  • Use cmake for building (#90)
  • Vector intrinsics for ARMv8 (#93)
  • Refactoring (#95)
  • benchmark: affinity cast for mingw (#96)
  • Do not attempt to allocate >= 4 GiB on 32-bit systems (#99)
  • Fix: hardcoded JIT code buffer size (#98)
  • Fix a compiler error on Apple OSX (#110)
  • Fix use-after-free in benchmark (debug build)
  • Changes recommended by Quarkslab (#111)
  • Optional W^X policy for JIT pages (#112)
  • Increase the frequency of CBRANCH (#118)