arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1703.08280cs.DC
收藏

LRC:面向数据分析集群的依赖感知缓存管理

LRC: Dependency-Aware Cache Management for Data Analytics Clusters

Yinghao Yu, Wei Wang, Jun Zhang, Khaled Ben Letaief

摘要:

内存缓存在当今的数据并行系统(如Spark、Tez和Piccolo)中得到了积极的应用。然而,流行的系统采用相当简单的缓存管理策略-特别是最近最少使用(LRU)的政策-是不注意的数据依赖的应用程序语义,表示为有向无环图(DAG)。在没有这种知识的情况下,存储器缓存最多可以通过基于历史信息(例如,访问新近性和/或频率),这经常导致低命中率和长响应时间的低效、错误的高速缓存。在本文中,我们提出了一种新的缓存替换策略,最小引用计数(LRC),它利用特定于应用程序的DAG信息来优化缓存管理。LRC驱逐引用计数最小的缓存数据块。对于每个数据块,引用计数被定义为尚未计算的依赖子块的数量。我们通过实证分析和集群部署对流行的基准工作负载的LRC的功效。我们的Spark实现表明,与LRU相比,LRC将典型应用的速度提高了60%。

英文摘要:

Memory caches are being aggressively used in today's data-parallel systems such as Spark, Tez, and Piccolo. However, prevalent systems employ rather simple cache management policies--notably the Least Recently Used (LRU) policy--that are oblivious to the application semantics of data dependency, expressed as a directed acyclic graph (DAG). Without this knowledge, memory caching can at best be performed by "guessing" the future data access patterns based on historical information (e.g., the access recency and/or frequency), which frequently results in inefficient, erroneous caching with low hit ratio and a long response time. In this paper, we propose a novel cache replacement policy, Least Reference Count (LRC), which exploits the application-specific DAG information to optimize the cache management. LRC evicts the cached data blocks whose reference count is the smallest. The reference count is defined, for each data block, as the number of dependent child blocks that have not been computed yet. We demonstrate the efficacy of LRC through both empirical analysis and cluster deployments against popular benchmarking workloads. Our Spark implementation shows that, compared with LRU, LRC speeds up typical applications by 60%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑