Re: How to run a program on multiple CPUs
- From: Jerry McBride <jmcbride@xxxxxxxxxx>
- Date: Sat, 05 Jan 2008 15:06:13 -0500
Racqueteer wrote:
On Fri, 04 Jan 2008 10:37:36 +0100, Jurgen Haan wrote:
Racqueteer wrote:
Let's try this from a different perspective... Is Linux able to assign
a program to one or the other processor? Application A assigned to
core 1 whereas application B is assigned to core 2? This can be done
in "the other os" (no disrespect to vestigial os/2 users intended).
Well... The SMP kernel itself wil schedule a program to the CPU with the
lowest load. That's probably behaviour that you want.
Can you manually dictate where the program will "go" for execution, or is
this decision purely done behind the scenes? I suppose that really
doesn't matter so long as the default behavior tends to equalize the load
(s).
It's built into the scheduler. You have no control.
--
Jerry McBride (jmcbride@xxxxxxxxxx)
.
- Follow-Ups:
- Re: How to run a program on multiple CPUs
- From: e-teori
- Re: How to run a program on multiple CPUs
- References:
- Re: How to run a program on multiple CPUs
- From: Racqueteer
- Re: How to run a program on multiple CPUs
- From: Jurgen Haan
- Re: How to run a program on multiple CPUs
- From: Racqueteer
- Re: How to run a program on multiple CPUs
- Prev by Date: Re: How to run a program on multiple CPUs
- Next by Date: Re: How to run a program on multiple CPUs
- Previous by thread: Re: How to run a program on multiple CPUs
- Next by thread: Re: How to run a program on multiple CPUs
- Index(es):
Relevant Pages
|