arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.01736cs.DC
收藏

理解并优化支持CXL的分层内存中的无服务器工作负载

Understanding and Optimizing Serverless Workloads in CXL-Enabled Tiered Memory

Yuze Li, Shunyu Yao

AI总结:

本文研究无服务器工作负载在CXL分层内存系统中的性能影响,提出细粒度DRAM/CXL资源配置策略,并设计中间件Porter以高效利用内存并降低成本。

摘要:

近年来,无服务器工作负载趋向于大规模/CPU-内存密集型,例如深度学习、图应用等,需要动态的内存到计算资源配置。与此同时,近期的解决方案致力于为多层内存系统设计页面管理策略,以高效运行重负载工作负载。Compute Express Link(CXL)凭借其缓存一致性特性和大内存容量,为无服务器工作负载运行时提供了一个整体内存命名空间,是理想平台。然而,简单地将无服务器应用卸载到CXL会带来显著的延迟。在本工作中,我们首先量化了CXL对各种无服务器应用的影响。其次,我们论证了以细粒度、面向特定应用的方式为无服务器工作负载配置DRAM和CXL的机会,通过创建一个垫片层来识别热区域并将其直接放置到DRAM,而将冷/温区域留给CXL。基于这一观察,我们最终提出了Porter的原型,这是一个位于现代无服务器架构与支持CXL的分层内存系统之间的中间件,旨在高效利用内存资源,同时节省成本。

英文摘要:

Recent Serverless workloads tend to be largescaled/CPU-memory intensive, such as DL, graph applications, that require dynamic memory-to-compute resources provisioning. Meanwhile, recent solutions seek to design page management strategies for multi-tiered memory systems, to efficiently run heavy workloads. Compute Express Link (CXL) is an ideal platform for serverless workloads runtime that offers a holistic memory namespace thanks to its cache coherent feature and large memory capacity. However, naively offloading Serverless applications to CXL brings substantial latencies. In this work, we first quantify CXL impacts on various Serverless applications. Second, we argue the opportunity of provisioning DRAM and CXL in a fine-grained, application-specific manner to Serverless workloads, by creating a shim layer to identify, and naively place hot regions to DRAM, while leaving cold/warm regions to CXL. Based on the observation, we finally propose the prototype of Porter, a middleware in-between modern Serverless architecture and CXL-enabled tiered memory system, to efficiently utilize memory resources, while saving costs.

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

↑