Skip to content

Commit 9f6fbc4

Browse files
committed
increase worker threads for fjall
1 parent 8e3cc63 commit 9f6fbc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/fjall.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ impl BenchmarkEngine<FjallClient> for FjallClientProvider {
5555
.manual_journal_persist(!options.sync)
5656
// Set the cache size
5757
.cache_size(memory)
58+
// Set the maximum journal size
59+
.max_journaling_size(1024 * 1024 * 1024)
60+
// Set the number of worker threads for parallelism
61+
.worker_threads(num_cpus::get().min(8))
5862
// Open the database
5963
.open()?;
6064
// Configure and create the keyspace

0 commit comments

Comments
 (0)