lkml.org 
[lkml]   [2003]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: O(1) scheduler seems to lock up on sched_FIFO and sched_RR tasks
On Wed, Jun 18, 2003 at 09:47:24AM -0700, george anzinger wrote:
> It seems that once a SCHED_FIFO or SCHED_RR tasks gets control it does
> not yield to other tasks of higher priority.
>
> Attached is a test program (busyloop) that just loops doing
> gettimeofday() for the requested time and a little utility (rt) to run
> programs at real time priorities.
>
> Here is an annoted example of the problem:
>
> First, become root then:
> > rt 90 bash <-- run bash at priority 90 SCHED_RR
> > rt -f 30 busyloop 10 & <-- busyloop 10 at priority 30 SCHED_FIFO
>
> At this point the bash at priority 90 should be available, but is not.
> When the 10 second busyloop completes, bash returns.


Hi George,
When I boost the priority of each of the per-cpu 'events/%d' daemon to
96, the problem goes away.

Joe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.034 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site