include/linux: lz4: Reduce LZ4 memory usage to 16KB

- 64KB seems to not behave well at high memory pressure hence let's reduce it to 16KB which is the default.

Suggested-by: vantoman <mustafa.vantom@gmail.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Ruchit <ruchitmarathe@gmail.com>
fourteen
Cyber Knight 3 years ago committed by Jenna
parent 41efee5dac
commit 768ae8e611
  1. 2
      include/linux/lz4.h

@ -55,7 +55,7 @@
* Reduced memory usage can improve speed, due to cache effect
* Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache
*/
#define LZ4_MEMORY_USAGE 16
#define LZ4_MEMORY_USAGE 14
#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
#define LZ4_COMPRESSBOUND(isize) (\

Loading…
Cancel
Save