[improvement](load) config flush_thread_num_per_store to be 6 by default (#13076)
Flushing memtable is cpu bound, so 2 thread for a disk is tool small.
This commit is contained in:
@ -585,7 +585,7 @@ CONF_mInt32(storage_flood_stage_usage_percent, "90"); // 90%
|
||||
// The min bytes that should be left of a data dir
|
||||
CONF_mInt64(storage_flood_stage_left_capacity_bytes, "1073741824"); // 1GB
|
||||
// number of thread for flushing memtable per store
|
||||
CONF_Int32(flush_thread_num_per_store, "2");
|
||||
CONF_Int32(flush_thread_num_per_store, "6");
|
||||
// number of thread for flushing memtable per store, for high priority load task
|
||||
CONF_Int32(high_priority_flush_thread_num_per_store, "1");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user