add rocksdb compaction thread priority/iopriority w/ conf

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-24 23:29:09 -07:00 committed by June
parent a4c243cae5
commit 54eb634588
4 changed files with 34 additions and 3 deletions

View file

@ -387,6 +387,14 @@ allow_profile_lookup_federation_requests = true
# Defaults to your CPU physical core count (not logical threads).
#rocksdb_parallelism_threads = 0
# Enables idle IO priority for compaction thread. This prevents any unexpected lag in the server's operation and
# is usually a good idea. Enabled by default.
#rocksdb_compaction_ioprio_idle = true
# Enables idle CPU priority for compaction thread. This is not enabled by default to prevent compaction from
# falling too far behind on busy systems.
#rocksdb_compaction_prio_idle = false
# Maximum number of LOG files RocksDB will keep. This must *not* be set to 0. It must be at least 1.
# Defaults to 3 as these are not very useful.
#rocksdb_max_log_files = 3