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

Reduce size of parents cache #858

Closed
schomatis opened this issue Sep 1, 2019 · 1 comment
Closed

Reduce size of parents cache #858

schomatis opened this issue Sep 1, 2019 · 1 comment

Comments

@schomatis
Copy link
Contributor

The expansions parents (the only ones saved in the cache, the base ones are generated on demand) are going to be increased from 8 to 16 (#857) which will have a considerable impact on memory consumption (when the cache is activated). The first measure to alleviate this increase is try to move the cache from memory to disk (#855). It is also desirable (if the previous strategy doesn't work, or at least as a compliment to it) to reduce the size of the cache as much a possible. Some suggestions are scattered throughout different issues, the main ones are:

  1. Use 32 bit node indexes (instead of the current u64) when the sector size is small enough.
  2. Do not include padding nodes.
@dignifiedquire
Copy link
Contributor

parents cache is using u32s now

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