comp.lang.ada
 help / color / mirror / Atom feed
From: jonathan <johnscpg@googlemail.com>
Subject: Re: GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna)
Date: Tue, 11 Aug 2009 13:02:30 -0700 (PDT)
Date: 2009-08-11T13:02:30-07:00	[thread overview]
Message-ID: <4564d943-9a6a-4112-9ae2-f379b8654669@18g2000yqa.googlegroups.com> (raw)
In-Reply-To: 4a80ae6e$0$31877$9b4e6d93@newsspool3.arcor-online.net

On Aug 11, 12:34 am, Georg Bauhaus <rm.tsoh.plus-
bug.bauh...@maps.futureapps.de> wrote:

> Does regexdna-multi.ada work on your system?
>
> On a dual core system it seems to be shortening
> the running time by almost a third.
>
Yes, regexdna-multi.ada so far works
on the compiler and machine combinations I've tried.

With

  Stack_Size : constant Positive := 37;

I get 31 second running time on 1-core, 15 second
running time on 4-cores.

The tasking-free version uses 30.5 seconds on 1-core.
This is a 3.2 GHz 4-core machine.

Actually, as I was writing that I remembered its really
an 8-core machine.  SO just for fun I set

  Max_CPUs : constant := 7;

and it ran in 12 seconds.  In fact it ran in 12 seconds
for 5, 6, 7 and 8 CPU's.  Then I couldn't resist.
I set it to 15:

  Max_CPUs : constant := 15;

It ran  in 9 seconds.  I couldn't believe it. I
timed it with my watch also.  The best time was
8.7 seconds. In fact all settings of Max_CPUs
from 9 to 15 ran in  9 seconds. At Max_CPUs = 24
it was 9.7 sec.

Jonathan




  reply	other threads:[~2009-08-11 20:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 22:54 GNAT's stack checking in Ubuntu 9.04 (and Shootout regex-dna) Georg Bauhaus
2009-08-03 22:56 ` Georg Bauhaus
2009-08-04  7:50   ` Ludovic Brenta
2009-08-04  9:17     ` Georg Bauhaus
2009-08-04  9:58       ` Vadim Godunko
2009-08-04 10:44         ` Georg Bauhaus
2009-08-04 12:30           ` Vadim Godunko
2009-08-04 14:15             ` Georg Bauhaus
2009-08-04 22:20         ` Egil
2009-08-04 15:38       ` Robert A Duff
2009-08-04 11:59 ` Brian Drummond
2009-08-04 14:18   ` Georg Bauhaus
2009-08-09 19:13   ` Georg Bauhaus
2009-08-10 13:10     ` jonathan
2009-08-10 20:12     ` jonathan
2009-08-10 20:29       ` Ludovic Brenta
2009-08-10 23:34       ` Georg Bauhaus
2009-08-11 20:02         ` jonathan [this message]
2009-08-11 21:19           ` jonathan
2009-08-11 21:38           ` Georg Bauhaus
2009-08-11  0:27       ` Georg Bauhaus
2009-08-11 19:05         ` jonathan
2009-08-12  9:32           ` Ludovic Brenta
2009-08-12 16:37             ` jonathan
replies disabled

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