Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

From: Andi Kleen
Date: Wed Feb 01 2017 - 19:35:27 EST


"Luck, Tony" <tony.luck@xxxxxxxxx> writes:
> 9) Measure per logical CPU (pick active RMID in same precedence for task/cpu as CAT picks CLOSID)
> 10) Put multiple CPUs into a group

I'm not sure this is a real requirement. It's just an optimization,
right? If you can assign policies to threads, you can implicitly set it
per CPU through affinity (or the other way around).
The only benefit would be possibly less context switch overhead,
but if all the thread (including idle) assigned to a CPU have the
same policy it would have the same results.

I suspect dropping this would likely simplify the interface significantly.

-Andi