Re: scheduler starvation running irman with 2.5.64bk2
Mike Galbraith (efault@gmx.de)
Tue, 11 Mar 2003 03:37:57 +0100
At 07:09 PM 3/10/2003 -0500, rwhron@earthlink.net wrote:
> > OK, can you do the following to determine whether we're both seeing the
> > _same_ problem?
>
> > 1.) build the attached rtnice utility (don't remember who wrote/posted
> this)
> > 2.) login on vt1 and set the shell SCHED_RR via rtnice -n 1 -p <pid_of_sh>
> > -d RR
> > 3.) login on vt2 and renice that shell to -10
> > 4.) login on another vt as a normal user, and start irman
> > 5.) try login/out on another vt, or ps or _whatever_ (doesn't matter)
> > until box is starving
> > 6.) on vt2, try to do ps (it should hang despite -10 priority)
> > 7.) on vt1, try to do ps (it should work just fine)
>
>Here is the test as I understand it, splitted by tty. Quick summary,
>only new process seems starved. RR and nice -10 process behave okay.
>
>BTW, this is now with 2.5.64bk5.
The only difference I see is that reniced task wasn't starved with this
kernel... wonder what the difference is. Thanks for running the test.
-Mike
-
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/