TeraHeap : Exploiting Flash Storage for Mitigating DRAM Pressure in Managed Big Data Frameworks

计算机科学 德拉姆 闪光灯(摄影) 计算机数据存储 闪存 数据库 嵌入式系统 操作系统 计算机硬件 艺术 视觉艺术
作者
Iacovos G. Kolokasis,Giannos Evdorou,Shoaib Akram,Christos Kozanitis,Anastasios Papagiannis,Foivos S. Zakkak,Polyvios Pratikakis,Angelos Bilas
出处
期刊:ACM Transactions on Programming Languages and Systems [Association for Computing Machinery]
卷期号:46 (4): 1-37 被引量:2
标识
DOI:10.1145/3700593
摘要

Big data analytics frameworks, such as Spark and Giraph, need to process and cache massive datasets that do not always fit on the managed heap. Therefore, frameworks temporarily move long-lived objects outside the heap (off-heap) on a fast storage device. However, this practice results in (1) high serialization/deserialization (S/D) cost and (2) high memory pressure when off-heap objects are moved back for processing. In this article, we propose TeraHeap , a system that eliminates S/D overhead and expensive GC scans for a large portion of objects in analytics frameworks. TeraHeap relies on three concepts: (1) It eliminates S/D by extending the managed runtime (JVM) to use a second high-capacity heap (H2) over a fast storage device. (2) It offers a simple hint-based interface, allowing analytics frameworks to leverage object knowledge to populate H2. (3) It reduces GC cost by fencing the collector from scanning H2 objects while maintaining the illusion of a single managed heap, ensuring memory safety. We implement TeraHeap in OpenJDK8 and OpenJDK17 and evaluate it with fifteen widely used applications in two real-world big data frameworks, Spark and Giraph. We find that for the same DRAM size, TeraHeap improves performance by up to 73% and 28% compared to native Spark and Giraph. Also, it can still provide better performance by consuming up to \(4.6\times\) and \(1.2\times\) less DRAM than native Spark and Giraph, respectively. TeraHeap can also be used for in-memory frameworks and applying it to the Neo4j Graph Data Science library improves its performance by up to 26%. Finally, it outperforms Panthera, a state-of-the-art garbage collector for hybrid DRAM-NVM memories, by up to 69%.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
文静萤完成签到,获得积分10
刚刚
科研通AI6.2的应助被SJK采纳,获得10
刚刚
李爱国的应助被Ssyong采纳,获得10
刚刚
小熊发布了新的文献求助10
1秒前
naaan完成签到,获得积分10
2秒前
关中旺完成签到,获得积分20
3秒前
zik完成签到,获得积分10
4秒前
5秒前
权秋尽完成签到,获得积分10
5秒前
6秒前
科研彭于晏完成签到,获得积分10
6秒前
科研通AI6.2的应助被lihaoran采纳,获得10
7秒前
慕青的应助被naaan采纳,获得10
7秒前
8秒前
阿白发布了新的文献求助10
10秒前
10秒前
祎辰完成签到 ,获得积分10
10秒前
淡然又菡发布了新的文献求助10
11秒前
slx完成签到,获得积分10
11秒前
11秒前
科研通AI6.2的应助被小栗子采纳,获得30
13秒前
隐形曼青的应助被Zesong采纳,获得10
14秒前
maxiaole的应助被科研通管家采纳,获得10
14秒前
慕青的应助被atension4采纳,获得10
14秒前
14秒前
cw完成签到,获得积分10
14秒前
xing_xing的应助被科研通管家采纳,获得20
14秒前
慕青的应助被科研通管家采纳,获得10
14秒前
无花果的应助被科研通管家采纳,获得10
14秒前
14秒前
15秒前
molihuakai的应助被科研通管家采纳,获得10
15秒前
15秒前
bkagyin的应助被科研通管家采纳,获得10
15秒前
15秒前
CipherSage的应助被科研通管家采纳,获得10
15秒前
lobster的应助被科研通管家采纳,获得10
15秒前
FashionBoy的应助被科研通管家采纳,获得10
15秒前
15秒前
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Issues in Task-Based Language Teaching 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7783710
求助须知:如何正确求助?哪些是违规求助? 9322987
关于积分的说明 20392570
捐赠科研通 7372332
什么是DOI,文献DOI怎么找? 3320737
关于科研通互助平台的介绍 2468747
邀请新用户注册赠送积分活动 2336971