CARAT: A Case for Virtual Memory through Compiler- and Runtime-Based Address Translation
Virtual memory is a critical abstraction in modern computer systems.
Its common model, paging, is currently seeing considerable innovation,
yet its implementations continue to be co-designs between power-hungry/latency-adding
hardware (e.g., TLBs, pagewalk caches, pagewalkers, etc) and software
(the OS kernel). We make a case for a new model for virtual memory,
compiler- and runtime-based address translation (CARAT), which
instead is a co-design between the compiler and the OS kernel. CARAT
can operate without any hardware support, although it could also
be retrofitted into a traditional paging model, and could leverage
simpler hardware support. CARAT uses compile-time transformations and
optimizations combined with tightly-coupled runtime/kernel
interaction to generate programs that run efficiently in a physical
address space, but nonetheless allow the kernel to maintain protection
and dynamically manage physical memory similar to what is possible using
traditional virtual memory. We argue for the feasibility of CARAT
through an empirical study of application characteristics and kernel
behavior, as well as through the design, implementation, and
performance evaluation of a CARAT prototype. Because our prototype
works at the IR level (in particular, via LLVM bitcode), it can be
applied to most C and C++ programs with minimal or no restrictions.
Wed 17 JunDisplayed time zone: Pacific Time (US & Canada) change
09:20 - 10:20 | Memory ManagementPLDI Research Papers at PLDI Research Papers live stream Chair(s): Ting Cao Microsoft Research | ||
09:20 20mTalk | Improving Program Locality in the GC using Hotness PLDI Research Papers Albert Mingkun Yang Uppsala University, Sweden, Erik Ă–sterlund Oracle, Sweden, Tobias Wrigstad Uppsala University, Sweden | ||
09:40 20mTalk | A Marriage of Pointer- and Epoch-Based Reclamation PLDI Research Papers | ||
10:00 20mTalk | CARAT: A Case for Virtual Memory through Compiler- and Runtime-Based Address Translation PLDI Research Papers Brian Suchy Northwestern University, USA, Simone Campanoni Northwestern University, USA, Nikos Hardavellas Northwestern University, USA, Peter Dinda Northwestern University, USA |