re: RasterMan on linux and threads
Richard Gooch (rgooch@ras.ucalgary.ca)
Fri, 17 Dec 1999 15:13:08 -0700
raster@rasterman.com writes:
> On 17 Dec, Dan Kegel scribbled:
> -> re http://kernelnotes.org/lnxlists/linux-kernel/lk_9912_03/msg00480.html
> ->
> -> Rasterman is wrong in saying that all threads run on the same
>
> hmm - when did that change ? i thought that was the case and was
> baked up on hat asumtion by someone else a few weeks ago (primarily
> the reason being to make sure the threads share caches for speed
> reasons and to make sure cache concurrency issues are moe easiyl
> dealt with... well thats what i unerstood... i may be wrong (2.2 or
> 2.3 may have changed that)
It hasn't changed. Linux always scheduled tasks on available CPUs
(sans cache affinity heuristics).
IIRC, 1.3.38 was the first kernel with stable SMP support that I
played with, and it definately scheduled threads on separate CPUs
(otherwise my threaded compute applications wouldn't have sped up by a
factor of 2).
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
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/