0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::db: Use high priority index block cache feature; increase pct.

This commit is contained in:
Jason Volk 2019-06-08 00:05:00 -07:00
parent abfdb06ebf
commit 9fe4d07556

View file

@ -1866,7 +1866,7 @@ ircd::db::database::column::column(database &d,
// TwoLevelIndex + partition_filters configuration on RocksDB v5.15 it's
// better to use pre-read except in the case of a massive database.
table_opts.cache_index_and_filter_blocks = true;
table_opts.cache_index_and_filter_blocks_with_high_priority = false;
table_opts.cache_index_and_filter_blocks_with_high_priority = true;
table_opts.pin_top_level_index_and_filter = false;
table_opts.pin_l0_filter_and_index_blocks_in_cache = false;
table_opts.enable_index_compression = false;
@ -2984,7 +2984,7 @@ ircd::db::database::cache::DEFAULT_STRICT
decltype(ircd::db::database::cache::DEFAULT_HI_PRIO)
ircd::db::database::cache::DEFAULT_HI_PRIO
{
0.10
0.25
};
//