comp.lang.ada
 help / color / mirror / Atom feed
From: Charmed Snark <snark@cogeco.ca>
Subject: Re: Multicore problem
Date: Wed, 10 Mar 2010 18:00:26 +0000 (UTC)
Date: 2010-03-10T18:00:26+00:00	[thread overview]
Message-ID: <Xns9D3784528FB9ASnarkCharmedImSure@188.40.43.213> (raw)
In-Reply-To: 095dc775-e214-4ccd-bf26-45ab27b3b277@s36g2000prh.googlegroups.com

Anatoly Chernyshev expounded in news:095dc775-e214-4ccd-bf26-45ab27b3b277
@s36g2000prh.googlegroups.com:

> Thanks a lot to all responded. What is clear now is that the problem
> is rather complicated. I guess, I'd better be off with distributing
> the calculation over several PCs, with one task on each.

I was wondering about these issues in connection with
pthreads. I have a basic interpreter project
(https://sourceforge.net/projects/bdbbasic) where I
was considering implementing matrix operations in 
multiple threads. 

The net wisdom suggested that the thread startup 
cost was around 100usec as a general rule. However,
that appears to be only the beginning of important
considerations. ;-)

From the related post here, it seems that the matrix 
might need to be huge to be of benefit. But even then,
as the cores and cache interact, this might not improve
performance.

Interesting stuff indeed. Then when you add this to
multiple platforms, a project designer really gets
his hands dirty..

Warren



  reply	other threads:[~2010-03-10 18:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-09 17:48 Multicore problem Anatoly Chernyshev
2010-03-09 18:10 ` Niklas Holsti
2010-03-09 18:48   ` Anatoly Chernyshev
2010-03-09 22:37     ` KarlNyberg
2010-03-10  0:08     ` jonathan
2010-03-10  7:19       ` Anatoly Chernyshev
2010-03-10 18:00         ` Charmed Snark [this message]
2010-03-10 19:24         ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox