利用Trident对三种页面大小的架构支持
Leveraging Architectural Support of Three Page Sizes with Trident
摘要:
通常部署大页面是为了减少大内存工作负载的地址转换开销。来自Intel和AMD的现代x86 - 64处理器支持两种大页面大小-1GB和2MB。然而,以前的大型页面主要集中在2MB页面上,部分原因是缺乏1GB页面对现实世界应用程序的盈利能力的实质性证据。我们认为,事实上,不足的系统软件支持是负责十年未充分利用的硬件支持1GB的网页。通过在真实系统上的大量实验,我们证明了1GB页面可以提高2MB页面的性能,并且当与2MB页面一起用于一组重要的应用程序时,对后者的支持是至关重要的,但在当前系统中缺少。我们在Linux中的\trident{}的设计和实现充分利用硬件支持的大页面,动态和透明地分配1GB,2MB和4KB的页面被认为是合适的。\trident{}平均将8个内存密集型应用程序的速度提高了{$18\%$},而Linux只使用2MB的页面。我们还提出了\tridentpv{},扩展到\trident{},有效地虚拟化1GB的网页,通过无拷贝的推广和压缩在客户操作系统。总体而言,本文表明,即使GB大小的网页有相当大的实际意义,有足够的软件启用,反过来激励架构师继续投资/创新的大页面。
英文摘要:
Large pages are commonly deployed to reduce address translation overheads for big-memory workloads. Modern x86-64 processors from Intel and AMD support two large page sizes -- 1GB and 2MB. However, previous works on large pages have primarily focused on 2MB pages, partly due to lack of substantial evidence on the profitability of 1GB pages to real-world applications. We argue that in fact, inadequate system software support is responsible for a decade of underutilized hardware support for 1GB pages. Through extensive experimentation on a real system, we demonstrate that 1GB pages can improve performance over 2MB pages, and when used in tandem with 2MB pages for an important set of applications; the support for the latter is crucial but missing in current systems. Our design and implementation of \trident{} in Linux fully exploit hardware supported large pages by dynamically and transparently allocating 1GB, 2MB, and 4KB pages as deemed suitable. \trident{} speeds up eight memory-intensive applications by {$18\%$}, on average, over Linux's use of 2MB pages. We also propose \tridentpv{}, an extension to \trident{} that effectively virtualizes 1GB pages via copy-less promotion and compaction in the guest OS. Overall, this paper shows that even GB-sized pages have considerable practical significance with adequate software enablement, in turn motivating architects to continue investing/innovating in large pages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。