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 Zswap Still Aiming For Compressed Swap Caching

Linux Kernel

Published on 09 January 2013 02:23 PM EST
Written by Michael Larabel in Linux Kernel
6 Comments

A second version of the Zswap patch-set for the Linux kernel was published this week. The Zswap patches provide compressed swap caching support to compress pages in the process of being swapped and compresses them into a dynamically allocated RAM-backed memory pool.

Zswap attempts to avoid writing back to the swap device in order to reduce I/O and yielding greater performance in scenarios where swapping does take place. When building the Linux kernel under heavy memory pressure, it's been reported by the lead Zswap developer that using the new technology can lead to a runtime reduction of 53% and an I/O reduction by nearly 80%.

The lead use-cases for Linux Zswap are systems with limited amounts of system memory, virtualization where VM guests are sharing common I/O resources, and systems backed by solid-state drives where reducing the number of writes to the disk can increase the SSD's life-span.

In Zswap v2, the set of nine patches have been re-based to the latest Linux "-next" kernel and there's various technical fixes to the code.

More information on the latest state of Zswap is available from this kernel mailing list post for the newest patches. Zswap is a possible candidate for merging into the Linux 3.9 kernel.

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. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
  2. Enabling HyperZ Is Still An Easy Way For Faster RadeonSI Performance
  3. AMD Kaveri: Catalyst vs. RadeonSI Gallium3D On Linux
  4. Linux OpenCL Performance With The Newest AMD & NVIDIA Drivers
Latest Linux News
  1. Systemd 216 Piles On More Features, Aims For New User-Space VT
  2. Mesa 10.2.6 Has Plenty Of OpenGL Driver Bug Fixes
  3. Wasteland 2 Gets An Official Release Date
  4. Dead Island For Linux Appears Imminent
  5. LXQt 0.8 Is Being Released Soon
  6. Linux 3.17 Lands Memfd, A KDBUS Prerequisite
  7. Humble Jumbo Bundle 2 Shafts Linux Gamers
  8. Ubuntu 14.10's Feature Freeze Is This Wednesday
  9. New VM Software Claims To Be 4.5x Faster Than QEMU
  10. Kpatch Gets Exposure This Week, kGraft Misses Out
Latest Forum Discussions
  1. Dead Island for Linux (?)
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations
  4. The dangers of Linux kernel development
  5. Next-Gen OpenGL To Be Announced Next Month
  6. OpenGL 4.5 Released With New Features
  7. Updated graphics drivers for Ubuntu 12.04 Precise LTS
  8. Builder: A New Development IDE Being Built For GNOME