Re: Separating processes per CPU in a SMP system

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Fri, 19 Feb 1999 13:21:42 +0100 (CET)


On Fri, 19 Feb 1999, Alexandre Hautequest wrote:

> Is there some manner to i separate proccesses between processors? Like, if
> i have a machine with 4 processors, for example, and i want that httpd uses
> just processor 0, and sendmail just processor 1, and orasrv uses processors
> 2 and 3, and maybe they can be changed, with an entry at cron's or somewhat
> like this.

the kernel dynamically decides which CPU should run what process. The
kernel has much better knowledge about caching issues, working set,
scheduling frequency, interrupt traffic, etc. Other than hard-RT purposes,
i doubt it could be desirable to explicitly bind processes to CPUs.

-- mingo

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