From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759907Ab2EIPdv (ORCPT ); Wed, 9 May 2012 11:33:51 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:53941 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759694Ab2EIPdu (ORCPT ); Wed, 9 May 2012 11:33:50 -0400 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX18SrmIi614Svu01vPNfC0gd2B3FKYc2VflPnm9IAF OpNEE9aIv+ngiv Message-ID: <1336577622.16079.39.camel@marge.simpson.net> Subject: Re: [PATCH 07/41] cpuset: Set up interface for nohz flag From: Mike Galbraith To: Christoph Lameter Cc: Peter Zijlstra , Frederic Weisbecker , LKML , linaro-sched-sig@lists.linaro.org, Alessio Igor Bogani , Andrew Morton , Avi Kivity , Chris Metcalf , Daniel Lezcano , Geoff Levand , Gilad Ben Yossef , Hakan Akkan , Ingo Molnar , Kevin Hilman , Max Krasnyansky , "Paul E. McKenney" , Stephen Hemminger , Steven Rostedt , Sven-Thorsten Dietrich , Thomas Gleixner Date: Wed, 09 May 2012 17:33:42 +0200 In-Reply-To: References: <1335830115-14335-1-git-send-email-fweisbec@gmail.com> <1335830115-14335-8-git-send-email-fweisbec@gmail.com> <1336488626.16236.41.camel@twins> <1336490832.8226.5.camel@twins> <1336492081.8226.13.camel@twins> <1336493768.8226.29.camel@twins> <1336506601.7400.21.camel@marge.simpson.net> <1336537289.7365.62.camel@marge.simpson.net> <1336574836.16079.17.camel@marge.simpson.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-05-09 at 10:05 -0500, Christoph Lameter wrote: > I do not get how a cpuset could be used by an application with load > balancing disabled. Seems to defeat the purpose of the cpuset (which IMHO > is to generate a custom load balancing domain after all). You would > have to manually pin the processes to processors of the cpuset anyways. > > If you already have to pin then why would you want a cpuset on top of > that? You don't have to turn load balancing completely off. I have at least one customer with modest isolation requirements, an exclusive set with load balancing enabled is perfect for them. OTOH, for tight constraint RT, I have no choice but to turn everything I can get my hands on off. Any such app manages itself or is busted crud, so all is well, cpusets work nicely. I don't like cgroups much, but I've become rather fond of cpusets. -Mike