Re: synthetic parallel processing

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Jul 25 2000 - 15:52:28 EST


On Tue, 25 Jul 2000, Aaron Macks wrote:

> Is there a way to fool the kernel into replicating SMP on a single processor
> machine, ie having the scheduler keep two queues and alternate them?
> Aaron
>

You could have two (or more) schedulers. However, this would not replicate
nor even emulate two CPUs. A single CPU can only do one thing at any
instant. Two or more CPUs can do as many things as there are CPUs. Some
shared resources have to be single-threaded with SMP, but otherwise
a lot of activity can be done in parallel.

Cheers,
Dick Johnson

Penguin : Linux version 2.2.15 on an i686 machine (797.90 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:20 EST