RE: resctrl2 - status

From: Luck, Tony
Date: Fri Aug 25 2023 - 14:11:27 EST


> Alternatively, can user space just take a "load all resctrl modules
> and see what sticks" (even modules of different architectures since
> a user space may want to be generic) approach?

This mostly works. Except for the cases where different modules access
the same underlying hardware, so can't be loaded together.

Examples:

rdt_l3_cat vs. rdt_l3_cdp - user needs to decide whether they want CDP or not.
But this is already true ... they have to decide whether to pass the "-o cdp" option
to mount.

rdt_l3_mba vs. rdt_l3_mba_MBps - does the user want to control memory bandwidth
with percentages, or with MB/sec values. Again the user already has to make this
decision when choosing mount options.


Maybe the "What resctrl options does this machine support?" question would be
best answered with a small utility?

-Tony