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 Articles & Reviews
  1. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
  2. Linux Benchmarks Of NVIDIA's Early 2015 GeForce Line-Up
  3. NVIDIA GeForce GTX 960: A Great $200 GPU For Linux Gamers
  4. Disk Encryption Tests On Fedora 21
  5. Xonotic 0.8 Performance With The Open-Source AMD/NVIDIA Gallium3D Drivers
  6. Many Linux Desktop 2D Benchmarks Of NVIDIA vs. AMD Drivers
Latest Linux News
  1. BPF Backend Merged Into LLVM To Make Use Of New Kernel Functionality
  2. Dying Light Is Headed To Linux, SteamOS
  3. Wayland 1.6.1 & Weston 1.6.1 Released
  4. Mesa 10.4.3 Brings A Bunch Of Fixes For The Direct3D "Nine" Support
  5. Intel Has A Few More Graphics Changes For The Linux 3.20 Kernel
  6. Gummiboot Gains PE File Searching Support To Find Linux Kernels
  7. Wine 1.7.35 Starts Working On OpenGL Core Context Support
  8. X.Org Server 1.17 Pre-Release "TimTam" Is Out
  9. Faster VP9 Decoding Is On The Horizon
  10. GNOME 3.15.4 Brings Latest Features For GNOME 3.16
Most Viewed News This Week
  1. Windows 10 To Be A Free Upgrade: What Linux Users Need To Know
  2. CoreOS Moves From Btrfs To EXT4 + OverlayFS
  3. Google Admin Encourages Trying Btrfs, Not ZFS On Linux
  4. TraceFS: The Newest Linux File-System
  5. Asynchronous Device/Driver Probing For The Linux Kernel
  6. LZHAM 1.0 Isn't Too Far Away For Compression Of Interest To Game Developers
  7. Mozilla's Servo Still On Track For 2015 Alpha Release
  8. Systemd-Import Expands Its Container Capabilities