Re: [PATCH v3 08/10] selftests/resctrl: Remove requirement on cache miss rate

Reinette Chatre
2026-03-31T17:39:47Z

On 3/31/26 1:07 AM, Ilpo Järvinen wrote:
> On Fri, 27 Mar 2026, Reinette Chatre wrote:

>> Below is an example of what a user running the CAT test will see after these changes.
>> Since show_cache_info() always prints avg_llc_val the user can obtain insight into failure
>> by considering it and its previous measurement.
>>
>> # Starting L3_CAT test ...
>> # Mounting resctrl to "/sys/fs/resctrl"
>> # Cache size :117964800
>> # Writing benchmark parameters to resctrl FS
>> # Write schema "L2:1=0x1" to resctrl FS
>> # Write schema "L3:0=1fc0" to resctrl FS
>> # Write schema "L3:0=3f" to resctrl FS
>> # Write schema "L3:0=1ff0" to resctrl FS
>> # Write schema "L3:0=f" to resctrl FS
>> # Write schema "L3:0=1ffc" to resctrl FS
>> # Write schema "L3:0=3" to resctrl FS
>> # Checking for pass/fail
>> # Number of bits: 6
>> # Average LLC val: 445092
>> # Cache span (lines): 737280
>> # Pass: Check cache miss rate increased
>> # Number of bits: 4
>> # Average LLC val: 724472
>> # Cache span (lines): 491520
>> # Pass: Check cache miss rate increased
>> # Number of bits: 2
>> # Average LLC val: 1085470
>> # Cache span (lines): 245760
>> ok 4 L3_CAT: test
>
> Okay, I didn't remember there was another place printing the numbers.
> No problem with this then,
>
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
>

Thank you very much Ilpo.

Reinette