One Priority Per Run Queue

Eric van Gyzen vangyzen at FreeBSD.org
Sat Apr 1 01:05:45 UTC 2017


On 03/29/2017 16:18, Warner Losh wrote:
> How does this scheme prevent starvation of low priority processes? Or
> rather, how will this change after this change.

I don't know.  How does the current scheme do this?

I had thought the rationale for assigning four priorities to each run queue was
that it was "good enough" and the smaller number of run queues reduced the
overhead of the scheduler.  Is there a more interesting reason that I'm missing?
 (This wouldn't be the first time.)

Cheers,

Eric


More information about the freebsd-hackers mailing list