[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use SMP right?



Hi, 

first of all, thnx. :)

On Thu, Jul 12, 2007 at 03:43:20PM +0000, Christopher Browne wrote:
> If you have a single process, spreading it across multiple CPUs
> requires that the application be designed to use threading.  Many
> applications do not do so.  Fortunately, the OS kernel will fairly
> happily allocate processes across the CPUs, so that if you are running
> multiple processes, you can certainly expect to harness both cores.

Ok, the schedular is not only managing multiple prozesses on one CPU
but, if enables, over serveral CPU.

> If you do a lot of compiling, you can take advantage of the GNU Make
> "-j" option to spawn multiple concurrent processes; those will
> certainly be expected to harness multiple CPUs.

:) Ok, I was not sure that is working with only enabling SMP in the
kernel.

Thnx. 

Regards.

Jan

Attachment: signature.asc
Description: Digital signature


Reply to: