Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751835AbdCHJmg (ORCPT ); Wed, 8 Mar 2017 04:42:36 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:45750 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750743AbdCHJmd (ORCPT ); Wed, 8 Mar 2017 04:42:33 -0500 Date: Wed, 8 Mar 2017 09:30:46 +0100 (CET) From: Thomas Gleixner To: Stephane Eranian cc: "Luck, Tony" , Vikas Shivappa , "Shivappa, Vikas" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "hpa@zytor.com" , "mingo@kernel.org" , "peterz@infradead.org" , "Shankar, Ravi V" , "Yu, Fenghua" , "Kleen, Andi" , "davidcc@google.com" Subject: Re: [PATCH 1/1] x86/cqm: Cqm requirements In-Reply-To: Message-ID: References: <1488908964-30261-1-git-send-email-vikas.shivappa@linux.intel.com> <3908561D78D1C84285E8C5FCA982C28F6120F0A9@ORSMSX113.amr.corp.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 Content-Length: 1095 Lines: 35 Stephane, On Tue, 7 Mar 2017, Stephane Eranian wrote: > On Tue, Mar 7, 2017 at 12:04 PM, Luck, Tony wrote: > >> That's all nice and good, but I still have no coherent explanation why > >> measuring across allocation domains makes sense. > > > > Is this in reaction to this one? > > > >>> 5) Put multiple threads into a single measurement group > > > > If we fix it to say "threads from the same CAT group" does it fix things? > > > Inside a CAT partition, there may be multiple tasks split into different > cgroups. We need the ability to monitor groups of tasks individually > within that CAT partition. I think this is what this bullet is about. I completely understand that. That's fine and I never debated that one, but the requirements list is too vague about what you want to measure. > >>> 5) Put multiple threads into a single measurement group That can be: A) threads within a CAT group B) threads which belong to different CAT groups A) is fine. B) does not make any sense to me Same applies for per CPU measurements. Thanks, tglx