lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.037 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site