Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752702AbbKPQ1E (ORCPT ); Mon, 16 Nov 2015 11:27:04 -0500 Received: from casper.infradead.org ([85.118.1.10]:36774 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753207AbbKPQ1A (ORCPT ); Mon, 16 Nov 2015 11:27:00 -0500 Date: Mon, 16 Nov 2015 17:26:57 +0100 From: Peter Zijlstra To: Luiz Capitulino Cc: Marcelo Tosatti , Thomas Gleixner , Vikas Shivappa , Tejun Heo , Yu Fenghua , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC] ioctl based CAT interface Message-ID: <20151116162657.GX17308@twins.programming.kicks-ass.net> References: <20151113163933.GA10222@amt.cnet> <20151113165100.GI17308@twins.programming.kicks-ass.net> <20151113173303.GB13490@amt.cnet> <20151116090756.GM17308@twins.programming.kicks-ass.net> <20151116111842.0c0a30f9@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151116111842.0c0a30f9@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 26 On Mon, Nov 16, 2015 at 11:18:42AM -0500, Luiz Capitulino wrote: > Peter, I'm giving a serious try on the cgroups patches and would be > glad to be enlightened if I'm missing something. But I don't see how > what you're proposing would solve the problem. > > My understanding of CAT is that if I want to reserve 80% of the cache > in socket-1 to $thread-A I also have to: > > 1. Create another mask reserving 20% of the cache in socket-1 > 2. Assign that mask to all other threads that may run in socket-1 > > If I'm right about this, then when a task with 20% reservation migrates > to socket-2 it will only access 20% of the cache there even though there > should be no restrictions in socket-2's cache. Uh what? Task-A was bound to socket-1, it will never get to socket-2. Clearly I'm not getting these examples you're throwing around. Also, I explicitly do not want tasks that can migrate between sockets to have different performance profiles across those sockets. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/