From: Zach <zab@zabbo.net>
Subject: Re: 500 MHz 21164 vs P166 ?!
Date: Fri, 16 May 1997 10:31:58 -0700 (PDT) [thread overview]
Message-ID: <e5b2ae6a38840981a71b2c254b42e888.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.96.970516171235.4358A-100000@stud.pg.infn.it>
On Fri, 16 May 1997, Ciro Cattuto wrote:
> I ran some numerical code on a 500 MHz 21164 Alpha system (Microway Screamer,
> 2 MB cache) and on a P166. Both systems are running Linux and the code
> was compiled using GCC. Most surprisingly, the P166 seems to be twice
first problem :) gcc doesn't produce the best code for the alpha..
> as fast than the Alpha workstation!! How can this possibly happen?
it depends on the code you made. if you recoded things to make the most
use of the alphas 64bit regs and took the descrepancy between memory and
cpu speed into account, i'm sure you'd get much better results.
if you send the code we might be able to make some suggestions.
as an example, i took a piece of code that was reading in 32bit ints,
converting them to 16bit (with clipping..) and writing them out. i hacked
it a bit to read in 2 64bit words and write out 1 64bit word.. it was 30%
faster despite having to do the unpacking / packing. not bad at all
for a relativly trivial (no real algorithmic difference in the code)
optimization :)
-- zach
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-05-16 17:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.970516171235.4358A-100000@stud.pg.infn.it>
1997-05-16 17:31 ` Zach [this message]
1997-05-17 4:25 ` 500 MHz 21164 vs P166 ?! Ben Scott
1997-06-02 21:27 ` Alex Krowitz
1997-06-02 21:37 ` Timm Gleason
1997-06-02 21:39 ` Lee Burnside
1997-06-06 14:56 ` Ben Scott
1997-06-06 17:51 Eric Smith
[not found] <Pine.SGI.3.95.970606104557.983C-100000@leonardo.sr.unh.edu>
1997-06-06 15:19 ` Bradford Smith
[not found] <339a3c91.259410838@monarch.bess.net>
1997-06-02 23:34 ` Woodstock
-- strict thread matches above, loose matches on Subject: below --
1997-06-02 22:26 Michael J. Donahue
1997-05-22 8:44 Martin Ostermann
[not found] <43bu66e1wx.fsf@comnets.rwth-aachen.de>
1997-05-21 18:46 ` Heikki Virkkunen
[not found] <XFMail.970520095955.kanthak@Gazelle.Informatik.RWTH-Aachen.DE>
1997-05-20 17:15 ` Volker Barthelmann
1997-05-20 12:57 Martin Ostermann
[not found] <43k9kueh9f.fsf@comnets.rwth-aachen.de>
1997-05-20 7:55 ` Stephan Kanthak
1997-05-20 7:26 Martin Ostermann
[not found] <Pine.SGI.3.95.970517002216.15379E-100000@leonardo.sr.unh.edu>
1997-05-17 18:29 ` Ken Haste Andersen
1997-05-16 16:23 Jim Nance
1997-05-16 15:16 Ciro Cattuto
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