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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8060bed478dfa9cd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.78.36 with SMTP id y4mr9938676wiw.1.1356837414667; Sat, 29 Dec 2012 19:16:54 -0800 (PST) Path: i11ni337243wiw.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!news.astraweb.com!border6.a.newsrouter.astraweb.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Ada 2012 automatic concurrency? Date: Thu, 27 Dec 2012 07:27:57 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: Mime-Version: 1.0 Injection-Date: Thu, 27 Dec 2012 14:27:57 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="3f4eb2af76c3de211f80e174daf29eb8"; logging-data="23390"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cWYXKdtfleZlzsAtf85HTVPqvcMCqHjo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:+1bkxBQDRmGX6AHHOjbUoYMcwhQ= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-12-27T07:27:57-07:00 List-Id: 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