comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: basic question on Ada tasks and running on different cores
Date: Tue, 15 May 2012 15:54:05 -0700 (PDT)
Date: 2012-05-15T15:54:05-07:00	[thread overview]
Message-ID: <24097020.519.1337122445176.JavaMail.geo-discussion-forums@ynbq3> (raw)
In-Reply-To: <josukb$q76$1@munin.nbi.dk>

On Tuesday, May 15, 2012 1:55:01 AM UTC-5, Randy Brukardt wrote:
>
> clearly, there are 
> many applications where the performance isn't that critical or even where 
> the added cost might actually provide some speed-up.

Indeed, though this is really just the recapitulation of the themes "work smarter, not harder". If we might draw a parallel, this is to parallelism what basic-techniques were to data-structures (ie the very early days of CS).

Someday somebody realized, "if I sort things in this list, then finding them will be faster" and so we got all sorts of sort-algorithms and studies on the properties thereof and the like.

And that's where we're at WRT parallelism; we've got people looking into everything from instruction-level to task/program-level and trying to figure out the best way to do things. (But here the problem's more difficult; because, in addition to the amount of parallelization, the different granularities interact with the evaluation-metrics, and we're only just beginning to see to what extent.)

But, in the end, I think you're right: intuitively the fine-grained should have a disadvantage because there will likely be more overhead cost due to the synchronization/data-payload ratio. {We may be wrong though, sometimes intuition leads astray; and even slight improvements in such fields may lead to better compilers and/or OSes.}



  reply	other threads:[~2012-05-15 23:10 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06  7:38 basic question on Ada tasks and running on different cores Nasser M. Abbasi
2012-05-06  7:59 ` Gautier write-only
2012-05-06 10:02 ` Simon Wright
2012-05-06 10:31   ` Ludovic Brenta
2012-05-06 14:14     ` Robert A Duff
2012-05-06 16:07       ` Vinzent Hoefler
2012-05-06 19:43       ` Ludovic Brenta
     [not found]         ` <15qdq7df9cji7htp52i9d5f8sqsgmisc3b@invalid.netcom.com>
2012-05-06 21:24           ` Ludovic Brenta
2012-05-06 14:13 ` Robert A Duff
2012-05-07  7:36 ` anon
2012-05-08  7:08   ` Maciej Sobczak
2012-05-08  9:02     ` anon
2012-05-08  9:52       ` Ludovic Brenta
2012-05-09 12:28         ` anon
2012-05-10  2:20           ` Randy Brukardt
2012-05-11  2:38             ` NatarovVI
2012-05-11  8:30               ` Georg Bauhaus
2012-05-16 15:40                 ` NatarovVI
2012-05-16 18:03                   ` Georg Bauhaus
2012-05-12  0:33               ` Randy Brukardt
2012-05-12 10:57                 ` Stephen Leake
2012-05-15  6:55                   ` Randy Brukardt
2012-05-15 22:54                     ` Shark8 [this message]
2012-05-16 15:54                 ` NatarovVI
2012-05-17  0:11                   ` Randy Brukardt
2012-05-17  1:06                     ` Jeffrey Carter
2012-05-17  6:50                       ` Dmitry A. Kazakov
2012-05-18  4:12                       ` Randy Brukardt
replies disabled

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