Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Fri, 18 Feb 2000 14:02:35 +0000 (GMT) | Subject | Re: 210ms interval between two schedule() calls - is it possible? |
| |
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/
| |