Small is big: functionally partitioned file caching in virtualized environments

  • Authors:
  • Zhe Zhang;Han Chen;Hui Lei

  • Affiliations:
  • IBM T. J. Watson Research Center;IBM T. J. Watson Research Center;IBM T. J. Watson Research Center

  • Venue:
  • HotCloud'12 Proceedings of the 4th USENIX conference on Hot Topics in Cloud Ccomputing
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

File cache management is among the most important factors affecting the performance of a cloud computing system. To achieve higher economies of scale, virtual machines are often overcommitted, which creates high memory pressure. Thus it is essential to eliminate duplicate data in the host and guest caches to boost performance. Existing cache deduplication solutions are based on complex algorithms, or incur high runtime overhead, and therefore are not widely applicable. In this paper we present a simple and lightweight mechanism based on functional partitioning. In our mechanism, the responsibility of each cache becomes smaller: the host only caches data in base images and a VM guest only caches its own "private data", which is generated after the VM has started. As a result, the overall effective cache size becomes bigger. Our method requires very small change to existing software (15 lines of new/modified code) to achieves big performance improvements - more than 40% performance gains in high memory pressure settings.