1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Linux Zcache Now Handles Crypto Compression

Linux Kernel

Published on 02 January 2012 10:26 AM EST
Written by Michael Larabel in Linux Kernel
14 Comments

Seth Jennings of IBM has provided a patch for the next Linux kernel that removes the LZO-specific compression bits inside zcache and instead hooks this compressed page cache into the generic Crypto compression API.

This new patch, which could be merged into the Linux 3.3 kernel, lets zcache use the generic Crypto compression API and from there any compressor can be selected for zcache via a kernel module parameter. Zcache allows for dynamic compression of swap pages and clean pagecache pages. Zcache is one of the users of the recently-merged Linux kernel CleanCache. Zcache is currently living in the Linux kernel staging area after its 2010 introduction.

For those not familiar with Zcache, the kernel configuration describes it as "[doubling] RAM efficiency while providing significant performance boosts on many workloads. Zcache uses compression and an in-kernel implementation of transcendent memory to storage clean page cache pages and swap in RAM, providing a noticeable reduction in disk I/O."

For those not opting for a different Crypto compressor, LZO remain the default means of page compression.

More details in this kernel mailing list announcement.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. Ubuntu Community Council Reaffirms Its Decision Against Kubuntu's Leader
  2. Future Plans For Changing Fedora's Installer
  3. Confusion Mounts Over Wayland's Actual License
  4. GNOME's Mutter Now Supports Drag-n-Drop To/From Wayland & X11
  5. Wine 1.7.44 Works On More 64-bit ARM Support
  6. Phoronix Test Suite 5.8 Milestone 5 Brings Near Final "Belev" Experience
  7. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  8. Atomic Mode-Setting Still Baking For Samsung's Exynos DRM Driver
  9. Ubuntu Phone Update This Month Brings Many Improvements
  10. Fedora's "Fedup" To Be Replaced In Fedora 23
Latest Articles & Reviews
  1. Btrfs RAID 0/1/5/6/10 Five-Disk Benchmarks On Linux 4.1
  2. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  3. The Latest Features For Linux Performance Management + Benchmark Monitoring
  4. Noctua NH-U12DX i4 + NF-F12
Most Viewed News This Week
  1. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  2. Zapcc Claims To Be A "Much Faster C++ Compiler"
  3. OpenWRT 15.05 Preparing Improved Security & Better Networking
  4. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  5. Ubuntu's LXD vs. KVM For The Linux Cloud
  6. The Latest Linux Kernel Git Code Fixes The EXT4 RAID0 Corruption Problem
  7. Friction Building Around An Ubuntu Community Council Decision
  8. Fedora 22 Is Being Released Next Tuesday