Skip to content

Commit 4d2de83

Browse files
authored
feat(cubestore): Metastore - increase parallelism to 2 (#8807)
parallelism: The number of threads RocksDB will use for all background operations. Even if you increase the max_background_jobs but keep parallelism as 1, it won’t lead to a lot of performance increase. Ideally, this option should be kept equal to the number of cores in your machine. max_background_jobs is 2, but parallelism was 1. Must be aligned.
1 parent d2773a7 commit 4d2de83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/cubestore/cubestore/src/metastore/rocks_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ impl RocksStoreConfig {
772772
// Default: 1 (i.e. no subcompactions)
773773
max_subcompactions: 1,
774774
// Default: 1
775-
parallelism: 1,
775+
parallelism: 2,
776776
}
777777
}
778778

0 commit comments

Comments
 (0)