![]() |
mprime on SunOS/sparc?
Hi,
I just got a login on a Sun workstation but I didnt found the right mprime binary. uname -a SunOS pepita 5.9 Generic_118558-16 sun4u sparc SUNW,Sun-Fire Is there a binary for that machine? Or is it possible to compile it by myself? |
What model of Sun is it?
mprime / prime95 is currently ONLY available for x86 / x86-64 architectures (and currently only x86 under *nix) Therefore if your suns were opteron or similar machines you might possibly get somewhere. If they are sparc-based machines (as it appears from the info you posted), it will NOT work, and you will not find any sparc binaries, nor can you compile it from source because the assembler code and its optimisation would be totally different. However there may be other primality testing programs which would run on your Sun box (see the links to other software on the mersenne.org site). |
[i]SunOS pepita 5.9 Generic_118558-16 sun4u [B]sparc[/B] SUNW,Sun-Fire[/i]
Definitely Sparc not Opteron. For x86 it would have been: SunOS <hostname> <OS_version> <kernel> i86pc i386 i86pc No x86 Sun kit where I work, all Sparc and their insanely slow multiply instructions. |
[url]http://hogranch.com/mayer/README.html[/url]
|
thx for your answers.
pity, I just wanted to compare mprime benchmark with other computers where I got login. Does anybody know how I can get further Informations about CPU on that machine(iam not familar with SunOS). In /proc I can only find informations about running processes!? |
Processor info:
/usr/sbin/psrinfo -v Also: /usr/platform/sun4u/sbin/prtdiag -v |
Hehe its a big machine, pity that I cant run mrime on it
pepita$ /usr/platform/sun4u/sbin/prtdiag -v System Configuration: Sun Microsystems sun4u Sun Fire 6800 System clock frequency: 150 MHz Memory size: 81920 Megabytes ========================= CPUs =============================================== CPU Run E$ CPU CPU FRU Name ID MHz MB Impl. Mask ---------- ------- ---- ---- ------- ---- /N0/SB0/P0 0,512 1350 16.0 US-IV 3.1 /N0/SB0/P1 1,513 1350 16.0 US-IV 3.1 /N0/SB0/P2 2,514 1350 16.0 US-IV 3.1 /N0/SB0/P3 3,515 1350 16.0 US-IV 3.1 /N0/SB1/P0 4,516 1350 16.0 US-IV 3.1 /N0/SB1/P1 5,517 1350 16.0 US-IV 3.1 /N0/SB1/P2 6,518 1350 16.0 US-IV 3.1 /N0/SB1/P3 7,519 1350 16.0 US-IV 3.1 /N0/SB3/P0 12,524 1350 16.0 US-IV 3.1 /N0/SB3/P1 13,525 1350 16.0 US-IV 3.1 /N0/SB3/P2 14,526 1350 16.0 US-IV 3.1 /N0/SB3/P3 15,527 1350 16.0 US-IV 3.1 /N0/SB4/P0 16,528 1350 16.0 US-IV 3.1 /N0/SB4/P1 17,529 1350 16.0 US-IV 3.1 /N0/SB4/P2 18,530 1350 16.0 US-IV 3.1 /N0/SB4/P3 19,531 1350 16.0 US-IV 3.1 /N0/SB5/P0 20,532 1350 16.0 US-IV 3.1 /N0/SB5/P1 21,533 1350 16.0 US-IV 3.1 /N0/SB5/P2 22,534 1350 16.0 US-IV 3.1 /N0/SB5/P3 23,535 1350 16.0 US-IV 3.1 [....] pepita $ /usr/sbin/psrinfo -v [....] Status of virtual processor 533 as of: 11/28/2005 20:46:23 on-line since 11/22/2005 17:25:10. The sparcv9 processor operates at 1350 MHz, and has a sparcv9 floating point processor. Status of virtual processor 534 as of: 11/28/2005 20:46:23 on-line since 11/22/2005 17:25:10. The sparcv9 processor operates at 1350 MHz, and has a sparcv9 floating point processor. Status of virtual processor 535 as of: 11/28/2005 20:46:23 on-line since 11/22/2005 17:25:10. The sparcv9 processor operates at 1350 MHz, and has a sparcv9 floating point processor. |
wow from the looks of it you have around 24 processing units jeezers...
|
[QUOTE=rudi_m]Hehe its a big machine, pity that I cant run mrime on it[/QUOTE]
As Xyzzy indicated, it might be worth trying mlucas or glucas. |
[QUOTE=Mystwalker]As Xyzzy indicated, it might be worth trying mlucas or glucas.[/QUOTE]
wow first time I looked for binarys only but Mlucas compiled fine on that machine :) Is there a standard way for benchmarking it? I just compared LL of M100069 with my home comp: mprime on AMD2100+: 30 sec Mlucas on AMD2100+: 145 sec Mlucas on Sun/Sparc: 260 sec (but CPU usage was only 2%!!) two questions: 1. Is the differrence between mprime and Mlucas on AMD ok or is it worth to try some gcc optflags or playing around with mlucas.cfg? 2. Since I dont know about Sun/Sparc - What compiler should I use? Ive just made "cc -o Mlucas2 *.c -lm" but couldnt find out what compiler it is exactly. Ok now I go check out Glucas:) |
[QUOTE=rudi_m]wow first time I looked for binarys only but Mlucas compiled fine on that machine :)
Is there a standard way for benchmarking it?[/quote] "Mlucas -s m" will run a series of self-tests at a variety of FFT lengths and at the same time figure out the best FFT parameters for your machine - best-FFT timings appear in the mlucas.cfg file that results from the self-tests. All this is explained at the [url=http://hogranch.com/mayer/README.html]Mlucas homepage.[/url] [quote]I just compared LL of M100069 with my home comp: mprime on AMD2100+: 30 sec Mlucas on AMD2100+: 145 sec Mlucas on Sun/Sparc: 260 sec (but CPU usage was only 2%!!)[/quote] If you have multiple CPUs, the reported utilization may be in terms of the overall system utilization, e.g. with 4 CPUs a process running on only one will get at best 25%. You have 24 CPUs, but each runs at only 150MHz, did I read that right? [quote]1. Is the differrence between mprime and Mlucas on AMD ok or is it worth to try some gcc optflags or playing around with mlucas.cfg?[/quote]George already has optimized code for AMD in Prime95/mprime, and AFAIK the Intel C compiler (far better than gcc for x86-style CPUs) isn't available for AMD, so there's little point in using anything other than mprime on AMD at present. [quote]2. Since I dont know about Sun/Sparc - What compiler should I use? Ive just made "cc -o Mlucas2 *.c -lm" but couldnt find out what compiler it is exactly.[/quote]Do a "which cc" and/or "man cc" to find out - but I'm 99.9% certain that it's gcc, which in my experience absolutely sucks at producing optimized code for Sparc. For decent performance, you've got to use the SunPro (native C) compiler - if anyone wants to give me guest access to a system with that compiler, I'll be more than happy to do some building and tuning and post a prebuilt executable to the Mlucas page. |
| All times are UTC. The time now is 04:27. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.