From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Erdmann Newsgroups: comp.lang.ada Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? Date: Tue, 21 May 2013 21:41:20 +0200 Message-ID: References: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com> <518f4114$0$14836$703f8584@news.kpn.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de mtkxrDwkENI2hyOcH3EC7gO2z3q4kFKBq+HtfFHsNFT2GF User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: X-Original-Bytes: 2161 Xref: number.nntp.dca.giganews.com comp.lang.ada:181720 Date: 2013-05-21T21:41:20+02:00 List-Id: On 05/12/2013 06:35 PM, Dennis Lee Bieber wrote: > On Sun, 12 May 2013 09:17:25 +0200, "ldries46" > declaimed the following in comp.lang.ada: > >> 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. >> > > I suspect you had a number cruncher application in which the intense > code and most data all fit within each core's high-speed cache. > Try to bind your tasks to the CPU's and look at top (option 1). Then you can observe what your cpu's are doing. May be you should have a look at parafine :-)