From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757303Ab2C1BGu (ORCPT ); Tue, 27 Mar 2012 21:06:50 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:22011 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756875Ab2C1BGs (ORCPT ); Tue, 27 Mar 2012 21:06:48 -0400 X-Authority-Analysis: v=2.0 cv=Z8Fu7QtA c=1 sm=0 a=ZycB6UtQUfgMyuk2+PxD7w==:17 a=XQbtiDEiEegA:10 a=3MQ0ZmHyo4IA:10 a=5SG0PmZfjMsA:10 a=Q9fys5e9bTEA:10 a=m5QS2-xjcQZQdwMVbLIA:9 a=PUjeQqilurYA:10 a=ZycB6UtQUfgMyuk2+PxD7w==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.67.80.29 Message-ID: <1332896805.23924.148.camel@gandalf.stny.rr.com> Subject: Re: [PATCH 11/32] nohz/cpuset: Don't turn off the tick if rcu needs it From: Steven Rostedt To: Christoph Lameter Cc: 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 , Ingo Molnar , Max Krasnyansky , "Paul E. McKenney" , Peter Zijlstra , Stephen Hemminger , Sven-Thorsten Dietrich , Thomas Gleixner , Zen Lin Date: Tue, 27 Mar 2012 21:06:45 -0400 In-Reply-To: References: <1332338318-5958-1-git-send-email-fweisbec@gmail.com> <1332338318-5958-13-git-send-email-fweisbec@gmail.com> <20120327121341.GE13196@somewhere> <1332865469.23924.129.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-03-27 at 19:42 -0500, Christoph Lameter wrote: > On Tue, 27 Mar 2012, Steven Rostedt wrote: > > > On Tue, 2012-03-27 at 11:13 -0500, Christoph Lameter wrote: > > > > > Please do not use "realtime" since I am not sure what you mean by that. > > > Its for a low latency applications that cannot use "realtime" because that > > > implies high latencies. > > > > This statement totally confuses me, as the whole point of the -rt > > (realtime) patch, is for lower latencies. Where do you get "realtime" > > implies high latencies from? > > Obviously compiling a kernel with preemptiong introduces additional > overhead to guarantee more deterministic behavior. Additional overhead > increases latencies generated by the OS in general. Compile a kernel > without preemption and it will run faster and thus have lower latencies. I call that "lower overhead". > > Realtime avoids high latency spikes but in general increases average OS > latencies. Now to me the definition of a latency is the difference in time something was suppose to happen and the time it actually does. A reaction time. I see you are calling the time spent in the kernel a latency. The time added to complete a task is called "overhead". Yes, realtime adds overhead to keep reaction time latency to a minimum. According to wikipedia, the first thing it says about latency is: "Latency is a measure of time delay experienced in a system, the precise definition of which depends on the system and the time being measured. Latencies may have different meaning in different contexts." That last sentence is key. So lets avoid the term "latency" as it obviously has a different meaning to the both of us. Instead, lets use "determinism" (what we call latency in the realtime world) and "overhead" (what you seem to see as latency caused by the kernel). -- Steve