Re: [PATCH 3/4] sched: introduce synchronized idle injection

Jacob Pan
2015-11-18T18:50:00Z

On Wed, 18 Nov 2015 16:21:27 +0100 (CET)
Thomas Gleixner <tglx@linutronix.de> wrote:

> >
> > > Okay. But it does mean that the defeault idle period is 5 ticks
> > > (50ms @ HZ=100) and not 5 ms
> > correct. my reason is to scale with various HZ values.
>
> So for smaller HZ values we get longer disruption. That's well thought
> out scaling.
well it might be too long for embedded systems who uses 100HZ. Is there
a better way to scale in sub tick level?

My original thought was for smaller HZ value, I assume they care less
about latency, so the idle injection period is proportional to what
they set for HZ.