lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CPU POSIX timers livelock
On 05/02, Bj?rn Steinbrink wrote:
>
> Hm, I have some message in that thread from April they don't seem to be
> on lkml.org nor in the bugzilla though. Oh well, I can send you an mbox
> of that thread in a private mail, just let me know if you want that.

Me too please ;)

Please note there is a related problem if we have a single thread but
a lot of timers attached to this thread. If the signal is ignored, each
timer should be re-armed, this all can consume >= 1/HZ CPU time.
We have "maxfire = 20" in check_thread_timers/check_process_timers to
prevent this, but it is just a workaround. And it is a bit silly to just
waste the CPU if the signal is ignored, arm_timer() is heavy and doesn't
scale well.

However, I have already forgot this code, perhaps I missed something,
and at least maxfire does help.

Oleg.



\
 
 \ /
  Last update: 2008-05-02 19:31    [W:0.082 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site