Re: [PATCH documentation 1/2] nohz1: Add documentation.

From: Christoph Lameter
Date: Mon Apr 15 2013 - 12:06:08 EST


On Fri, 12 Apr 2013, Arjan van de Ven wrote:

> but arguably, that's because of HRTIMERS more than NOHZ
> (e.g. I bet we still turn off periodic even for nohz as long as hrtimers are
> enabled)

If we are able to only get rid of one timer tick on average with dynticks
then I would think that is enough to justify having it on by default.

If the scheduling period from the schduler is around 20ms then one may be
able to save processing 20 timer ticks by going to htimers.

The main issue with hrtimers is likely going to be that is it is too much
effort for small timerframes less than 10ms. Could we only switch off the
timer tick if the next event is more than 10 ticks aways?

--
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/