node::CalculateCacheSizes

Split the configured total database cache across the indexes and kernel caches.

Synopsis

Declared in <node/caches.h>

CacheSizes
CalculateCacheSizes(
    ArgsManager const& args,
    size_t n_indexes = 0);

Return Value

The computed per-component cache sizes.

Parameters

NameDescription
argsArgument manager holding the parsed settings.
n_indexesNumber of optional indexes that will share the cache.