]> wimlib.net Git - wimlib/commitdiff
write_stream_list(): Increase threshold for multithreaded compression
authorEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 04:14:55 +0000 (23:14 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 04:14:55 +0000 (23:14 -0500)
src/write.c

index d24362bb746ac441883961bf0d7c169750381c23..0905e7d784fdfda32ed56fc0f31566736c40f687 100644 (file)
@@ -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,