Skip to content

Conversation

@SChernykh
Copy link
Collaborator

RandomX v2 includes the following changes:

  • Program size increased from 256 to 384
  • CFROUND is tweaked to change the rounding 16 times less often
  • Group F and group E register mix is done using 16 AES operations (the extra 262144 AES ops come from this change)
  • Dataset prefetch is 2 iterations ahead instead of 1

RandomX v1 hash: 4194304 VM instructions + 262144 AES = 4456448 total ops
RandomX v2 hash: 6291456 VM instructions + 524288 AES = 6815744 total ops (+52.9%)

See design_v2.md and search for "RandomX v2" in specs.md for more details on the tweaks.

@SChernykh SChernykh requested review from hyc and tevador January 26, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants