Re: RasterMan on linux and threads

Rik van Riel (riel@nl.linux.org)
Fri, 17 Dec 1999 23:38:02 +0100 (CET)


On Wed, 15 Dec 1999 raster@rasterman.com wrote:

> -> He would do well to remember the words of Dan Bernstein: "Don't
> -> speculate- benchmark".
>
> how about "examine the thery first before spending time on impirical
> code that wont do anything useful".

What about just reading the relevant 50 lines of kernel
code and draw conclusions _after_ that? :)

Linux _does_ schedule threads exactly the same as
it schedules normal processes. Threads get scheduled
on all CPUs, except when the amount of work done
(avrage slice) is less than the time it takes to flush
the whole CPU cache.

kernel/sched.c is the place to look...
[roadmaps available on request]

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

- 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/