Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RandomX 2 year anniversary, evaluating the landscape of PoW, etc. #636

Closed
Gingeropolous opened this issue Dec 1, 2021 · 5 comments
Closed

Comments

@Gingeropolous
Copy link
Contributor

If you don't recall the fun leading up to the RandomX fork 2 years ago, I made a super rushed write up yesterday . Long story short, we did it, and it seems that we're still doing it. However, when reading through our history I came across some notions that we were going to "check in" on RandomX and see how its fairing.

One particularly "fun" issue is the question of whether we should "tune" RandomX to adjust to the hardware landscape.

Off the cuff, and from brief discussions in #monero-pow, there doesn't seem to be anything in the current space or on the horizon that could challenge the goals and purpose of RandomX. It seems the major chip manufacturers are bringing things to market that are... well, not really game changing.

Intel's bigLITTLE is more of the same. Of potential interest is the move of Apple to bring RAM onto the CPU die. Similarly, AMD is growing monstrous caches on their processors, and will probably move RAM onto the die at some point probably.

So yeah. The point of this issue is to discuss and explore.

Any thoughts?

@hyc
Copy link

hyc commented Dec 1, 2021

Thanks for writing up, the summary sounds right to me.

Another hardware development to mention is wafer scale computing, but that is unlikely to be useful for anything besides AI/ML projects.

@Gingeropolous
Copy link
Contributor Author

Dumping articles on next gen CPU tech could be useful.

AMD
https://www.digitaltrends.com/computing/amd-ryzen-6000-news-rumors-specs-release-date/

So, if the general move is to continue loading up CPU die with more memory (in any sense), does RandomX continue to do its thing? I mean, presumably the major advantage to closer memory is to reduce the latency, and RandomX is sensitive to RAM latency. So if we keep the 2gb scratchpad or whatever, and that all moves on-die, then those CPUs are just better at RandomX because they are just faster CPUs?

At that point I guess the actual computation may become the bottleneck.

Should there be a consideration to increase the 2gb thing to force use of distant RAM?

I guess I'm trying to figure out what sort of change we'd be looking for to warrant any tuning.

@carrington1859
Copy link

RISC-V is something to keep an eye on in general. Seems like it is taking off in a big way, and maybe will lead to more diverse hardware. Not sure how that impacts Random-X though.

@Gingeropolous
Copy link
Contributor Author

https://web.archive.org/web/20230914110625/https://m.bitmain.com/product/detail?pid=00020230828105038795jYr5J0WO0689

The Bitmain X5 claims to be a "professional miner" for Monero. Note it doesn't say its an ASIC. It also directly states its RISC-V

@selsta
Copy link
Collaborator

selsta commented Dec 18, 2023

Closing this since a lot of time has passed and we are working on tweaking RandomX.

@selsta selsta closed this as completed Dec 18, 2023
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

No branches or pull requests

4 participants