Jenga:无抖动响应的分层内存管理
Jenga: Responsive Tiered Memory Management without Thrashing
AI总结:
Jenga通过上下文感知的页面分配和精确热度测量,解决了分层内存中的冷热对象混置与抖动问题,在10个应用中平均提速28%,开销极低。
摘要:
异构内存具有单一地址空间,其中某些地址(DRAM快速层)可快速访问,而其他地址(CXL附加内存或NVM的容量层)访问较慢。分层内存系统旨在通过快速层与容量层之间的页面迁移,最大化对快速层的访问次数。不幸的是,先前的分层内存系统可能表现不佳,原因包括:(1)将热对象和冷对象分配在同一页面中,(2)热度的突然变化导致抖动。本文提出Jenga,一种解决这两个问题的分层内存系统。Jenga的内存分配器采用了一种新颖的基于上下文的页面分配策略。Jenga对页面热度的精确测量使其能够及时响应内存访问行为的变化,同时避免抖动。与先前最佳的分层内存系统相比,当快速层容量与工作集大小匹配时,Jenga在10个应用程序上运行内存密集型应用程序的速度提高了28%,CPU开销小于单核的3%,内存开销小于0.3%。
英文摘要:
A heterogeneous memory has a single address space with fast access to some addresses (a fast tier of DRAM) and slow access to other addresses (a capacity tier of CXL-attached memory or NVM). A tiered memory system aims to maximize the number of accesses to the fast tier via page migrations between the fast and capacity tiers. Unfortunately, previous tiered memory systems can perform poorly due to (1) allocating hot and cold objects in the same page and (2) abrupt changes in hotness measurements that lead to thrashing. This paper presents Jenga, a tiered memory system that addresses both problems. Jenga's memory allocator uses a novel context-based page allocation strategy. Jenga's accurate measurements of page hotness enable it to react to memory access behavior changes in a timely manner while avoiding thrashing. Compared to the best previous tiered memory system, Jenga runs memory-intensive applications 28% faster across 10 applications, when the fast tier capacity matches the working set size, at a CPU overhead of <3% of a single core and a memory overhead of <0.3%
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。