From: Brad Moore <bmoore.ada@gmail.com>
Subject: Re: Large number of tasks slows down my program (using debian) - any fix?
Date: Sat, 7 Apr 2018 09:57:34 -0700 (PDT)
Date: 2018-04-07T09:57:34-07:00 [thread overview]
Message-ID: <e3782ffa-9dec-4750-a606-d86a36605567@googlegroups.com> (raw)
In-Reply-To: <lyh8onmclc.fsf@pushface.org>
On Saturday, April 7, 2018 at 6:21:22 AM UTC-6, Simon Wright wrote:
> Brad Moore <bmoore.ada@gmail.com> writes:
>
> > Another data point is the entry I submitted to the Computer Language
> > Benchmark Games site for the Thread-Ring benchmark.
>
> It doesn't do so well on a Macbook Pro (2.9 GHz Intel Core i5)! it used
> about 147% cpu (i.e. the 2 physical cores) and took 8 minutes.
>
> Much the same results with -gnatp -O2 as with the switches reported on
> the website, not that I know whether they'd be appropriate for this
> machine. (I see that the source code comments say "Note that this
> version is compiled with full Ada checks enabled, and optimization
> turned off", which isn't the case as reported).
>
> This was with GCC 8.0.1 20180309, which required
> Create_Lightweight_Thread's body to be seen before use.
At one point, I believe the optimisation comment was true, but at some later point I must have sent in an update which changed the compile options, but missed updating the comment. I should send in a new version with a fix to the elaboration problem, since presumably at some point they will move to a newer compiler version that has this check.
Thanks,
Brad
prev parent reply other threads:[~2018-04-07 16:57 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-28 18:06 Large number of tasks slows down my program (using debian) - any fix? reinert
2018-03-28 18:49 ` Dennis Lee Bieber
2018-03-28 19:06 ` Paul Rubin
2018-03-28 19:21 ` Dmitry A. Kazakov
2018-03-28 20:17 ` reinert
2018-03-29 8:46 ` reinert
2018-03-29 9:18 ` Dmitry A. Kazakov
2018-03-29 15:39 ` Jeffrey R. Carter
2018-04-15 5:20 ` reinert
2018-03-29 22:33 ` Shark8
2018-03-30 9:04 ` Dmitry A. Kazakov
2018-03-30 20:46 ` Paul Rubin
2018-03-31 0:09 ` Randy Brukardt
2018-03-31 6:00 ` Paul Rubin
2018-03-31 9:37 ` Jacob Sparre Andersen
2018-03-31 10:44 ` Dmitry A. Kazakov
2018-04-02 3:35 ` Randy Brukardt
2018-04-02 6:23 ` alby.gamper
2018-04-02 7:12 ` alby.gamper
2018-04-05 14:07 ` Brad Moore
2018-04-05 15:09 ` Dmitry A. Kazakov
2018-04-07 4:16 ` Brad Moore
2018-04-05 15:30 ` Jeffrey R. Carter
2018-04-05 19:33 ` Spiros Bousbouras
2018-04-05 19:44 ` Simon Wright
2018-04-05 20:25 ` Jeffrey R. Carter
2018-04-06 5:58 ` Benchmarks Game: Thread ring (Was: Large number of tasks slows down my program (using debian) - any fix?) Jacob Sparre Andersen
2018-04-07 4:28 ` Brad Moore
2018-04-06 15:48 ` Large number of tasks slows down my program (using debian) - any fix? Jeffrey R. Carter
2018-04-07 4:39 ` Brad Moore
2018-04-07 8:15 ` Jeffrey R. Carter
2018-04-07 16:28 ` Brad Moore
2018-04-07 18:41 ` Jeffrey R. Carter
2018-04-08 0:29 ` Brad Moore
2018-04-08 8:25 ` Jeffrey R. Carter
2018-04-08 0:06 ` Robert I. Eachus
2018-04-07 16:51 ` Brad Moore
2018-04-07 12:21 ` Simon Wright
2018-04-07 16:57 ` Brad Moore [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox