无虚拟内存的基于软件的存储管理的成本
The Cost of Software-Based Memory Management Without Virtual Memory
摘要:
三十多年来,虚拟内存一直是标准的硬件功能。以增加硬件复杂性为代价,它简化了软件,并保证了托管进程之间的强大隔离。然而,在现代计算系统中,虚拟内存的成本已显著增加。对于大型内存工作负载、虚拟化环境、数据中心计算和具有多个DMA设备的芯片,虚拟内存可能会降低性能并增加功耗。因此,我们探讨了构建应用程序和操作系统而不依赖于硬件支持的地址转换的影响。首先,我们调查的影响,删除抽象的大型连续内存段。我们的实验表明,开销,以消除这种依赖是令人惊讶的小真实程序。我们希望这个小开销能够降低地址转换的复杂性和能源使用。事实上,在某些情况下,避免地址转换甚至可以提高性能。
英文摘要:
Virtual memory has been a standard hardware feature for more than three decades. At the price of increased hardware complexity, it has simplified software and promised strong isolation among colocated processes. In modern computing systems, however, the costs of virtual memory have increased significantly. With large memory workloads, virtualized environments, data center computing, and chips with multiple DMA devices, virtual memory can degrade performance and increase power usage. We therefore explore the implications of building applications and operating systems without relying on hardware support for address translation. Primarily, we investigate the implications of removing the abstraction of large contiguous memory segments. Our experiments show that the overhead to remove this reliance is surprisingly small for real programs. We expect this small overhead to be worth the benefit of reducing the complexity and energy usage of address translation. In fact, in some cases, performance can even improve when address translation is avoided.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。