Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751866AbbEKPgL (ORCPT ); Mon, 11 May 2015 11:36:11 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35536 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbbEKPgH (ORCPT ); Mon, 11 May 2015 11:36:07 -0400 Date: Mon, 11 May 2015 17:36:04 +0200 From: Frederic Weisbecker To: Steven Rostedt Cc: Ingo Molnar , Andrew Morton , Chris Metcalf , Gilad Ben Yossef , Ingo Molnar , Peter Zijlstra , Rik van Riel , Tejun Heo , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , "Srivatsa S. Bhat" , linux-doc@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] support "dataplane" mode for nohz_full Message-ID: <20150511153602.GA32512@lerouge> References: <1431107927-13998-1-git-send-email-cmetcalf@ezchip.com> <20150508141824.797eb0d89d514e39fd30fffe@linux-foundation.org> <20150508172210.559830a9@gandalf.local.home> <554D428E.6020702@ezchip.com> <20150508161909.308d60e21f6b83b897174276@linux-foundation.org> <20150509070538.GA9413@gmail.com> <20150511085759.71deeb64@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150511085759.71deeb64@gandalf.local.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2199 Lines: 47 On Mon, May 11, 2015 at 08:57:59AM -0400, Steven Rostedt wrote: > > NO_HZ_LEAVE_ME_THE_FSCK_ALONE! > > > On Sat, 9 May 2015 09:05:38 +0200 > Ingo Molnar wrote: > > > So I think we should either rename NO_HZ_FULL to NO_HZ_PURE, or keep > > it at NO_HZ_FULL: because the intention of NO_HZ_FULL was always to be > > such a 'zero overhead' mode of operation, where if user-space runs, it > > won't get interrupted in any way. > > > All kidding aside, I think this is the real answer. We don't need a new > NO_HZ, we need to make NO_HZ_FULL work. Right now it doesn't do exactly > what it was created to do. That should be fixed. > > Please lets get NO_HZ_FULL up to par. That should be the main focus. Now if we can achieve to make NO_HZ_FULL behave in a specific way that fits everyone's usecase, I'll be happy. But some people may expect hard isolation requirement (Real Time, deterministic latency) and others softer isolation (HPC, only interested in performance, can live with one rare random tick, so no need to loop before returning to userspace until we have the no-noise guarantee). I expect some Real Time users may want this kind of dataplane mode where a syscall or whatever sleeps until the system is ready to provide the guarantee that no disturbance is going to happen for a given time. I'm not sure HPC users are interested in that. In fact it goes along the fact that NO_HZ_FULL was really only supposed to be about the tick and now people are introducing more and more kernel default presetting that assume NO_HZ_FULL implies ISOLATION which is about all kind of noise (tick, tasks, irqs, ...). Which is true but what kind of ISOLATION? Probably NO_HZ_FULL should really only be about stopping the tick then some sort of CONFIG_ISOLATION would drive the kind of isolation we are interested in and hereby the behaviour of NO_HZ_FULL, workqueues, timers, tasks affinity, irqs affinity, dataplane mode, ... -- 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/