From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,8c1d1ffdb28bdb34 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!feed3.jnfs.ja.net!jnfs.ja.net!nntp0.brunel.ac.uk!not-for-mail From: "Dr Ivan D. Reid" Newsgroups: comp.os.linux.alpha Subject: Re: g++ optimisations in AlphaLinux Date: Mon, 28 Nov 2005 23:45:00 +0000 (UTC) Organization: Brunel University, West London, UK Message-ID: References: Reply-To: Ivan.Reid@brunel.ac.uk NNTP-Posting-Host: molnir.brunel.ac.uk X-Trace: mimas.brunel.ac.uk 1133221500 17903 134.83.108.7 (28 Nov 2005 23:45:00 GMT) X-Complaints-To: sysunix@brunel.ac.uk NNTP-Posting-Date: Mon, 28 Nov 2005 23:45:00 +0000 (UTC) User-Agent: slrn/0.9.7.4 (SunOS) Xref: g2news1.google.com comp.os.linux.alpha:578 On Mon, 28 Nov 2005 21:09:07 GMT, DiskMan wrote in : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > I cannot believe they finally went back to 'open source' with Seti@home > again... They used to do it some time ago but had issues with ppl trying > 'tweak' the code and sending in bad work units... In some respects that's covered by taking the median value of performance returned and discarding the highs and lows, but I can see that it could still be a problem. > Yea, Compaq C would be the best bet for speed and performance. On the > Alpha, not much can come close... Hey, when you finish porting it over, > please drop us a line as to where we can down load that mutha... I've been > running seti@home [non-open source] version for sometime and wouldn't mind > a boost in speed! I would gladly, but I've run into a few "issues". AFAICT I've got the latest unencrypted versions of everything (but the versioning is a mess, as regards out-of-date stuff still being available on out-of-date websites). Ran into some problems with ccc that I think I solved with the help of http://www.physik.tu-cottbus.de/~george/unix/ccc.html -- in the end the bit about gcc -V $GCC_VER I solved by commenting out the "-V $GCC_VER"... However, when I tried installing cxx I find errors like === /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/lnxexx -V This beta test software has expired. Please contact Compaq to receive a more recent version. Compaq C++ V6.5-020 for linux Compiler Driver V6.5-020 (cxx) cxx Driver cat /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/.version Installed as cxx-6.5.9.20 3.1 Testing linker demangler support /usr/bin/ld: unknown demangling style `compaq'collect2: ld returned 1 exit status Aborting If you can correct the problem, you can rerun this script manually by entering a command in the following format: create-comp-config.sh cxx-version [gcc-path] The current invocation of create-comp-config.sh was: /usr/lib/compaq/cxx-6.5.9.20/alpha-linux/bin/create-comp-config.sh cxx-6.5.9.20 dpkg: error processing cxx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: cxx E: Sub-process /usr/bin/dpkg returned an error code (1) === When I tried installing their binutils I got a message that I was reverting to an earlier version -- and still got the demangling error. I won't have meuch time to play with it after this week, but I may be able to pick up another SCSI disk next week, to try CentOs again on SCSI without wiping the Debian install. If I don't get the Compaq compilers working, the next step is gcc 4.x -- that'll give me Fortran 95 too! > On Sun, 27 Nov 2005 11:03:46 +0000, Dr Ivan D. Reid wrote: > >> Now that I have Debian Sarge running on my PWS500a, I've been porting >> seti@home to the machine. The performance has been disappointing; the >> standard test work-unit is going to take around 60 hours to complete. boinc >> benchmarks report: >> >> 2005-11-27 11:00:51 [---] Running CPU benchmarks >> 2005-11-27 11:01:50 [---] Benchmark results: >> 2005-11-27 11:01:50 [---] Number of CPUs: 1 >> 2005-11-27 11:01:50 [---] 153 double precision MIPS (Whetstone) per CPU >> 2005-11-27 11:01:50 [---] 555 integer MIPS (Dhrystone) per CPU >> 2005-11-27 11:01:50 [---] Finished CPU benchmarks >> >> I got gprof running and noticed a few things like: >> o much of the time is spent in calculating log-gamma functions. These >> do a lot of casting to and from single-precision parameters/results. >> o the total time that gprof reports is only about 1/3rd the cpu time charged >> to the programme by top (e.g. a 39618-second run only totalled up 11376 seconds >> of profile time). Since this is unlikely to be profiler overhead, I'm >> wondering if it's due to unaligned access or double/float conversion causing >> execution problems. >> >> Can anyone suggest which g++ options [g++ (GCC) 3.3.5 >> (Debian 1:3.3.5-13)] might improve the performance? I've been looking for >> flags to control alignment of floats, or promote all floats to doubles, >> but I haven't found anything yet. >> >> Please cross-post this if you know of a better group to ask in. > -- Ivan Reid, Electronic & Computer Engineering, ___ CMS Collaboration, Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN GSX600F, RG250WD, DT175MX-MIA "You Porsche. Me pass!" DoD #484 JKLO#003, 005 WP7# 3000 LC Unit #2368 (tinlc) UKMC#00009 BOTAFOT#16 UKRMMA#7 (Hon) KotPT -- "for stupidity above and beyond the call of duty".