comp.lang.ada
 help / color / mirror / Atom feed
From: "ldries46" <bertus.dries@planet.nl>
Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu?
Date: Sun, 12 May 2013 09:17:25 +0200
Date: 2013-05-12T09:17:25+02:00	[thread overview]
Message-ID: <518f4114$0$14836$703f8584@news.kpn.nl> (raw)
In-Reply-To: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com>

I just have created my own program in which I originally did all ca;vulation 
on one CPU. Now I created a part of the calculation in tasks running 
paralel. On my four core systemI achieved a speed that exceded the original 
speed by a factor of more than 3.  This meant three cores were running the 
intensive calculation part in the tasks and one the administration around 
the proces. (all with GNAT ADA on windows 7). The same exe file ran even 
faster on a 4 core with hyperthreading machine of which the clock speed was 
lower than that of the first test. I did nothing extraordinary to achieve 
this.

L. Dries

"johannes falcone"  schreef in bericht 
news:19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com...

How would an ada program use 16 core box?

Are the tasks green threads? meaning 1 cpu microthreads? or are they somehow 
green threads than can run on 16 cpus at same time?  or are they like os 
threads and heavy?

I think they are the best combo green threads than can use N cpus by being 
farmed out to all avaialble cpu as wrokers cpus .... but not sure.. 




  parent reply	other threads:[~2013-05-12  7:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 20:16 do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? johannes falcone
2013-05-07 20:29 ` Jeffrey Carter
2013-05-07 20:45   ` Ludovic Brenta
2013-05-07 23:10     ` johannes falcone
2013-05-08 13:13 ` john
2013-05-08 13:15   ` john
2013-05-12  7:17 ` ldries46 [this message]
2013-05-12 16:35   ` Dennis Lee Bieber
2013-05-21 19:41     ` Michael Erdmann
2013-05-22 12:14       ` Marc C
replies disabled

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