Balancing Fairness and Efficiency for Cache Sharing in Semi-external Memory System

Shanjian Tang, Qifei Chai, Ce Yu, Yusen Li, Chao Sun
{"title":"Balancing Fairness and Efficiency for Cache Sharing in Semi-external Memory System","authors":"Shanjian Tang, Qifei Chai, Ce Yu, Yusen Li, Chao Sun","doi":"10.1145/3404397.3404450","DOIUrl":null,"url":null,"abstract":"Data caching and sharing is an effective approach for achieving high performance to many applications in shared platforms such as the cloud. DRAM and SSD are two popular caching devices widely used by many large-scale data application systems such Hadoop and Spark. Due to the limited size of DRAM as well as the large access latency of SSD (relative to DRAM), there is a trend of integrating DRAM and SSD (called semi-external memory) together for large-scale data caching. In this paper, we focus on the semi-external memory cache sharing for multiple users/applications. Two critical metrics, i.e., fairness and efficiency, are considered for the semi-external memory with several challenges. First, it should be sensitive to DRAM and SSD for the semi-external memory in view of their different access latencies. Second, it is crucial to have a policy that can balance fairness and efficiency elastically since there tends to be a tradeoff between them. Third, there is a cheating problem for efficiency cache allocation and we should have a robust allocation policy to address it. We propose a new policy called ElasticSEM for the semi-external memory. It performs the fair allocation of cache resources as a whole with the awareness of different access latencies between DRAM and SSD. Moreover, it contains a knob that allows users to tune and balance fairness and performance flexibly with a guarantee of θ-relaxed fairness, where θ-relaxed fairness refers to as the maximum difference of estimated cache resource allocations between any two users in SEM. Finally, we implement ElasticSEM in an in-memory storage system called Alluxio. The testbed experimental results show that ElasticSEM can achieve high performance and fairness.","PeriodicalId":340778,"journal":{"name":"Proceedings of the 49th International Conference on Parallel Processing","volume":"148 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 49th International Conference on Parallel Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3404397.3404450","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Data caching and sharing is an effective approach for achieving high performance to many applications in shared platforms such as the cloud. DRAM and SSD are two popular caching devices widely used by many large-scale data application systems such Hadoop and Spark. Due to the limited size of DRAM as well as the large access latency of SSD (relative to DRAM), there is a trend of integrating DRAM and SSD (called semi-external memory) together for large-scale data caching. In this paper, we focus on the semi-external memory cache sharing for multiple users/applications. Two critical metrics, i.e., fairness and efficiency, are considered for the semi-external memory with several challenges. First, it should be sensitive to DRAM and SSD for the semi-external memory in view of their different access latencies. Second, it is crucial to have a policy that can balance fairness and efficiency elastically since there tends to be a tradeoff between them. Third, there is a cheating problem for efficiency cache allocation and we should have a robust allocation policy to address it. We propose a new policy called ElasticSEM for the semi-external memory. It performs the fair allocation of cache resources as a whole with the awareness of different access latencies between DRAM and SSD. Moreover, it contains a knob that allows users to tune and balance fairness and performance flexibly with a guarantee of θ-relaxed fairness, where θ-relaxed fairness refers to as the maximum difference of estimated cache resource allocations between any two users in SEM. Finally, we implement ElasticSEM in an in-memory storage system called Alluxio. The testbed experimental results show that ElasticSEM can achieve high performance and fairness.
半外部存储系统中缓存共享公平性与效率的平衡
数据缓存和共享是在云等共享平台中实现许多应用程序高性能的有效方法。DRAM和SSD是Hadoop、Spark等大型数据应用系统中常用的两种缓存设备。由于DRAM的尺寸有限,而SSD的访问延迟(相对于DRAM)较大,因此将DRAM和SSD(称为半外部存储器)集成在一起以进行大规模数据缓存是一种趋势。本文主要研究多用户/应用程序的半外部内存缓存共享。考虑到半外部存储器的两个关键指标,即公平性和效率,并提出了一些挑战。首先,由于半外部存储器的访问延迟不同,它应该对DRAM和SSD敏感。其次,制定一项能够灵活平衡公平和效率的政策至关重要,因为两者之间往往存在权衡。第三,效率缓存分配存在作弊问题,我们应该有一个强大的分配策略来解决这个问题。我们提出了一种叫做ElasticSEM的半外部存储策略。它能够感知DRAM和SSD之间不同的访问延迟,从而在整体上公平地分配缓存资源。此外,它包含一个旋钮,允许用户灵活地调整和平衡公平性和性能,并保证θ-放松公平性,其中θ-放松公平性是指SEM中任意两个用户之间估计的缓存资源分配的最大差异。最后,我们在一个名为Alluxio的内存存储系统中实现ElasticSEM。试验台实验结果表明,该算法能够达到较高的性能和公平性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书