Date: Mon, 26 Nov 2018 07:03:50 GMT From: miltonott <miltonott@fastmail.com> To: freebsd-stable@freebsd.org Subject: bsdtar: xz threads support disabled Message-ID: <201811260703.wAQ73odJ001708@euler.miltonslab.com> In-Reply-To: a257cd4d-7d8f-2b7a-4fd8-5440544eaee7@gmx.net References: a257cd4d-7d8f-2b7a-4fd8-5440544eaee7@gmx.net
next in thread | raw e-mail | index | archive | help
on Sat Nov 24 08:47:18 UTC 2018 Stefan wrote: > Is there any reason why bsdtar is built without XZ multi-threading support? > It's not documented in the man page, so maybe it's an experimental feature. > 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: My lord, indeed. A careful inspector you are. This speciality makes an appearance in ports libachive but not libarchive in base. I bet you already had this intuition all along. $ /usr/local/bin/bsdtar cpJ --options xz:threads=2 -f /dev/null temp & $ ps -o pid,user,args -H $! PID USER COMMAND 1655 miltonott /usr/local/bin/bsdtar cpJ --options xz:threads=2 -f /dev/null temp 1655 miltonott /usr/local/bin/bsdtar cpJ --options xz:threads=2 -f /dev/null temp 1655 miltonott /usr/local/bin/bsdtar cpJ --options xz:threads=2 -f /dev/null temp Bah, now I need to research why I see three and not two.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811260703.wAQ73odJ001708>