Re: Scheduler latency

Richard Gooch (rgooch@atnf.CSIRO.AU)
Thu, 22 Jan 1998 07:57:58 +1100


Mike Jagdis writes:
> On Wed, 21 Jan 1998, Richard Gooch wrote:
>
> > Hi, all. I've noticed that the scheduler in linux 2.1.79 seems a lot
> > slower than the one in 2.0.25. Results of timing sched_yield(2):
>
> 2.0.25 might well be before sched_yield() was fixed to actually
> cause an immediate reschedule. Also yielding a FIFO process only
> has real work to do if there are other non-SCHED_OTHER processes
> to continue...

Yes, that's why I was doing the tests in the first place, as I
expected that SCHED_FIFO would have lower latency. The tests were
intended to verify that (they did), but there was something unexpected
too...

Regards,

Richard....