Re: [PATCH v5 1/2] selftests/resctrl: Adjust effective L3 cache size with SNC enabled
From: Reinette Chatre
Date: Tue Nov 05 2024 - 18:29:06 EST
Hi Maciej,
On 10/29/24 6:00 AM, Maciej Wieczor-Retman wrote:
> diff --git a/tools/testing/selftests/resctrl/resctrl.h b/tools/testing/selftests/resctrl/resctrl.h
> index 2dda56084588..851b37c9c38a 100644
> --- a/tools/testing/selftests/resctrl/resctrl.h
> +++ b/tools/testing/selftests/resctrl/resctrl.h
> @@ -11,6 +11,7 @@
> #include <signal.h>
> #include <dirent.h>
> #include <stdbool.h>
> +#include <ctype.h>
> #include <sys/stat.h>
> #include <sys/ioctl.h>
> #include <sys/mount.h>
> @@ -43,6 +44,8 @@
>
> #define DEFAULT_SPAN (250 * MB)
>
> +#define MAX_SNC 4
> +
fyi, it seems that 6 is the new max:
https://lore.kernel.org/all/20241031220213.17991-1-tony.luck@xxxxxxxxx/
Reinette