mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 03:00:25 +00:00
increase rdb cache sizes (#2466)
This trivial bump should improve performance a bit without costing too much memory - as the trie grows, so does the number of levels in it and creating hikes becomes ever more expensive - hopefully this cache increase should give a nice little boost even if it's not a lot.
This commit is contained in:
parent
ab23148aab
commit
3382c2427b
@ -53,8 +53,10 @@ type
|
|||||||
const
|
const
|
||||||
BaseFolder* = "nimbus" ## Same as for Legacy DB
|
BaseFolder* = "nimbus" ## Same as for Legacy DB
|
||||||
DataFolder* = "aristo" ## Legacy DB has "data"
|
DataFolder* = "aristo" ## Legacy DB has "data"
|
||||||
RdKeyLruMaxSize* = 4096 ## Max size of read cache for keys
|
RdKeyLruMaxSize* = 80000
|
||||||
RdVtxLruMaxSize* = 2048 ## Max size of read cache for vertex IDs
|
## Max size of read cache for keys - ~4 levels of MPT
|
||||||
|
RdVtxLruMaxSize* = 80000
|
||||||
|
## Max size of read cache for vertex IDs - ~4 levels of MPT
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Public functions
|
# Public functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user