ARMS:自适应且鲁棒的内存分层系统
ARMS: Adaptive and Robust Memory Tiering System
AI总结:
针对现有内存分层系统依赖固定阈值导致性能不佳的问题,提出ARMS自适应鲁棒内存分层系统,利用移动平均识别热冷页、成本收益分析迁移和带宽感知调度,无需调参即可达到接近最优调优性能。
摘要:
内存分层系统通过添加多个内存层级来寻求经济高效的内存扩展。为了获得最佳性能,频繁访问(热)的数据必须放置在靠近主机的较快层级中,而不频繁访问(冷)的数据则可以放置在较远的较慢内存层级中。现有的分层解决方案,如HeMem、Memtis和TPP,使用具有预配置阈值的刚性策略来做出数据放置和迁移决策。我们对阈值选择进行了全面评估,结果表明不存在一组适用于所有工作负载和配置的阈值,并且调优可以带来显著的加速。我们的评估确定了调优有帮助的三个主要原因:更好的热/冷页面识别、减少浪费的迁移以及更及时的迁移。基于这项研究,我们设计了ARMS——自适应且鲁棒的内存分层系统——以在无需可调阈值的情况下提供高性能。我们开发了一种依赖于短期和长期移动平均线的新型热/冷页面识别机制,一种基于成本/收益分析的自适应迁移策略,以及一个带宽感知的批量迁移调度器。综合这些方法,开箱即用的性能在先前系统最佳调优性能的3%以内,并且比未经调优的先前系统好1.26倍至2.3倍。
英文摘要:
Memory tiering systems seek cost-effective memory scaling by adding multiple tiers of memory. For maximum performance, frequently accessed (hot) data must be placed close to the host in faster tiers and infrequently accessed (cold) data can be placed in farther slower memory tiers. Existing tiering solutions such as HeMem, Memtis, and TPP use rigid policies with pre-configured thresholds to make data placement and migration decisions. These thresholds make the systems brittle - they fail to perform well in all scenarios. Our analysis of existing systems revealed that incorrect tiering parameters lead to: inaccurate hot page identification, delayed response to hot set changes, and wasteful migrations. Based on this study, we designed ARMS that replaces sensitive parameters with robust policies and mechanisms. We develop a novel hot/cold page identification mechanism that uses relative scoring rather than threshold comparison, a hot set change detector to adapt to workload distribution changes, an adaptive migration policy based on cost/benefit analysis, and a bandwidth-aware batched migration scheduler. Combined, these approaches provide an out-of-the-box performance that matches the best tuned performance of prior systems, while being 1.22-1.85x better than prior systems without tuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。