Lower recycle store count (#14429)
Too many stores can cause swap usage which is detrimental to account store times.
This commit is contained in:
		| @@ -56,7 +56,7 @@ const PAGE_SIZE: u64 = 4 * 1024; | |||||||
| pub const DEFAULT_FILE_SIZE: u64 = PAGE_SIZE * 1024; | pub const DEFAULT_FILE_SIZE: u64 = PAGE_SIZE * 1024; | ||||||
| pub const DEFAULT_NUM_THREADS: u32 = 8; | pub const DEFAULT_NUM_THREADS: u32 = 8; | ||||||
| pub const DEFAULT_NUM_DIRS: u32 = 4; | pub const DEFAULT_NUM_DIRS: u32 = 4; | ||||||
| const MAX_RECYCLE_STORES: usize = 5000; | const MAX_RECYCLE_STORES: usize = 1000; | ||||||
| const STORE_META_OVERHEAD: usize = 256; | const STORE_META_OVERHEAD: usize = 256; | ||||||
|  |  | ||||||
| lazy_static! { | lazy_static! { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user