-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase default trie cache size to 1GiB (#6546)
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`. --------- Co-authored-by: GitHub Action <[email protected]>
- Loading branch information
1 parent
ca8beae
commit 65a92ba
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
title: Increase default trie cache size to 1GiB | ||
doc: | ||
- audience: Node Operator | ||
description: "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`.\ | ||
The CLI option `--state-cache-size` is also removed, which was not having any effect anymore.\r\ | ||
\n" | ||
crates: | ||
- name: sc-cli | ||
bump: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters