arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2105.08123cs.AR
收藏

MetaSys:一个实用的开源元数据管理系统,用于实现和评估跨层优化

MetaSys: A Practical Open-Source Metadata Management System to Implement and Evaluate Cross-Layer Optimizations

Nandita Vijaykumar, Ataberk Olgun, Konstantinos Kanellopoulos, Nisa Bostancı, Hasan Hassan, Mehrshad Lotfi, Phillip B. Gibbons, Onur Mutlu

摘要:

本文介绍了第一个基于FPGA的开源基础设施MetaSys,它具有RISC-V内核的原型,可以在实际硬件中快速实施和评估各种跨层技术。软硬件协同技术是提高通用处理器性能、服务质量和安全性的有力途径。然而,在实际硬件中快速实现和评估它们通常具有挑战性,因为它们需要对硬件、操作系统、系统软件和配置集架构(ISA)进行全栈更改。MetaSys实现了丰富的硬件-软件接口和轻量级元数据支持,可用作快速实现和评估新跨层技术的通用基础。我们通过实现和评估三种跨层技术来展示MetaSys的多功能性和易用性:(i)用于图形分析的预取;(ii)内存不安全语言中的边界检查;以及(iii)堆栈帧中的返回地址保护;每种技术只需要MetaSys上的约100行Chisel代码。使用MetaSys,我们进行了第一次详细的实验研究,以量化使用一个元数据管理系统,使多个跨层优化的CPU的性能开销。我们确定的瓶颈和系统效率低下的一般元数据管理系统的关键来源。我们设计的MetaSys,以尽量减少这些低效率,并提供更高的通用性相比,以前提出的元数据系统。使用三个用例和详细的特征,我们证明了一个共同的元数据管理系统可以用来有效地支持不同的跨层技术的CPU。

英文摘要:

This paper introduces the first open-source FPGA-based infrastructure, MetaSys, with a prototype in a RISC-V core, to enable the rapid implementation and evaluation of a wide range of cross-layer techniques in real hardware. Hardware-software cooperative techniques are powerful approaches to improve the performance, quality of service, and security of general-purpose processors. They are however typically challenging to rapidly implement and evaluate in real hardware as they require full-stack changes to the hardware, OS, system software, and instruction-set architecture (ISA). MetaSys implements a rich hardware-software interface and lightweight metadata support that can be used as a common basis to rapidly implement and evaluate new cross-layer techniques. We demonstrate MetaSys's versatility and ease-of-use by implementing and evaluating three cross-layer techniques for: (i) prefetching for graph analytics; (ii) bounds checking in memory unsafe languages, and (iii) return address protection in stack frames; each technique only requiring ~100 lines of Chisel code over MetaSys. Using MetaSys, we perform the first detailed experimental study to quantify the performance overheads of using a single metadata management system to enable multiple cross-layer optimizations in CPUs. We identify the key sources of bottlenecks and system inefficiency of a general metadata management system. We design MetaSys to minimize these inefficiencies and provide increased versatility compared to previously-proposed metadata systems. Using three use cases and a detailed characterization, we demonstrate that a common metadata management system can be used to efficiently support diverse cross-layer techniques in CPUs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑