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

Re: Running a program on two processors



On Sun, 19 Aug 2001, b g wrote:

> How can I run a program (written in C++) on two processors. I use
> RH7.1 on 2 Pentium III chips.

Hi b g (we prefer real names here)

one way is using a threading technique that supports kernel lightweight
processes (appearing with seperate PID in ps) and let the kernel handle
it, another is chop up the task to several forked processes and let each
run on a seperate CPU by itself. yet another is to buy an unused 2 or 4
CPU Ultraparc machine from Internet Ganav who doesn't use them anymore,
Solaris supports threading across CPUs really nice.



-- 
Formated to fit your screen
Ira Abramov


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il