[lkml]   [2000]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectneeded scheduler improvements (was: Re: SCO: "thread creation is about a thousand times faster than on native Linux")
On Wed, 23 Aug 2000 wrote:

> BTW look into our scheduler, which scans all the list of idle
> processes each time slice, when only one process is running
> really and the rest are deathly dead. 8)

We really should fix this, indeed.

There's also another thing which I'd like our scheduler
to do right. Suppose we have 2 processes running in the
background, calculating stuff (they'll both become low
priority, which is good).

Now one of the processes is halfway it's timeslice and
gets interrupted by something. After that short interruption
Linux continues with the _other_ cpu intensive thread,
blowing the cache and making the system slower than it should

A third issue would be NUMA (and maybe some SMP) scalability.
We may want to have 'local' (per node, or per cpu) run queues
with a less opportunistic thread migration between cpus.

With memory becoming a worse and worse bottleneck, I guess we
should be a bit more careful about using the cache as best as
possible than we are now...


"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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