[haiku-development] Re: Scheduler algorithm improvements

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 07 Nov 2009 08:17:35 +0100

On 2009-11-06 at 21:20:38 [+0100], Mikhail Panasyuk <otoko@xxxxxxxxx> wrote:
> 06.11.09, 17:33, "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>:
> > Mikhail Panasyuk  wrote:
> > > Skip gap setting is individual for each category - real-time and
> > > time-sharing.
> > That doesn't make any sense for real time threads; the point of real
> > time threads is that they get CPU time when they need it.
> 
> In current Haiku implementation 119 priority thread will wait until 120 
> finished with it's task. May wait too long.

The point of real-time threads is that they have only little work to do (less 
than a full quantum), but need very short latencies. If the 120 priority 
thread takes a long time, it violates that rule. It's not the scheduler task 
to work around programming errors.

CU, Ingo

Other related posts: