From a234630aec8c58ed758e079bfcea09e1b92c138b Mon Sep 17 00:00:00 2001 From: Diogo21Costa Date: Sat, 29 Jul 2023 20:10:42 +0100 Subject: [PATCH] feat(doc): add cache coloring Signed-off-by: Diogo21Costa --- source/bao_hyp/config.rst | 10 ++++++++++ source/bao_hyp/img/llc-colors.svg | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 source/bao_hyp/img/llc-colors.svg diff --git a/source/bao_hyp/config.rst b/source/bao_hyp/config.rst index e43830d..d7a5633 100644 --- a/source/bao_hyp/config.rst +++ b/source/bao_hyp/config.rst @@ -353,6 +353,16 @@ This functionality is achieved through the following configuration parameter: Coloring ******** +- **colors** [optional] - corresponds to a bitmap for the assigned cache \ + colors of the VM. This value is truncated depending on the number of \ + available colors calculated at run-time, i.e., its platform-dependent. By \ + default, the coloring mechanism is not active. For instance, the following \ + picture depicts a hypothetical setup with a 50/50 coloring scheme; + +.. figure:: img/llc-colors.svg + :align: center + :name: llc-colors-fig + Shared Memory Configuration --------------------------- diff --git a/source/bao_hyp/img/llc-colors.svg b/source/bao_hyp/img/llc-colors.svg new file mode 100644 index 0000000..dd9b14f --- /dev/null +++ b/source/bao_hyp/img/llc-colors.svg @@ -0,0 +1,4 @@ + + + +









Hypervisor
Hypervisor
VM 0

VM 0...
VM 1

VM 1
LLC
LLC
CPU0
CPU0
CPU1
CPU1
CPU2
CPU2
CPU3
CPU3

colors: 0xF0F0F0
colors: 0xF0F0F0
colors: 0x0F0F0F
colors: 0x0F0F0F
Text is not SVG - cannot display
\ No newline at end of file