From 1c951ec1b14d60c43fbb0f5e80b0d0e82ce4cf91 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 13 May 2013 23:14:55 -0500 Subject: [PATCH 1/1] write_stream_list(): Increase threshold for multithreaded compression --- src/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write.c b/src/write.c index d24362bb..0905e7d7 100644 --- a/src/write.c +++ b/src/write.c @@ -1415,7 +1415,7 @@ write_stream_list(struct list_head *stream_list, progress.write_streams._private = 0; #ifdef ENABLE_MULTITHREADED_COMPRESSION - if (total_compression_bytes >= 1000000 && num_threads != 1) + if (total_compression_bytes >= 2000000 && num_threads != 1) ret = write_stream_list_parallel(stream_list, lookup_table, out_fd, -- 2.43.0