Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-25 Thread george de fockert


Hi all,
some timings for the interrested.
standard menu default 10m 10 iterations timing.

TB 800 at 6.5*133=866

v20 : 0.114
v21 prefetch=0 : 0.120
v21 prefetch=1 : 0.092

George de Fockert


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-20 Thread Mikus Grinbergs

Tried the new V21 Linux version (p95v21x.zip).  My original (35 um)
Athlon got the same percentage speed increases that others have been
reporting (did *not* have to explicity put in CpuSupportsPrefetch=1).

One minor V21 difference:  I was using the "Advanced/Time" option,
and V20 would show each 'timing' line as it completed.  But V21
did not change the screen appearance (after "Accept above answers?")
until the whole multi-iteration 'timing' run was complete -- then
it showed ALL the 'timing' lines at once, immediately followed by
the elapsed time of the whole 'timig' run, plus the estimate of the
time it would take to perform an LL test of the specified exponent.

mikus

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-20 Thread Francois Gouget

On Tue, 19 Jun 2001, Brian J. Beesley wrote:
[...]
> Unfortunately I can't contribute timings to this argument as none of 
> my three Athlon systems can run Prime95 (they're all linux systems).

   Prime95 is available on Linux. It's called mprime and you can
download it from:
   ftp://mersenne.org/gimps/mprime.tar.gz (glibc 2.1.3)
   ftp://mersenne.org/gimps/sprime.tar.gz (static)

   I even maintain a Debian package for it called prime-net. You will
find it in the non-free/misc section.

   Of course, for version V21.1.1, I believe you're right.


> Must dig out wine & see if Prime95 will run over wine/X/linux, though 
> that's a mightly roundabout way of running what's essentially a 
> console program!!!
[...]

   I tried this but it does not work well. I could start prime95 once
using 'wine --managed ./PRIME95.EXE' but couldn't start it again after
that.


--
Francois Gouget [EMAIL PROTECTED]http://fgouget.free.fr/
 The greatest programming project of all took six days; on the seventh day the
  programmer rested. We've been trying to debug the *&^%$#@ thing ever since.
  Resume: design before you implement.

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-20 Thread Eric Hahn

George Woltman wrote:
>Some Athlons are seeing a speed increase others are not.   The
>two that I know are not enjoying a speed increase are running
>under Win2K.  Maybe there is a bug in the way v21.1 determines
>if prefetch is supported.
>
>For those Athlon owners that are not seeing a speed boost, try setting
> CpuSupportsPrefetch=1
>in local.ini

  This is a possibility.  The other possibility is that there
might be something in Windows that is interfering.

  The reason I say this, is that I have a P3 running at 733Mhz,
and after a reboot, Prime95 was back to running at the same
iteration time before v21 starting running.  After stopping 
Prime95 and adding the line to local.ini, it was back to the
increased speed.  

  Interesting... to say the least...

Eric

P.S. BTW, this P3 is running Win98SE...


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-19 Thread george de fockert


- Original Message -
From: "Brian J. Beesley" <[EMAIL PROTECTED]>

> It would also be interesting to find out if the PIII prefetch code
> benefits the AMD K6 processor. The K6-2 and K6-3 do have an Athlon-
> compatible prefetch instruction, though it's using 32-byte cache
> lines and there is no prefetch queue i.e. only one prefetch can be
> active at any time.

Just tried it on my k6-2, needs CpuSupportsPrefetch=1 in local.ini,
and results in an illegal instruction exception.
So the program probably does not use the AMD 3dnow! prefetch instruction,
PREFETCH(W),
but one of the intel MMX2 or SIMD prefetch instructions not on the K6-2,
PREFETCHNTA orPREFETCHT[123]


> BTW what happens to the prefetch instructions for those processors
> (like PII) that don't support prefetch?

See above for the K6-2

George de Fockert





_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Nick Glover

My 1 GHz Thunderbird in Win98 SE showed speed improvements without putting 
anything in the .ini file.  I used the Advanced->Time option and noted the 
following two anomalies:

1) At 512 KB and only 512 KB, the program returned the following along with 
my timings:

timer 0: 1100364
timer 1: 4152504
timer 2: 3305631
...
and so on for timer #'s 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 20, 21, 22, 23, 30

When I rerun the test, the numbers appearing after "timer #:" are 
different, but the exact same timer #'s are outputted.


2)

FFT sizev20 v21a
192 KB  0.037   0.030
224 KB  0.044   0.038
256 KB  0.048   0.039

224 KB seems to have a disproportionately small amount of improvement.  I 
timed around 200 iterations on 224 KB to verify that 0.038 is the fastest 
time it could get.

Nick Glover: [EMAIL PROTECTED]
Computer Science, Clemson University
Homepage: http://hubcap.clemson.edu/~nglover/

"It's good to be open-minded, but not so open that your brains fall out." - 
Jacob Needleman


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



RE: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Matt Goodrich


> Some Athlons are seeing a speed increase others are not.   The two
> that I know are not enjoying a speed increase are running under Win2K.
> Maybe there is a bug in the way v21.1 determines if prefetch
> is supported.
>
> For those Athlon owners that are not seeing a speed boost, try setting
>  CpuSupportsPrefetch=1
> in local.ini.

This sure worked for me.

Athlon 850MHz Testing M12328xxx
Iteration Times
V.20V.21V.21 with CpuSupportsPrefetch=1 added to local.ini
0.174   0.174   0.141

Athlon 1200MHz Testing M12899xxx
Iteration Times
V.20V.21V.21 with CpuSupportsPrefetch=1 added to local.ini
0.151   0.151   0.123

Both computers running Windows 2000 Server. Note that stopping Prime95
(leaving Prime in systray) then editing local.ini, then starting Prime
wasn't good enough. I had to actually close the program, then restart
Prime95.

Matt

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread George Woltman

Hi,

At 01:43 AM 6/19/2001 +0100, Michael Bell wrote:
> > I am not getting any performance increase on my 2 Athlon's here, and I am
> > 99% sure they are Thunderbirds.

Some Athlons are seeing a speed increase others are not.   The two
that I know are not enjoying a speed increase are running under Win2K.
Maybe there is a bug in the way v21.1 determines if prefetch is supported.

For those Athlon owners that are not seeing a speed boost, try setting
 CpuSupportsPrefetch=1
in local.ini.

Good luck,
George

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Mikus Grinbergs

One more possibility to keep in mind for Athlons:  BIOS level
(and perhaps also which motherboard).

Don't have windows, so can't try the optimized prime95, but
have noticed on "timing runs" with the V20 mprime that my new
(ASUS A7M266) Athlon is now 2% slower than when I first got it.
The only explanation I can come up with is that hardware setup
by the BIOS is responsible for this difference.  (Nothing in my
system has changed since I started, except that I upgraded to the
latest BIOS -- and I typed in the exact same BIOS parameters as
I did originally.)  Perhaps the newer BIOS software has changed
in some manner that would explain the timing difference I saw.

mikus

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Michael Bell

> H,
> I am not getting any performance increase on my 2 Athlon's here, and I am
> 99% sure they are Thunderbirds.

It appears I was wrong, the prefetch is available on all Athlons not just
Thunderbirds, so it must be something else.

Michael.


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



RE: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Matt Goodrich



H,
I am not getting any performance increase on my 2 Athlon's here, and I am
99% sure they are Thunderbirds.
I just tried this new executable on 7 machines. Here are the numbers.

PentiumIII 450MHz Testing M12441xxx
Iteration Times
V.20V.21
0.330   0.255

PentiumII 233MHz Double Checking M6144xxx
Iteration Times
V.20V.21
0.298   0.292

PentiumII 350MHz Testing M12316xxx
Iteration Times
V.20V.21
0.416   0.423

Athlon 850MHz Testing M12328xxx
Iteration Times
V.20V.21
0.174   0.174

Athlon 1200MHz Testing M12899xxx
Iteration Times
V.20V.21
0.151   0.151

According to Windows 2000 these 2 Athlon's are "Family 6, Model 4, Stepping
2"

Pentium 166MHz Double Checking M6333xxx
Iteration Times
V.20V.21
0.601   0.607

Pentium 133MHz Double Checking M6333xxx
Iteration Times
V.20V.21
0.697   0.692

What I find interesting, is that I got an increase, albiet a very minor one,
instead of a decrease in performance on the PentiumII 233 and the P133, yet
my PentiumII 350 and P166 did decrease in performance, like everyone else is
reporting.

I wonder if the operating system has anything to do with this.
The PII 233 and the P133 are running Windows 2000 Professional and the PII
350 and the P166 are running Windows 98 and 95 respectively.

Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael
Bell
Sent: Monday, June 18, 2001 5:06 AM
To: Mersenne List
Subject: Re: Mersenne: Prime95 - V21.1.1 aka v21a


>   Note also that the Athlon *did* have a performance increase
> on par with the Celeron 2 and P3 machines
>
> Eric

Is it possible that the Athlon that didn't see the increase was an original
Athlon (rather than a T'bird) and so didn't have the prefetch instructions?

Michael.


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers

_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Michael Bell

>   Note also that the Athlon *did* have a performance increase
> on par with the Celeron 2 and P3 machines
>
> Eric

Is it possible that the Athlon that didn't see the increase was an original
Athlon (rather than a T'bird) and so didn't have the prefetch instructions?

Michael.


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Mersenne: Prime95 - V21.1.1 aka v21a

2001-06-18 Thread Eric Hahn


Hi All,

  I downloaded and ran the new v21a and did some timings on
several different machines and compared them to timings done
on v19 and v20...

  I ran the timings on each version for 100 screen outputs at
100 iterations per screen output...  for a total of 1
iterations...  and then averaged the iteration times...  I
used the same exponent on all versions and machines...  (an
exponent I am primality testing that is just shy of 11,400,000)

  What I can up with was these results...

   V19V20V21
  -  -  -
PII at 266Mhz 0.579  0.578  0.586
Celeron 1 at 466Mhz   0.605  0.604  0.615
Celeron 2 at 550Mhz   0.289  0.288  0.223
P3 at 733Mhz  0.239  0.238  0.188
Athlon at 1333Mhz 0.100  0.098  0.077

  Admittedly, while the 466Mhz Celeron 1 has almost double what
the iteration time was expected to be... (for some yet unknown
reason -- Prime95 is getting 98.9% of the CPU time)...  the %
increase/decrease is still evident

  Note also that the Athlon *did* have a performance increase
on par with the Celeron 2 and P3 machines

Eric


_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers