Re: [PATCH] O12.2int for interactivity

Timothy Miller
2003-08-14T19:43:00Z

Con Kolivas wrote:
> On Thu, 14 Aug 2003 16:09, William Lee Irwin III wrote:
>
>>William Lee Irwin III wrote:
>
>
>>"scale" on which scheduling events should happen, and as tasks become
>>more cpu-bound, they have longer timeslices, so that two cpu-bound
>>tasks of identical priority will RR very slowly and have reduced
>>context switch overhead, but are near infinitely preemptible by more
>>interactive or short-running tasks.
>
>
> Actually the timeslice handed out is purely dependent on the static priority,
> not the priority it is elevated or demoted to by the interactivity estimator.
> However lower priority tasks (cpu bound ones if the estimator has worked
> correctly) will always be preempted by higher priority tasks (interactive
> ones) whenever they wake up.

Ok, so tasks at priority, say, 5 are all run before any tasks at
priority 6, but when a priority 6 task runs, it gets a longer timeslice?

How much longer?