mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Closed Thread
 
Thread Tools
Old 2003-12-14, 02:06   #12
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

635410 Posts
Default

Comparing the speed of Glucas to Prime95 is like comparing apples and oranges. Prime95 has hand optimized SSE2 code for the PIV. Neither Glucas nor Mlucas can use Altivec on the G4 because Altivec doesn't support double precision, which is a requirement for doing DWTs. The G5 is a different matter. Although there won't much of a gain from 64-bit vs 32-bit, there would be a significant gain from having two FPUs on each chip. Compile Glucas or Mlucas with xlc and you see that the G5 with Glucas/Mlucas is much closer in speed to the PIV, and possibly even faster, although nobody has done this yet. Another thread does have speed of Glucas on a G5, but that was compiled with gcc. xlc is much better at optimizing for the G5 than gcc.
rogue is offline  
Old 2003-12-14, 02:58   #13
GP2
 
GP2's Avatar
 
Sep 2003

50318 Posts
Default

Well then, it would be extremely cool to have an Altivec-aware binary version of Glucas for the G5, compiled with xlc.

We really need a binary version of Glucas for G5, so that it can use the best optimizing compiler (probably proprietary), rather than expecting each user to compile it with the free gcc compiler. Making it work automatically with PrimeNet would be the icing on the cake.
GP2 is offline  
Old 2003-12-14, 15:29   #14
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

22·83 Posts
Default

I hope so because my G5 duallie is due to arrive sometime in Jan and I would really love to do some serious crunching
bayanne is offline  
Old 2003-12-14, 17:08   #15
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Unfortunately, Altivec is relatively unchanged on the G5. In other words, it still doesn't support doubles. I have heard rumors of a future version of Altivec (256 bit vs 128 bit) that will support doubles, but unless Apple pushes for it, it won't happen.

On the other hand, there might be pieces of code in Glucas that could benefit from Altivec, but I really don't know.

Making it (and other clients) work with primenet is supposed to be one of the more important features of the new server code, whenever that happens.
rogue is offline  
Old 2003-12-14, 20:27   #16
GP2
 
GP2's Avatar
 
Sep 2003

5×11×47 Posts
Default

Quote:
Originally posted by rogue
Making it (and other clients) work with primenet is supposed to be one of the more important features of the new server code, whenever that happens.
I believe it could be done with the existing server as well.

I made a preliminary effort to familiarize myself with Glucas and mprime source code, to see how difficult it would be. I'm having a problem running my compiled version of mprime... it segmentation faults in gwsquare. This is using gcc and mprime version 23.6... anybody else tried to compile the mprime source code under Linux?
GP2 is offline  
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are these polynomials being generated correctly? Sam Kennedy Factoring 0 2016-12-02 19:01
LLR not doing checkpoints correctly on some numbers Puzzle-Peter Conjectures 'R Us 0 2013-08-15 13:45
OS X Glucas build rtharper Software 3 2007-06-13 23:28
Glucas and GIMPS optim Software 6 2004-04-05 21:32
GLucas.... bayanne Software 5 2003-08-15 16:14

All times are UTC. The time now is 16:42.


Sun Aug 1 16:42:08 UTC 2021 up 9 days, 11:11, 0 users, load averages: 1.27, 1.32, 1.46

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.