Hasty Briefsbeta

Bilingual

New Patch Can Boost Linux ZRAM Compression Performance by over 50%

4 days ago
  • #Linux
  • #ZRAM
  • #Performance
  • A new patch for the Linux ZRAM module can boost LZ4 dictionary compression performance by over 50%.
  • The patch was submitted by Gao Xu of HONOR company to the Linux kernel mailing list.
  • The optimization involves pre-processing the dictionary only once, reducing overhead from repeated calls to `LZ4_loadDict()`.
  • This improvement is achieved with just a few dozen lines of code.
  • The patch is currently under review and promises significant performance gains for ZRAM I/O operations.