Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-22 Thread Jan Beulich
On 21.03.2024 18:22, Carlo Nonato wrote: > Hi Jan, > > On Thu, Mar 21, 2024 at 4:53 PM Jan Beulich wrote: >> >> On 21.03.2024 16:03, Carlo Nonato wrote: >>> On Tue, Mar 19, 2024 at 3:58 PM Jan Beulich wrote: On 15.03.2024 11:58, Carlo Nonato wrote: > --- a/docs/misc/xen-command-line.pan

Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-21 Thread Carlo Nonato
Hi Jan, On Thu, Mar 21, 2024 at 4:53 PM Jan Beulich wrote: > > On 21.03.2024 16:03, Carlo Nonato wrote: > > On Tue, Mar 19, 2024 at 3:58 PM Jan Beulich wrote: > >> On 15.03.2024 11:58, Carlo Nonato wrote: > >>> --- a/docs/misc/xen-command-line.pandoc > >>> +++ b/docs/misc/xen-command-line.pandoc

Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-21 Thread Jan Beulich
On 21.03.2024 16:03, Carlo Nonato wrote: > On Tue, Mar 19, 2024 at 3:58 PM Jan Beulich wrote: >> On 15.03.2024 11:58, Carlo Nonato wrote: >>> --- a/docs/misc/xen-command-line.pandoc >>> +++ b/docs/misc/xen-command-line.pandoc >>> @@ -1706,6 +1706,43 @@ This option is intended for debugging purpose

Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-21 Thread Carlo Nonato
Hi Jan, (adding Andrea Bastoni in cc) On Tue, Mar 19, 2024 at 3:58 PM Jan Beulich wrote: > > On 15.03.2024 11:58, Carlo Nonato wrote: > > +Background > > +** > > + > > +Cache hierarchy of a modern multi-core CPU typically has first levels > > dedicated > > +to each core (hence using mul

Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-19 Thread Jan Beulich
On 15.03.2024 11:58, Carlo Nonato wrote: > +Background > +** > + > +Cache hierarchy of a modern multi-core CPU typically has first levels > dedicated > +to each core (hence using multiple cache units), while the last level is > shared > +among all of them. Such configuration implies that

Re: [PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-15 Thread Carlo Nonato
Hi all, unfortunately, this patch doesn't apply cleanly to the latest master. The conflict is very small: just a reordering of two lines in xen/common/Kconfig. Should I resend the whole series? Thanks. On Fri, Mar 15, 2024 at 11:59 AM Carlo Nonato wrote: > > Last Level Cache (LLC) coloring allo

[PATCH v7 01/14] xen/common: add cache coloring common code

2024-03-15 Thread Carlo Nonato
Last Level Cache (LLC) coloring allows to partition the cache in smaller chunks called cache colors. Since not all architectures can actually implement it, add a HAS_LLC_COLORING Kconfig and put other options under xen/arch. LLC colors are a property of the domain, so the domain struct has to be e