-
-
Notifications
You must be signed in to change notification settings - Fork 475
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
Unnecessary flat-nodes with enough RAM #22
Comments
fix tests compilation on MSVC
How about literally allowing /dev/null instead of adding yet another option? Or would that be too obscure? We'd have to disable ALLOW_LOSSY on the ram cache, so it fails if the cache is too small and chain get request right through. Not very difficult to do. |
#668 may fix this if it makes |
@lonvia, did we ever test this? Perhaps there's a doc change needed. |
If you mean |
I was thinking of |
The cache is more compact for extracts, so yes. Flat nodes on the other side cannot accidentally run out of memory. |
We should go about this in a different way: if |
We now have a very efficient RAM middle, which allows to import the whole planet on a machine with 128GB RAM. That's what should be used on machines with enough RAM to import a non-updateable database. Can we close this issue as not relevant anymore? |
It's been said that you could almost use /dev/null for a flat-nodes file if you have a large enough -C value and don't plan to update the database. An option that allows you to use no file at all for flat nodes would be useful for when someone doesn't plan to update diffs and has enough memory. It would save on sequential writes and save on disk space. The latter is useful when using SSDs.
The text was updated successfully, but these errors were encountered: