Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk>
Subject: Re: g++ optimisations in AlphaLinux
Date: Mon, 28 Nov 2005 23:45:00 +0000 (UTC)	[thread overview]
Message-ID: <slrndon5jr.fru.Ivan.Reid@loki.brunel.ac.uk> (raw)
In-Reply-To: pan.2005.11.28.21.08.59.560447@thewheel.com

On Mon, 28 Nov 2005 21:09:07 GMT, DiskMan <nobody@thewheel.com>
 wrote in <pan.2005.11.28.21.08.59.560447@thewheel.com>:
> -----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".


  reply	other threads:[~2005-11-28 23:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 11:03 g++ optimisations in AlphaLinux Dr Ivan D. Reid
2005-11-27 12:35 ` Måns Rullgård
2005-11-27 13:33   ` Dr Ivan D. Reid
2005-11-27 14:10   ` Dr Ivan D. Reid
2005-11-27 14:55     ` Måns Rullgård
2005-11-27 15:50       ` Dr Ivan D. Reid
2005-11-27 16:39         ` Måns Rullgård
2005-11-27 17:07           ` Dr Ivan D. Reid
2005-11-27 17:39             ` Måns Rullgård
2005-11-28 21:09 ` DiskMan
2005-11-28 23:45   ` Dr Ivan D. Reid [this message]
2005-11-29  3:08     ` DiskMan
2005-11-29  7:57       ` Dr Ivan D. Reid
2005-11-30 23:30         `  DiskMan
2005-12-01 15:14           ` Dr Ivan D. Reid
2005-12-01 17:18             `  DiskMan
2005-12-01 18:01               ` Staffan Tjernstrom
2005-12-01 18:51                 `  DiskMan
2005-12-02  8:12               ` Dr Ivan D. Reid
2005-12-03  1:25                 ` There is a Compaq C build of Setiathome_boinc  DiskMan
2005-12-05 11:44                   ` Dr Ivan D. Reid
2005-12-12  2:37                   ` Dr Ivan D. Reid
2005-12-15  9:02                     `  DiskMan
2005-12-16 11:00                       ` Dr Ivan D. Reid
2005-12-16 19:12                         `  DiskMan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox