Re: [PATCH 4/4] nohz: New option to force all CPUs in full dynticksrange
From: Christoph Lameter
Date: Mon Apr 15 2013 - 12:18:09 EST
On Mon, 15 Apr 2013, Ingo Molnar wrote:
> > Ok. But all these complicated things would go away if we had an option
> > CONFIG_LOWLATENCY and then everything would just follow the best setup
> > possible given the hardware. Would remove a lot of guesswork and a lot of
> > knobs.
> In that sense CONFIG_NO_HZ_FULL is such a flag as well, which, like
> CONFIG_PREEMPT_RT, tries to preconfigure the kernel correctly.
It is too specific. Switching off HZ is one in a set of measures that one
woiuld take. F.e. the page allocator will want to do reclaim on the
sacrificial processor, the vmstatistics would run their monitoring thread
there etc etc.
> But we have to be careful not to use a too highlevel flag for that. If the user
> meant 'low latency' to mean 'low latency IRQ execution' - then enabling
> CONFIG_NO_HZ_FULL might achieve the opposite, it adds overhead to the IRQ paths.
Hmm.... Looks too specific for my taste. What the user wants is less OS
noise (or maybe some other terms that describes that the user wants
minimal disturbances for his code).
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/