Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/pmlogcompress/pmlogcompress
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ _xz_setup()
{
if [ -z "${xz_args+onetrip}" ]
then
if xz -0 --block-size=10MiB </dev/null >/dev/null 2>&1
if xz -3 --block-size=10MiB </dev/null >/dev/null 2>&1
then
# want minimal overheads, -0 is the same as --fast ...
# these options were selected after extensive analysis
# for original settings in pmlogger_daily
#
xz_args="-0 --block-size=10MiB"
elif xz -0 </dev/null >/dev/null 2>&1
xz_args="-3 --block-size=10MiB"
elif xz -3 </dev/null >/dev/null 2>&1
then
# no --block-size in older versions of xz
#
xz_args="-0"
xz_args="-3"
else
xz_args=''
fi
Expand Down
Loading