Adaptive compressed caching: design and implementation

Authors:
  • RCR.S. de Castro
    R.S. de Castro
  • ALA.P.D. Lago
    A.P.D. Lago
  • DSD. da Silva
    D. da Silva

Abstract
In this paper, we reevaluate the use of adaptive compressed caching in order to improve system performance through reduction of accesses to the backing stores. We propose a new and simple adaptability policy that adjusts the compressed cache size on-the-fly, and evaluate a compressed caching system with this policy through an implementation in a widely used operating system, Linux.We also redesign compressed caching in order to provide performance improvements for all tested workloads and address the problems faced in previous works and implementations that led to non-conclusive results. Among these fundamental modifications, our compressed cache is the first one to also compress file cache pages, to adaptively disable compression of clean pages when necessary and to address applications with poor compressibility.We tested a system with our adaptive compressed cache under many applications and benchmarks, each one with different memory pressures. The results showed performanceimprovements (up to 171.4%) in all of them if under memory pressure, and minimal overhead (up to 0.39%) when there is very light memory pressure. We believe this work shows that this adaptive compressed cache design should be actually considered as an effective mechanismfor improvement in system performance.

This publication has 7 references indexed in Scilit: