Re: [PATCH RFC] ioctl based CAT interface

From: Marcelo Tosatti
Date: Mon Nov 16 2015 - 16:22:32 EST


On Mon, Nov 16, 2015 at 03:42:08PM +0100, Thomas Gleixner wrote:
> On Mon, 16 Nov 2015, Marcelo Tosatti wrote:
> > You need a task to be part of two cgroups at one time,
> > to support the following configuration:
> >
> > Task-A: 70% of cache reserved exclusively (reservation-0).
> > 20% of cache reserved (reservation-1).
> >
> > Task-B: 20% of cache reserved (reservation-1).
>
> Why would such a configuration be desired?
>
> Thanks,
>
> tglx

The HW supports cache sharing, its a HW feature.

Makes sense to share reserved cache between threads of an application
that for example share a library.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/