Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Dr Ivan D. Reid" <Ivan.Reid@brunel.ac.uk>
Subject: g++ optimisations in AlphaLinux
Date: Sun, 27 Nov 2005 11:03:46 +0000 (UTC)	[thread overview]
Message-ID: <slrndoj4ki.4i3.Ivan.Reid@loki.brunel.ac.uk> (raw)

	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
        KotPT -- "for stupidity above and beyond the call of duty".


             reply	other threads:[~2005-11-27 11:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 11:03 Dr Ivan D. Reid [this message]
2005-11-27 12:35 ` g++ optimisations in AlphaLinux 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
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