This is the mail archive of the
mailing list for the libstdc++ project.
Re: parallel computing
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 23 Dec 2002 12:57:12 -0800
- Subject: Re: parallel computing
- References: <3E070D0E.email@example.com>
On Mon, Dec 23, 2002 at 02:18:06PM +0100, fabio wrote:
> does anyone has an idea to make a PC equipped with two CPUs work at
> maximum? i need the maximum speed to solve numerical algorithms, i'd
> like to use a kind of parallel computing.
> (multithread? openMosix?, do i need some kind of library?)
The best way is to run two independent programs.
The other, complicated techniques are only appropriate if you really
need an answer in half the time, instead of two answers after the
normal time. When you have 100 processors, it's nice to get an
answer after a day instead of three months later. With just two
processors, it's very hard to justify the complexity unless you're
just practicing for when you have access to a cluster.