PERFORCE change 63836 for review
John Baldwin
jhb at FreeBSD.org
Wed Oct 27 13:35:06 PDT 2004
On Wednesday 27 October 2004 03:53 pm, Julian Elischer wrote:
> John Baldwin wrote:
> > on needresched? If so, it goes into sched_userret().
> >+- Need lots of thought on realtime and idle time priorities and handling
> >+ tsleep() priority "boosts" for such processes. Might need to make
> >+ the priority boost be something passsed to sched_sleep() rather than
> >+ a sched_prio() call.
>
> I'd like to see the boost kept separate and added during the calcualtions
> that way various algorythms could be used on the boost..
> for example I'd like to see the boost exponentially reduced each
> clocktick encounterred in userspace
> or maybe the boost could include a suggested lifetime..
> e.g. "boost by 10% for 20mSec"
This would let the scheduler do that. Right now we just change the priority
via sched_prio(). This change would instead tell the scheduler at
sched_sleep() what the boost is and it is free to store it and use it however
it wants.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the p4-projects
mailing list