diff --git a/hubble/src/store/mod.rs b/hubble/src/store/mod.rs index c65bf23..ae8699b 100644 --- a/hubble/src/store/mod.rs +++ b/hubble/src/store/mod.rs @@ -17,11 +17,11 @@ pub fn records_cf_opts(cache: &Cache) -> Options { o.set_bottommost_compression_options(-14, 3, 0, 0, true); // TODO: probably make this configurable -- parallelizes compactions (more cpu) - o.set_max_subcompactions(2); + o.set_max_subcompactions(8); // try to get bigger fewer flushes o.set_write_buffer_size(128 * 2_usize.pow(20)); // 64M default -> 128M - o.set_max_write_buffer_number(3); // 2 default + o.set_max_write_buffer_number(6); // 2 default o.set_min_write_buffer_number_to_merge(2); // 2 memtables per flush let mut block_opts = BlockBasedOptions::default();