From 1fe6b2aa4158516f9c6cf5751cc68aafef1af620 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 10 Sep 2019 13:08:26 +0200 Subject: Make the thread pool queue backlog user configurable Signed-off-by: David Oberhollenzer --- doc/gensquashfs.1 | 5 +++++ doc/tar2sqfs.1 | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/gensquashfs.1 b/doc/gensquashfs.1 index f2150cf..c364c98 100644 --- a/doc/gensquashfs.1 +++ b/doc/gensquashfs.1 @@ -34,6 +34,11 @@ If gensquashfs was compiled with a built in pthread based parallel data compressor, this option can be used to set the number of compressor threads. If not set, the default is 1. .TP +\fB\-\-queue\-backlog\fR, \fB\-Q\fR +Maximum number of data blocks in the thread worker queue before the packer +starts waiting for the block processors to catch up. Higher values result +in higher memory consumption. Defaults to 10 times the number of workers. +.TP \fB\-\-block\-size\fR, \fB\-b\fR Block size to use for Squashfs image. Defaults to 131072. diff --git a/doc/tar2sqfs.1 b/doc/tar2sqfs.1 index abbde6a..346d7e7 100644 --- a/doc/tar2sqfs.1 +++ b/doc/tar2sqfs.1 @@ -28,6 +28,11 @@ If tar2sqfs was compiled with a built in pthread based parallel data compressor, this option can be used to set the number of compressor threads. If not set, the default is 1. .TP +\fB\-\-queue\-backlog\fR, \fB\-Q\fR +Maximum number of data blocks in the thread worker queue before the packer +starts waiting for the block processors to catch up. Higher values result +in higher memory consumption. Defaults to 10 times the number of workers. +.TP \fB\-\-block\-size\fR, \fB\-b\fR Block size to use for Squashfs image. Defaults to 131072. -- cgit v1.2.3