Interesting analysis of linux kernel threading by IBM

Horst von Brand vonbrand en sleipnir.valparaiso.cl
Dom Ene 23 23:44:26 CST 2000


Larry McVoy <lm en bitmover.com> said:

[...]

> In both cases, it's very rare that having more threads than CPUs ever
> helps you.  As Alan said, threads are for people who can't program
> state machines.  He's dead on correct and if you think about it, threads
> have inherently more cache footprint than a state driven model (this
> actually isn't true in theory in all cases but man, oh, man is it ever
> true in practice.  I don't know what it is but people who use threads
> have this builtin assumption that memory bandwidth is infinite and cache
> size is infinite, etc.)

Because the von Neumann computer model still widely taught in school has no
cache, since the CPU is assumed much slower than memory? ;-)
-- 
Horst von Brand                             vonbrand en sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda