[Bug 233543] bsdtar: enable xz threads support
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Nov 26 18:55:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233543
Bug ID: 233543
Summary: bsdtar: enable xz threads support
Product: Base System
Version: 12.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: shoesoft at gmx.net
Created attachment 199578
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199578&action=edit
patch enabling xz threads support
Currently, bsdtar is built without XZ multi-threading support.
Can be tested with this command:
tar -Jcf /dev/null --options xz:threads=4 $HOME
After setting HAVE_LZMA_STREAM_ENCODER_MT, it works as expected, see attached
patch.
If this feature is enabled, the xz:threads option should also be mentioned in
the man page.
Either add a reference to -T option in xz(1) or duplicate the info from there:
> Specify the number of worker threads to use. Setting threads to
> a special value 0 makes xz use as many threads as there are CPU
> cores on the system.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list