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 +3 more
5/17/2021
cs.AR

Official code: CMU-SAFARI/MetaSys (16 stars, last commit 2023-01-20).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

CMU-SAFARI/MetaSysOfficial100%

Metasys is the first open-source FPGA-based infrastructure with a prototype in a RISC-V core, to enable the rapid implementation and evaluation of a wide range of cross-layer software/hardware cooperative techniques techniques in real hardware. Described in our ACM TACO paper: https://dl.acm.org/doi/full/10.1145/3505250

164Jul 9, 20213 years agoNOASSERTION

Similar Papers

Cite this paper

@article{vijaykumar2021metasys,
  title  = {MetaSys: A Practical Open-Source Metadata Management System to Implement and Evaluate Cross-Layer Optimizations},
  author = {Nandita Vijaykumar and Ataberk Olgun and Konstantinos Kanellopoulos and Nisa Bostancı and Hasan Hassan and Mehrshad Lotfi and Phillip B. Gibbons and Onur Mutlu},
  year   = {2021},
  eprint = {2105.08123},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.08123}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.08123.svg)](https://codeofpaper.com/paper/2105.08123)

Discussion