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:
Jacek Sieka 2024-07-09 17:35:27 +02:00 committed by GitHub
parent ab23148aab
commit 3382c2427b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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