RE: [PATCH v5 7/8] x86/resctrl: Update documentation with Sub-NUMA cluster changes

From: Luck, Tony
Date: Tue Sep 26 2023 - 15:11:49 EST


> How does user know Sub-NUMA Cluster mode is being enabled on the system?
>
> Do you have any information in /sys/fs/resctrl/info?
>
> Below documentation does not have any info about it.
> Would it be better to add that in "info" directory?


Babu,

My original patch series added an "snc_ways" file to the info/ directory
to make this visible. But I was talked out of it because of a lack of clear
user mode use case that needs it.

https://lore.kernel.org/all/f0841866-315b-4727-0a6c-ec60d22ca29c@xxxxxxx/

Users can figure out whether SNC is enabled by looking at topology
files for nodes and L3 caches in /sys. The open question is whether
we should provide a simple short cut to that information, or make them
walk two miles uphill in the snow to figure it out.

-Tony