CPSLab Cyber-Physical Systems Lab, Boston University

Publications Partially Reconfigurable Platforms

The Potential of Programmable Logic in the Middle: Cache Bleaching

Shahin Roozkhosh, Renato Mancuso

26th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS 2020), April 2020, Sydney, Australia

Best Paper Award

Read the PDF Publisher page (DOI) Slides Cite

Fig. 1. Loop-back through PL. Green line with the Translator in the middle is a valid memory loop-back. Dashed red line results in an endless loop. Two logic analyzer probes (ILA) are attached to monitor the bus segments.

Abstract

Consolidating hard real-time systems onto modern multi-core Systems-on-Chip (SoC) is an open challenge. The extensive sharing of hardware resources at the memory hierarchy raises important unpredictability concerns. The problem is exacerbated as more computationally demanding workload is expected to be handled with real-time guarantees in next-generation Cyber-Physical Systems (CPS). A large body of works has approached the problem by proposing novel hardware re-designs, and by proposing software-only solutions to mitigate performance interference. Strong from the observation that unpredictability arises from a lack of fine-grained control over the behavior of shared hardware components, we outline a promising new resource management approach. We demonstrate that it is possible to introduce Programmable Logic In-the-Middle (PLIM) between a traditional multi-core processor and main memory. This provides the unique capability of manipulating individual memory transactions. We propose a proof-of-concept system implementation of PLIM modules on a commercial multi-core SoC. The PLIM approach is then leveraged to solve long-standing issues with cache coloring. Thanks to PLIM, colored sparse addresses can be re-compacted in main memory. This is the base principle behind the technique we call Cache Bleaching. We evaluate our design on real applications and propose hypervisor-level adaptations to showcase the potential of the PLIM approach.

Cite this paper

@inproceedings{PLIM20,
  title     = {{The Potential of Programmable Logic in the Middle: Cache Bleaching}},
  author    = {Roozkhosh, Shahin and Mancuso, Renato},
  booktitle = {26th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS 2020)},
  year      = 2020,
  month     = apr,
  address   = {Sydney, Australia},
  doi       = {10.1109/RTAS48715.2020.00006},
  url       = {https://doi.org/10.1109/RTAS48715.2020.00006},
  note      = {Best Paper Award}
}

Download .bib