-
Notifications
You must be signed in to change notification settings - Fork 699
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
Increase default trie cache size to 1GiB #6546
base: master
Are you sure you want to change the base?
Conversation
The default trie cache size before was set to `64MiB`, which is quite low to achieve real speed ups. `1GiB` should be a reasonable number as the requirements for validators/collators/full nodes are much higher when it comes to minimum memory requirements. Also the cache will not use `1GiB` from the start and fills over time. The setting can be changed by setting `--trie-cache-size BYTE_SIZE`.
/cmd prdoc --bump patch --audience node-operator |
Command "prdoc --bump patch --audience node-operator" has failed ❌! See logs here |
/cmd prdoc --bump patch --audience node_operator |
\ low to achieve real speed ups. `1GiB` should be a reasonable number as the requirements\ | ||
\ for validators/collators/full nodes are much higher when it comes to minimum\ | ||
\ memory requirements. Also the cache will not use `1GiB` from the start and fills\ | ||
\ over time. The setting can be changed by setting `--trie-cache-size BYTE_SIZE`.\r\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: removal of state_cache_size could be mentioned.
\n" | ||
crates: | ||
- name: sc-cli | ||
bump: patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't removal of state_cache_size
require a major here ?
The default trie cache size before was set to
64MiB
, which is quite low to achieve real speed ups.1GiB
should be a reasonable number as the requirements for validators/collators/full nodes are much higher when it comes to minimum memory requirements. Also the cache will not use1GiB
from the start and fills over time. The setting can be changed by setting--trie-cache-size BYTE_SIZE
.