Date: Mon, 26 Nov 2018 18:55:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 233543] bsdtar: enable xz threads support Message-ID: <bug-233543-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233543 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@FreeBSD.org Reporter: shoesoft@gmx.net Created attachment 199578 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199578&action= =3Dedit 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=3D4 $HOME After setting HAVE_LZMA_STREAM_ENCODER_MT, it works as expected, see attach= ed 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 the= re: > 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233543-227>