arrow
Return

Towards Dependency-Aware Cache Management for Data Analytics Applications

delete2022-01-01
delete2
PRE
AI
Y
Yinghao Yu *
C
Chengliang Zhang
W
Wei Wang
Jun Zhang cover
Jun Zhang (Jun Zhang)
K
Khaled B. Letaief
DOI:10.1109/TCC.2019.2945015delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Memory caches are being used aggressively in today's data analytics systems such as Spark, Tez, and Piccolo. The significant performance impact of caches and their limited sizes call for efficient cache management in data analytics clusters. However, prevalent data analytics systems employ rather simple cache management policies-notably Least Recently Used (LRU) and Least Frequently Used (LFU)-that are oblivious to the application semantics of data dependency, expressed as directed acyclic graphs (DAGs). Without this knowledge, cache management can, at best, be performed by guessing the future data access patterns based on history, which frequently results in inefficient, erroneous caching with a low hit rate and a long response time. Worse still, the lack of data dependency knowledge makes it impossible to retain the all-or-nothing cache property of cluster applications, in that a compute task cannot be sped up unless all the dependent data has been kept in the main memory. In this paper, we propose a novel cache replacement policy, named Least Reference Count (LRC), which exploits the application's data dependency information to optimize the cache management. LRC keeps track of the reference count of each data block, defined as the number of dependent child blocks that have not been computed yet, and always evicts the block with the smallest reference count. Furthermore, we incorporate the all-or-nothing requirement into LRC by coordinately managing the reference counts of all the input data blocks for the same computation. We demonstrate the efficacy of LRC through both empirical analysis and cluster deployments against popular benchmarking workloads. Our Spark implementation shows that, the proposed policies well address the all-or-nothing requirement and significantly improve the cache performance. Compared with LRU and a recently proposed caching policy called MEMTUNE, LRC improves the caching performance of typical workloads in production clusters by 22 and 284 percent, respectively.
Keywords:
Cloud computing
data analytics system
cache management
dependency-awareness
all-or-nothing caching
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

I
IEEE Transactions on Cloud Computing
IF:
5
Papers:
1.9K
Citations:
4.3K

Organization

H
hong kong polytechnic university
Scholars:
3.0W
Papers: 4.1W
Citations: 921
Cited Papers

Cited Papers

A survey of Web cache replacement strategies
err2003-12-01
err520
PREAI
errPodlipnig, S; Böszörmenyi, L
errShare
errSave
First Capture of Antiprotons in a Penning Trap: A Kiloelectronvolt Source
err1986-11-17
err0
errOAAI
errG. Gabrielse; X. Fei; K. Helmerson; S. L. Rolston; R. Tjoelker; T. A. Trainor; H. Kalinowsky; J. Haas; W. Kells
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Elucidating the 3d Electronic Configuration in Manganese Phthalocyanine
err2014-01-28
err0
errOAAI
errIulia Emilia Brumboiu; Roberta Totani; Monica de Simone; Marcello Coreno; Cesare Grazioli; Luca Lozzi; Heike C. Herper; Biplab Sanyal; Olle Eriksson; Carla Puglia; Barbara Brena
errShare
errSave
Investigation of the optical properties of the Cr doped CuxO thin film deposited by thermionic vacuum arc plasma
err2019-02-01
err0
PREAI
errSuat Pat; Reza Mohammadigharehbagh; Caner Musaoğlu; Soner Özen; Şadan Korkmaz
errShare
errSave
researcher View more