METICULOUS:一种用于系统软件研究的基于 FPGA 的主存模拟器
METICULOUS: An FPGA-based Main Memory Emulator for System Software Studies
AI总结:
本文提出一种基于 FPGA 的主存模拟器 METICULOUS,通过模拟不同性能内存区域的延迟、带宽和位翻转错误率,支持操作系统等特权程序以实际速度透明访问,为新型主存系统的系统软件研究提供了高效平台。
摘要:
由于 DRAM 技术的扩展问题,基于与 DRAM 不同工作原理的非易失性存储器件正被大力开发,以扩展计算机的主存。分解内存作为一种扩展主存的新兴技术也备受关注。尽管系统软件研究需要探讨针对融合此类新兴内存系统的新型主存设计的管理机制,但目前尚无能够高效适用于操作系统和 hypervisor 等大规模特权程序的可行内存模拟机制。本文提出了一种基于 FPGA 的主存模拟器,用于新型主存系统的系统软件研究。它可以模拟融合了具有不同性能特征的多个内存区域的主存。对于每个存储器件的地址区域,它分别模拟了读/写操作的延迟、带宽和位翻转错误率。该模拟器实现于现成 FPGA System-on-Chip 板的硬件模块中。在其强大的 64 位 CPU 核心上运行的任何特权/非特权软件程序,都能通过与普通 DRAM 主存完全相同的接口,以实际速度访问模拟的主存器件。我们确认该模拟器对 CPU 核心透明地工作,并成功根据给定的模拟参数改变了内存区域的性能;例如,CPU 核心测量的延迟与模拟器插入的延迟严格成正比,涉及约 240 ns 的最小开销。作为初步用例,我们确认该模拟器允许针对未修改的软件程序单独改变带宽限制和插入的延迟,使关于延迟敏感性的讨论变得更加容易。
英文摘要:
Due to the scaling problem of the DRAM technology, non-volatile memory devices, which are based on different principle of operation than DRAM, are now being intensively developed to expand the main memory of computers. Disaggregated memory is also drawing attention as an emerging technology to scale up the main memory. Although system software studies need to discuss management mechanisms for the new main memory designs incorporating such emerging memory systems, there are no feasible memory emulation mechanisms that efficiently work for large-scale, privileged programs such as operating systems and hypervisors. In this paper, we propose an FPGA-based main memory emulator for system software studies on new main memory systems. It can emulate the main memory incorporating multiple memory regions with different performance characteristics. For the address region of each memory device, it emulates the latencies, bandwidths and bit-flip error rates of read/write operations, respectively. The emulator is implemented at the hardware module of an off-the-self FPGA System-on-Chip board. Any privileged/unprivileged software programs running on its powerful 64-bit CPU cores can access emulated main memory devices at a practical speed through the exactly same interface as normal DRAM main memory. We confirmed that the emulator transparently worked for CPU cores and successfully changed the performance of a memory region according to given emulation parameters; for example, the latencies measured by CPU cores were exactly proportional to the latencies inserted by the emulator, involving the minimum overhead of approximately 240 ns. As a preliminary use case, we confirmed that the emulator allows us to change the bandwidth limit and the inserted latency individually for unmodified software programs, making discussions on latency sensitivity much easier.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。