![]() |
|
|
#12 | |||||
|
Jul 2005
101101102 Posts |
Quote:
I will try that but currently I run Glucas which is about 3 times faster as the my first Mlucas binary (maybe the "configure" script in Glucas just made a better job as my "cc -o Mlucas *.c -lm" for compiling Mlucas ;). Quote:
but Ive heard that its a dynamic system which is bigger during day and smaller at nights. Quote:
Quote:
Now I tried also gcc 3.4.1 and you are right it was 20% slower! But with gcc -O3 It was double as fast!! Sou would be really interesting to checkout SUNWspro Optflags too! Quote:
But I watch through my own accounts if I find another Sun/Sparc. Or you could even send me bash scripts with compile runs and benchmarking etc. which I could run for you and send you the results back. Last fiddled with by rudi_m on 2005-12-01 at 01:29 |
|||||
|
|
|
|
|
#13 | |
|
Jul 2005
2·7·13 Posts |
Quote:
|
|
|
|
|
|
|
#14 |
|
∂2ω=0
Sep 2002
República de California
22×2,939 Posts |
OK, I've played around with various build flags on the Ultra-3 system Rudi got me a login for, and got a preliminary binary built. The main thing I discovered while doing the builds was that the #define sequence I had previously been using to inline prefetch macros on Sparc with the SunPro C compiler did not work with the more-recent versions of the compiler - it seems Sun changed the associated predefines. Once I'd fixed that up, timings improved by 20-25% across the board, though they're still not what I'd hope to see from this type of processor (compared to, say, timings on the Alpha ev6, which has similar floating-point capabilities). Here is what I'm getting at present on a 900 MHz Ultra-3:
Code:
FFT length (K) Timing 576 sec/iter = 0.118 640 sec/iter = 0.135 704 sec/iter = 0.160 768 sec/iter = 0.152 832 sec/iter = 0.182 896 sec/iter = 0.199 960 sec/iter = 0.198 1024 sec/iter = 0.206 1152 sec/iter = 0.249 1280 sec/iter = 0.293 1408 sec/iter = 0.365 1536 sec/iter = 0.366 1664 sec/iter = 0.431 1792 sec/iter = 0.475 1920 sec/iter = 0.485 2048 sec/iter = 0.500 Rudi, could you do some Glucas timing runs on this same system (so we get a fair comparison) and let me know what sorts of timings you get at these kinds of FFT lengths? |
|
|
|
|
|
#15 | |
|
Jul 2005
18210 Posts |
Quote:
But you can use that account as long as you want for doing further tests. |
|
|
|
|
|
|
#16 | |
|
∂2ω=0
Sep 2002
República de California
22×2,939 Posts |
Quote:
|
|
|
|
|
|
|
#17 |
|
Jul 2005
2·7·13 Posts |
ok, I compiled glucas on that machine using the sun compiler and gcc.
You will find glucas-sun and glucas-gcc in $PATH there. First tests showed that the sun compiled binary is a bit slower but maybe the configure script just handles the gcc in a better way. |
|
|
|
|
|
#18 |
|
∂2ω=0
Sep 2002
República de California
22×2,939 Posts |
FYI, I posted a copy of my current Sparc binary (the one giving the above table of timings) to
ftp://hogranch.com/pub/mayer/bin/Mlucas_sparc_v9.gz |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Building 14.1/autoconf on Solaris 11/SPARC | olegkirillov | Mlucas | 12 | 2021-06-17 01:19 |
| mprime | Unregistered | Information & Answers | 1 | 2010-12-25 15:55 |
| Mlucas on Sparc - | Unregistered | Mlucas | 0 | 2009-10-27 20:35 |
| [SunOS 5.10] Software for prime search | pacionet | Programming | 3 | 2008-02-12 12:36 |
| Problem with mprime (Fixed with mprime -d) | antiroach | Software | 2 | 2004-07-19 04:07 |