Messages in this thread | | | Date | Mon, 4 Aug 2003 23:03:37 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] O13int for interactivity |
| |
Con Kolivas <kernel@kolivas.org> wrote: > > > In short: make the same policy for an interruptible and an uninterruptible > > sleep. > > That's the policy that has always existed... > > Interesting that I have only seen the desired effect and haven't noticed any > side effect from this change so far. I'll keep experimenting as much as > possible (as if I wasn't going to) and see what the testers find as well.
We do prefer that TASK_UNINTERRUPTIBLE processes are woken promptly so they can submit more IO and go back to sleep. Remember that we are artificially leaving the disk head idle in the expectation that the task will submit more I/O. It's pretty sad if the CPU scheduler leaves the anticipated task in the doldrums for five milliseconds.
Very early on in AS development I was playing with adding "extra boost" to the anticipated-upon task, but it did appear that the stock scheduler was sufficiently doing the right thing anyway.
- 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/
| |