Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-11-03 Thread Reinette Chatre
Hi Ilpo, On 11/3/2023 3:57 AM, Ilpo Järvinen wrote: > On Thu, 2 Nov 2023, Reinette Chatre wrote: >> On 10/24/2023 2:26 AM, Ilpo Järvinen wrote: ... >>> /* >>> - * Change schemata. Write schemata to specified >>> - * con_mon grp, mon_grp in resctrl FS. >>> - * Run 5 times in order to get average

Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-11-03 Thread Ilpo Järvinen
On Thu, 2 Nov 2023, Reinette Chatre wrote: > On 10/24/2023 2:26 AM, Ilpo Järvinen wrote: > > CAT test spawns two processes into two different control groups with > > exclusive schemata. Both the processes alloc a buffer from memory > > matching their allocated LLC block size and flush the entire bu

Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-11-02 Thread Reinette Chatre
Hi Ilpo, On 10/24/2023 2:26 AM, Ilpo Järvinen wrote: > CAT test spawns two processes into two different control groups with > exclusive schemata. Both the processes alloc a buffer from memory > matching their allocated LLC block size and flush the entire buffer out > of caches. Since the processes

Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-10-31 Thread Maciej Wieczór-Retman
On 2023-10-27 at 15:32:58 +0300, Ilpo Järvinen wrote: >On Fri, 27 Oct 2023, Maciej Wieczór-Retman wrote: >> On 2023-10-24 at 12:26:26 +0300, Ilpo Järvinen wrote: >> >- ksft_print_msg("%s Check cache miss rate within %lu%%\n", >> >- ret ? "Fail:" : "Pass:", max_diff_percent); >> >

Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-10-27 Thread Ilpo Järvinen
On Fri, 27 Oct 2023, Maciej Wieczór-Retman wrote: > On 2023-10-24 at 12:26:26 +0300, Ilpo Järvinen wrote: > >CAT test spawns two processes into two different control groups with > >exclusive schemata. Both the processes alloc a buffer from memory > >matching their allocated LLC block size and flus

Re: [PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-10-27 Thread Maciej Wieczór-Retman
On 2023-10-24 at 12:26:26 +0300, Ilpo Järvinen wrote: >CAT test spawns two processes into two different control groups with >exclusive schemata. Both the processes alloc a buffer from memory >matching their allocated LLC block size and flush the entire buffer out >of caches. Since the processes are

[PATCH 16/24] selftests/resctrl: Rewrite Cache Allocation Technology (CAT) test

2023-10-24 Thread Ilpo Järvinen
CAT test spawns two processes into two different control groups with exclusive schemata. Both the processes alloc a buffer from memory matching their allocated LLC block size and flush the entire buffer out of caches. Since the processes are reading through the buffer only once during the measureme