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

Bucket sorting in RAM - less SSD usage and electronic waste #288

Closed
DVLP opened this issue Jun 18, 2021 · 4 comments
Closed

Bucket sorting in RAM - less SSD usage and electronic waste #288

DVLP opened this issue Jun 18, 2021 · 4 comments

Comments

@DVLP
Copy link

DVLP commented Jun 18, 2021

Not only electricity usage is important but also reducing electronic waste so to make Chia actually green it should not be going through SSDs so fast. On PCs with 256GB or more it can be made possible by doing the whole bucket sorting in memory hugely reducing SSD usage per plot and it's ~30% faster too. I've been working on the prototype for a few weeks and it finally produces valid plots https://github.com/DVLP/chiapos

@llamasoft
Copy link

If you have over 256 GB of RAM then you don't need to make code changes for this. Just mount a memory-backed tmpfs and use that as your temp directory.

If I'm being honest, this seems like less of an issue with chiapos and more of a way for you to promote your project.

@DVLP
Copy link
Author

DVLP commented Jul 29, 2021

Using a ramdisk as you suggest is at least 30% slower which still counts as a waste of energy. Otherwise I wouldn't bother continuing developing my POC into a working project.

@github-actions
Copy link

'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.'

@github-actions
Copy link

'This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants