From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933976AbdBQNmD (ORCPT ); Fri, 17 Feb 2017 08:42:03 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:56724 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933336AbdBQNmC (ORCPT ); Fri, 17 Feb 2017 08:42:02 -0500 Date: Fri, 17 Feb 2017 14:41:54 +0100 (CET) From: Thomas Gleixner To: Stephane Eranian cc: "Luck, Tony" , David Carrillo-Cisneros , Vikas Shivappa , "Shivappa, Vikas" , linux-kernel , x86 , "hpa@zytor.com" , Ingo Molnar , Peter Zijlstra , "Shankar, Ravi V" , "Yu, Fenghua" , "Kleen, Andi" , "Anvin, H Peter" Subject: Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes In-Reply-To: Message-ID: References: <3908561D78D1C84285E8C5FCA982C28F3A2A8947@ORSMSX114.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F3A2A9CC7@ORSMSX114.amr.corp.intel.com> <20170202234100.GA17145@intel.com> <20170203175220.GA15630@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Feb 2017, Stephane Eranian wrote: > > I think the design must ensure that the following usage models can be monitored: > - the allocations in your CAT partitions > - the allocations from a task (inclusive of children tasks) > - the allocations from a group of tasks (inclusive of children tasks) > - the allocations from a CPU > - the allocations from a group of CPUs What's missing here is: - the allocations of a subset of users (tasks/groups/cpu(s)) of a particular CAT partition Looking at your requirement list, all requirements, except the first point, have no relationship to CAT (at least not from your write up). Now the obvious questions are: - Does it make sense to ignore CAT relations in these sets? - Does it make sense to monitor a task / group of tasks, where the tasks belong to different CAT partitions? - Does it make sense to monitor a CPU / group of CPUs as a whole independent of which CAT partitions have been utilized during the monitoring period? I don't think it makes any sense, unless the resulting information is split up into CAT partitions. I'm happy to be educated on the value of making this CAT unaware, but so far I only came up with results, which need a crystal ball to analyze them. Thanks, tglx