xz-analysis-mirror/src/xz
Lasse Collin c77fe55ddb xz: Add a default soft memory usage limit for --threads=0.
This is a soft limit in sense that it only affects the number of
threads. It never makes xz fail and it never makes xz change
settings that would affect the compressed output.

The idea is to make -T0 have more reasonable behavior when
the system has very many cores or when a memory-hungry
compression options are used. This also helps with 32-bit xz,
preventing it from running out of address space.

The downside of this commit is that now the number of threads
might become too low compared to what the user expected. I
hope this to be an acceptable compromise as the old behavior
has been a source of well-argued complaints for a long time.
2022-04-14 14:20:46 +03:00
..
Makefile.am Build: Add support for translated man pages using po4a. 2020-02-07 15:32:21 +02:00
args.c xz: Add --memlimit-mt-decompress along with a default limit value. 2022-04-12 00:04:30 +03:00
args.h xz: Make arg_count an unsigned int to silence a warning. 2015-03-07 19:54:00 +02:00
coder.c xz: Add a default soft memory usage limit for --threads=0. 2022-04-14 14:20:46 +03:00
coder.h xz: Add incomplete support for --block-list. 2012-07-03 21:16:39 +03:00
file_io.c xz: Change the coding style of the previous commit. 2021-10-27 23:23:11 +03:00
file_io.h xz: Move flush_needed from mytime.h to file_pair struct in file_io.h. 2020-01-26 20:25:52 +02:00
hardware.c xz: Add a default soft memory usage limit for --threads=0. 2022-04-14 14:20:46 +03:00
hardware.h xz: Add a default soft memory usage limit for --threads=0. 2022-04-14 14:20:46 +03:00
list.c xz: Make "headings" static in list.c. 2019-06-24 22:52:20 +03:00
list.h Add initial version of xz --list. 2010-01-24 23:50:54 +02:00
main.c xz: Silence a warning from clang -Wsign-conversion in main.c. 2019-06-24 22:57:43 +03:00
main.h Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
message.c xz: Add --memlimit-mt-decompress along with a default limit value. 2022-04-12 00:04:30 +03:00
message.h xz: Fix a crash in progress indicator when in passthru mode. 2018-12-20 20:39:20 +02:00
mytime.c xz: Set the --flush-timeout deadline when the first input byte arrives. 2020-01-26 20:53:25 +02:00
mytime.h xz: Move flush_needed from mytime.h to file_pair struct in file_io.h. 2020-01-26 20:25:52 +02:00
options.c xz: Fix some of the warnings from -Wsign-conversion. 2019-06-23 23:19:34 +03:00
options.h Remove the Subblock filter code for now. 2010-05-26 09:55:47 +03:00
private.h spelling 2019-05-11 20:52:37 +03:00
signals.c xz: Silence a warning when sig_atomic_t is long int. 2020-02-21 16:10:44 +02:00
signals.h Take Cygwin into account in some #if lines. 2010-05-27 14:32:51 +03:00
suffix.c xz: Fix use of wrong variable. 2014-01-12 12:17:08 +02:00
suffix.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
util.c xz: Never use thousand separators in DJGPP builds. 2020-03-11 21:15:35 +02:00
util.h Add underscores to attributes (__attribute((__foo__))). 2011-05-17 11:54:38 +03:00
xz.1 xz: Make --keep accept symlinks, hardlinks, and setuid/setgid/sticky. 2021-01-11 23:41:16 +02:00
xz_w32res.rc Added public domain notice into a few files. 2009-07-18 11:26:39 +03:00