Mitosis:大内存机的自复制页表
Mitosis: Transparently Self-Replicating Page-Tables for Large-Memory Machines
摘要:
具有1-100 TB物理内存的多插槽机器变得越来越普遍。在多插槽机器上运行的应用程序在访问物理内存时会遇到不均匀的带宽和延迟。几十年的研究都集中在NUMA设置中的数据分配和放置策略上,但还没有研究如何在套接字之间放置页表。我们明确的页表分配政策的情况下,页表的位置变得至关重要的整体性能。我们建议有丝分裂,以减轻NUMA页表行走的影响,透明地复制和迁移页表跨套接字,而无需应用程序的变化。这降低了在执行页表遍历时访问远程NUMA节点的频率。有丝分裂使用两个组件:(i)实现高效页表复制和迁移的机制;以及(ii)用于高效管理和控制页表复制和迁移的过程的策略。我们在Linux中实现了有丝分裂,并在实际硬件上评估了它的好处。Mitosis通过跨套接字复制页表,将大规模多套接字工作负载的性能提高了1.34倍。此外,当操作系统通过启用跨套接字页表迁移来跨套接字迁移进程时,它将性能提高了3.24倍。
英文摘要:
Multi-socket machines with 1-100 TBs of physical memory are becoming prevalent. Applications running on multi-socket machines suffer non-uniform bandwidth and latency when accessing physical memory. Decades of research have focused on data allocation and placement policies in NUMA settings, but there have been no studies on the question of how to place page-tables amongst sockets. We make the case for explicit page-table allocation policies and show that page-table placement is becoming crucial to overall performance. We propose Mitosis to mitigate NUMA effects on page-table walks by transparently replicating and migrating page-tables across sockets without application changes. This reduces the frequency of accesses to remote NUMA nodes when performing page-table walks. Mitosis uses two components: (i) a mechanism to enable efficient page-table replication and migration; and (ii) policies for processes to efficiently manage and control page-table replication and migration. We implement Mitosis in Linux and evaluate its benefits on real hardware. Mitosis improves performance for large-scale multi-socket workloads by up to 1.34x by replicating page-tables across sockets. Moreover, it improves performance by up to 3.24x in cases when the OS migrates a process across sockets by enabling cross-socket page-table migration.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。