Lines Matching full:compression

10 in memory itself. These disks allow very fast I/O and compression provides
76 2) Set max number of compression streams
80 allocate multiple compression streams - one per online CPU - thus
81 allowing several concurrent compression operations. The number of
82 allocated compression streams goes down when some of the CPUs
83 become offline. There is no single-compression-stream mode anymore,
90 3) Select compression algorithm
94 currently selected (shown in square brackets) compression algorithms,
95 or change the selected compression algorithm (once the device is initialised
96 there is no way to change compression algorithm).
100 #show supported compression algorithms
104 #select lzo compression algorithm
107 For the time being, the `comp_algorithm` content shows only compression
110 4) Set compression algorithm parameters: Optional
113 Compression algorithms may support specific parameters which can be
117 For example, several compression algorithms support `level` parameter.
118 In addition, certain compression algorithms support pre-trained dictionaries,
120 compression algorithm to use external pre-trained dictionary, pass full
130 #pass path to pre-trained zstd dictionary and compression level
136 algorithms `level` controls the compression level (the higher the value the
137 better the compression ratio, it even can take negatives values for some
139 the value the lower the compression ratio).
158 since we expect a 2:1 compression ratio. Note that zram uses about 0.1% of the
233 comp_algorithm RW show and change the compression algorithm
234 algorithm_params WO setup compression algorithm parameters
440 (secondary) compression algorithms. The basic idea is that alternative
441 compression algorithm can provide better compression ratio at a price of
442 (potentially) slower compression/decompression speeds. Alternative compression
448 With CONFIG_ZRAM_MULTI_COMP, zram supports up to 4 compression algorithms:
450 in "3) Select compression algorithm", secondary algorithms are configured
460 Alternative compression algorithms are sorted by priority. In the example
462 of 1, while lz4hc is configured as a compression algorithm with priority 2.
463 Alternative compression algorithm's priority is provided during algorithms
496 It is also possible to limit the number of pages zram re-compression will
503 During re-compression for every page, that matches re-compression criteria,
504 ZRAM iterates the list of registered alternative compression algorithms in
505 order of their priorities. ZRAM stops either when re-compression was
507 and matches re-compression criteria (e.g. size threshold) or when there are
512 This re-compression behaviour, when it iterates through the list of
513 registered compression algorithms, increases our chances of finding the
557 recompressed page (secondary compression algorithm)