Re: [PATCH documentation 1/2] nohz1: Add documentation.
From: Peter Zijlstra
Date: Fri Apr 12 2013 - 04:05:22 EST
On Thu, 2013-04-11 at 12:13 -0700, Paul E. McKenney wrote:
> > > +2. Many architectures will place dyntick-idle CPUs into deep sleep
> > > + states, which further degrades from-idle transition latencies.
> >
> > Above you say "to and from the idle loop", now it is from-idle. Simply say:
> >
> > "... which further degrades idle transision latencies" which means both :).
>
> If people speak for this item, I will update it. Arjan suggested removing
> it entirely.
So I haven't yet read the entire document, but:
+2. Many architectures will place dyntick-idle CPUs into deep sleep
+ states, which further degrades from-idle transition latencies.
+
+Therefore, systems with aggressive real-time response constraints
+often run CONFIG_NO_HZ=n kernels in order to avoid degrading from-idle
+transition latencies.
I'm not sure that's the reason.. We can (and do) limit C states to curb
the idle-exit times. The reason we often turn off NOHZ all together is
to further reduce the cost of the idle paths.
All the mucking about with clock states and such is a rather expensive
thing
to do all the time.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/