comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Ada 2012 automatic concurrency?
Date: Thu, 27 Dec 2012 07:27:57 -0700
Date: 2012-12-27T07:27:57-07:00	[thread overview]
Message-ID: <kbhltd$mqu$1@dont-email.me> (raw)
In-Reply-To: <cdf1f6a2-8773-4aa4-95a6-29fb810167d1@googlegroups.com>

On 12/26/2012 10:57 PM, charleshixsn@earthlink.net wrote:
>
> IIUC, there shouldn't be more than about twice as many tasks as cores.  Is this about right?

Hardly. 2x#processors generally gives you the best speedup compared to a single 
task when parallelizing algorithms such as matrix multiplication or quick sort, 
but in general you should have a task per active entity in your problem domain.

-- 
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
07



  parent reply	other threads:[~2012-12-27 14:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-25 17:26 Ada 2012 automatic concurrency? charleshixsn
2012-12-26 22:02 ` John B. Matthews
2012-12-26 22:55 ` Niklas Holsti
2012-12-27  5:57   ` charleshixsn
2012-12-27  8:59     ` Dirk Heinrichs
2012-12-27 11:22       ` Brian Drummond
2012-12-27 22:13       ` Randy Brukardt
2012-12-27 14:27     ` Jeffrey Carter [this message]
2012-12-27 20:13       ` tmoran
2012-12-27 19:06     ` Niklas Holsti
replies disabled

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