diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 13:08:26 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-10 13:08:26 +0200 |
commit | 1fe6b2aa4158516f9c6cf5751cc68aafef1af620 (patch) | |
tree | 2047e37b6101f35c5dd55c59b885be22fe570407 /doc | |
parent | 49c2c4a8c8a8eb32a7d5fdbf4b1eba24bb23efe7 (diff) |
Make the thread pool queue backlog user configurable
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gensquashfs.1 | 5 | ||||
-rw-r--r-- | doc/tar2sqfs.1 | 5 |
2 files changed, 10 insertions, 0 deletions
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 <count> +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 <size> 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 <count> +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 <size> Block size to use for Squashfs image. Defaults to 131072. |