]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
zstdmt : reduced maximum nb of threads
authorYann Collet <cyan@fb.com>
Thu, 28 Sep 2017 20:49:12 +0000 (13:49 -0700)
committerYann Collet <cyan@fb.com>
Thu, 28 Sep 2017 20:49:12 +0000 (13:49 -0700)
to avoid memory address space issues on 32-bits systems
(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876416#17)

lib/compress/zstdmt_compress.c

index b15bf05afe8fdb13c8cb248568cfeb48d09147bd..a653704ab24afe56752427733f71c38f9ccda817 100644 (file)
@@ -10,7 +10,7 @@
 
 
 /* ======   Tuning parameters   ====== */
-#define ZSTDMT_NBTHREADS_MAX 256
+#define ZSTDMT_NBTHREADS_MAX 200
 #define ZSTDMT_OVERLAPLOG_DEFAULT 6