Implementation and Evaluation of MemGuard in the Bao Hypervisor

  • Everaldo P. Gomes UFSC
  • Gabriel De O. Aguiar UFSC
  • Giovani Gracioli UFSC

Resumo


The shared resources found in modern multi-core processors, such as the main memory and cache levels, affect the predictability of real-time systems. Memory access regulation, cache partitioning, and the use of static hypervisors are up-to-date techniques to decrease the contention for shared resources in multi-core processors. Among these techniques, Bao hypervisor appears as a lightweight, static partitioning hypervisor designed to provide isolation and minimal interference, making it an ideal platform for implementing memory control mechanisms. However, Bao still does not have support for memory regulation. This paper brings a memory control mechanism based on MemGuard designed and implemented in Bao hypervisor. To validate our design and implementation, we use FreeRTOS as a guest together with three other guests running a stress benchmark and measuring the interference suffered by the FreeRTOS instance. The results have shown that the implemented memory control mechanism can regulate memory accesses while simultaneously creating as little interference as possible on real-time guests.
Palavras-chave: Bao-Hypervisor, MemGuard, FreeRTOS, PMU, Regulation, Manycore
Publicado
26/11/2024
GOMES, Everaldo P.; AGUIAR, Gabriel De O.; GRACIOLI, Giovani. Implementation and Evaluation of MemGuard in the Bao Hypervisor. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SISTEMAS COMPUTACIONAIS (SBESC), 14. , 2024, Recife/PE. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2024 . p. 97-102. ISSN 2237-5430.