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.org

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 Hardware Reviews
  1. ROCCAT LUA: A Linux-Friendly Gaming Mouse
  2. Cheetah Mounts: The Affordable Way To Put Your TV On The Wall
  3. Scythe Mugen MAX
  4. Intel Core i7 5960X Haswell-E On Linux
Latest Linux Articles
  1. Preview: Radeon Gallium3D Performance For CS:GO On Linux
  2. XWayland Linux Gaming Performance With GNOME Wayland On Fedora 21
  3. EXT4/Btrfs/XFS/F2FS Benchmarks On Linux 3.17
  4. Fedora 21 Alpha First Impressions: It's Great
Latest Linux News
  1. Fedora Might Try A New Scheduling Strategy For Its Releases
  2. AMD's Catalyst Working On A GLSL Shader Cache
  3. OpenMP 4.0 Offloading Is Closer For GCC 5
  4. Wayland Presentation Extension Added To Weston
  5. Intel Skylake Support Rolls Out To Mesa's DRM
  6. VA-API's Libva 1.4.0 Brings VP8 Encoding Support
  7. Operating System U Fails To Live Up To Its Goals
  8. AMD Catalyst 14.9 Officially Released For Linux
  9. Nouveau Memory Re-Clocking Comes For More NVIDIA GPUs
  10. NVIDIA Suggests Explicit Synchronization For Nouveau
Latest Forum Discussions
  1. New AMD Catalyst drivers out today
  2. NVIDIA Alerts Nouveau: They're Starting To Sign/Validate GPU Firmware Images
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Take the Steam Survey results with a grain of salt. It is flawed.
  5. FSF Issues Statement On Shellshock Bash Vulnerability
  6. AMD Wants To Know What's Wrong With Catalyst
  7. New Group Calls For Boycotting Systemd
  8. Counter-Strike: Global Offensive NVIDIA/AMD Benchmarks On Linux