Re: 210ms interval between two schedule() calls - is it possible?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Fri Feb 18 2000 - 09:02:35 EST


Hi,

On Thu, 17 Feb 2000 19:17:54 -0800, Jun Sun <jsun@mvista.com> said:

> I did a very simple timing experiement: measure the interval between
> two consequtive calls to schedule() function.

> Under light load situation, the maximum interval is around 10ms which is
> the time slicing interval. However, if I increase the load (actually I
> was running NIST POSIX test suite), the maximum interval could go
> up to 210ms.

> Is this possbile?

That's correct behaviour. If you have a user process running
continually, then the kernel will just let it keep running until it
exhausts its timeslice. The kernel will only reschedule if another
event occurs to wake up a higher priority process.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:21 EST