comp.lang.ada
 help / color / mirror / Atom feed
From: Craig Carey <research@ijs.co.nz>
Subject: Re: Memory limits in Ada where Fortran has none
Date: Thu, 17 Mar 2005 06:39:57 +1300
Date: 2005-03-17T06:39:57+13:00	[thread overview]
Message-ID: <n6rg31pq5uqltbug7ci8nav0mat4pisd4k@4ax.com> (raw)
In-Reply-To: inrs21p0me8tu682jjus7ujpc90ejnomsf@4ax.com




On Wed, 09 Mar 2005 16:39:34 +1300, Craig Carey wrote:
>On Tue, 08 Mar 2005 11:24:42 GMT, "Dr. Adrian Wrigley" wrote:
>>On Sun, 06 Mar 2005 19:05:21 -0500, Robert A Duff wrote:
>...
>>I am very wary of a test like this because GNAT sometimes
>>silently accesses the wrong element of very large data, if I
>>remember correctly. A correctly written program can (and did!)
>>thus fail catastrophically.  Large records in particular are
>>suspect (on GNAT 3.15p, x86). (I have no test case to hand
>...
>

There is the Prime95 Torture Test program that is very sensitive at
detecting mistakes in floating point computations:

  Prime95 v238: http://www.mersenne.org/freesoft.htm

The Tortue Test can easily find summing probems that are too small to
cause crashes of the Windows operating system. Prime95 seems to always
fail to complain about correctly running hardware.

A GNAT integer program (sorting arrays), I have, now runs 50% faster
 after I upgraded from a modern Duron 1600 to a Sempron 2400+ running
 at 2090MHz (10x multiplier).

Integer CPU computation speeds only rising by 24% (said a Sisoft Sandra
program http://www.sisoftware.co.uk/). Raising the voltage from 1.6V to
1.775V gave about 6% extra speed to the integer memory bandwidth speed.

Apparently my GNAT Windows program is limited by the Integer memory
bandwidth or the FSB or whatever, since the Intger memory bandwidth
rose by 55% and Integer CPU speeds ultimately by 33-34%.

>It might be a bug in the memory paging code. What's the OS ?.

It seems to be Linux since the e-mail came from:
  slinuxchip.demon.co.uk.uk.uk>

Of course, a compiler that can't add seems improbable.
I thought the silence about Linux bugs might be due some comment, but
perhaps the most likely thing is that the OS is concealing that the
hardware can't add properly.







  reply	other threads:[~2005-03-16 17:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06  0:54 Memory limits in Ada where Fortran has none braver
2005-03-06  1:09 ` Jeff C
2005-03-06  6:18   ` braver
2005-03-06  9:26     ` Martin Krischik
2005-03-06 16:14       ` braver
2005-03-06 16:28         ` Jeff C
2005-03-06 23:09         ` Craig Carey
2005-03-07  0:36           ` braver
2005-03-07  5:55           ` braver
2005-03-08  5:35             ` braver
2005-03-06 14:09     ` Stephen Leake
2005-03-06  9:33 ` Martin Krischik
2005-03-06 22:13 ` Gerald
2005-03-06 23:01 ` Dr. Adrian Wrigley
2005-03-07  0:31   ` braver
2005-03-07 12:47     ` Dr. Adrian Wrigley
2005-03-07  9:41   ` Martin Krischik
2005-03-07 11:59     ` Dr. Adrian Wrigley
2005-03-07 12:26       ` Martin Krischik
2005-03-07  0:05 ` Robert A Duff
2005-03-07 18:04   ` braver
2005-03-16 19:41     ` Robert A Duff
2005-03-17 18:49       ` Martin Krischik
2005-03-08 11:24   ` Dr. Adrian Wrigley
2005-03-09  3:39     ` Craig Carey
2005-03-16 17:39       ` Craig Carey [this message]
2005-03-16 19:51     ` Robert A Duff
2005-03-16 23:47       ` Dr. Adrian Wrigley
replies disabled

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