[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1402161634590.21991@ionos.tec.linutronix.de>
Date: Sun, 16 Feb 2014 16:39:54 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Alexey Perevalov <a.perevalov@...sung.com>
cc: John Stultz <john.stultz@...aro.org>, linux-kernel@...r.kernel.org,
anton@...msg.org, kyungmin.park@...sung.com,
akpm@...ux-foundation.org, cw00.choi@...sung.com
Subject: Re: [PATCH v2 0/3] Deferrable timers support for timerfd API
On Sun, 16 Feb 2014, Alexey Perevalov wrote:
> As I understand main idea in hrtimer.c was do not decrement expires_next in
> case of DEFERRABLE timers type.
> Such small average delay could be explained: it's due higher resolution, and
> cpu is not in idle when we in hrtimer_interrupt,
> with timer_list decrementing process not so often.
> In this case it's hard to me to explain such small "time delta", it occurs
> almost every time we have larger delay.
Well, the point of deferrable timers is that they get executed, when
the cpu is not idle, i.e. running some other timers as well
I did not test my patch and I have no idea whether it really does what
it should do, but tracing should tell you rather fast.
So w/o instrumenting the kernel you can't tell why a timer is
expired. Just looking at random numbers does not help. You need to
create a proper test scenario which makes sure that the system goes
into an extended nohz idle and then check whether the timers are
deferred over that idle time.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists