CacheTrimmer: Adaptive Cache File Trimming for Optimized Performance and Lifetime on Mobile Devices

  • Yi Zhang
  • , Yunpeng Song
  • , Wentong Li
  • , Yiyang Huang
  • , Dingcui Yu
  • , Mengyang Ma
  • , Liang Shi*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Mobile devices always cache numerous files during application runtime, which can be trimmed to improve the user experience. However, existing cache file trimming methods are unaware of the cleaning cost within the file system and storage devices, which degrades the system performance and storage lifetime, resulting in low benefits of trimming cache files. Motivated by this, an adaptive cache file trimming (CacheTrimmer) scheme is proposed to trim cache files for performance and lifetime improvement. The basic idea is to determine the trimming timing based on the cleaning cost of the file system and storage device, maximizing the benefit of trimming cache files. Specifically, CacheTrimmer includes two components: First, a cleaning cost-aware trimming method is proposed to trim cache files by recording the index information of cache files in a list and determining the timing and size of file trimming. Second, to avoid trimming-induced intra-segment fragmentation and improve trimming efficiency, a log-structured cache scheme is further proposed to maintain the cache files in separate segments. We prototype CacheTrimmer with a real mobile platform. Experimental results under real workloads show that CacheTrimmer achieves encourage performance and lifetime improvement compared to the state-of-the-art.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE 42nd International Conference on Computer Design, ICCD 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages575-582
Number of pages8
ISBN (Electronic)9798350380408
DOIs
StatePublished - 2024
Event42nd IEEE International Conference on Computer Design, ICCD 2024 - Milan, Italy
Duration: 18 Nov 202420 Nov 2024

Publication series

NameProceedings - IEEE International Conference on Computer Design: VLSI in Computers and Processors
ISSN (Print)1063-6404

Conference

Conference42nd IEEE International Conference on Computer Design, ICCD 2024
Country/TerritoryItaly
CityMilan
Period18/11/2420/11/24

Keywords

  • cache files
  • cleaning cost
  • f2fs
  • flash storage
  • trimming

Fingerprint

Dive into the research topics of 'CacheTrimmer: Adaptive Cache File Trimming for Optimized Performance and Lifetime on Mobile Devices'. Together they form a unique fingerprint.

Cite this