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.5 required=5.0 tests=BAYES_00,STOX_REPLY_TYPE autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,102195a2391a7684 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.154.162 with SMTP id vp2mr1499561pab.13.1368583929497; Tue, 14 May 2013 19:12:09 -0700 (PDT) Path: bp1ni2341pbd.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!citadel.nobulus.com!goblin1!goblin2!goblin.stu.neva.ru!news.internetdienste.de!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!feed.xsnews.nl!border-2.ams.xsnews.nl!post-feeder-02.xsnews.nl!frontend-F10-13.ams.news.kpn.nl From: "ldries46" Newsgroups: comp.lang.ada References: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com> In-Reply-To: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com> Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? Date: Sun, 12 May 2013 09:17:25 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 Message-ID: <518f4114$0$14836$703f8584@news.kpn.nl> Organization: KPN.com NNTP-Posting-Host: 77.168.179.107 X-Trace: 1368342804 news.kpn.nl 14836 77.168.179.107@kpn/77.168.179.107:50746 X-Received-Bytes: 2434 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Date: 2013-05-12T09:17:25+02:00 List-Id: 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..