* More assembler stuff
1998-06-05 15:18 Alphas are better than SGI boxes Maurice Hilarius
@ 1998-06-11 10:28 ` Shane Steven Sturrock
0 siblings, 0 replies; 2+ messages in thread
From: Shane Steven Sturrock @ 1998-06-11 10:28 UTC (permalink / raw)
To: axp-list
To answer the few questions I had regarding compiler, I had tested the code
with gcc and egcs 1.02 and the results were that a little fiddling with the
assembler code gave a big improvement in performance. I was advised by Steven
Tweedie (who happens to be based here in Edinburgh and was at our local Linux
group meeting last week) to try 1.03a with haifa enabled. This I did and the
result was the code ran at the same speed as before, in fact I could not see
any difference in the output from 1.02 and 1.03a. Most scary though,
optimisations higher than -O resulted in the code being slower as with 1.02.
I think we will continue hand optimising for the moment. We can't release the
source code because it is a commercial product but I can say that one of the
tricks we used on the SGI to get better performance was to duplicate all
variables in our inner loop and double the amount of work which gave the SGI
compiler the clue to re-order instructions etc and gave it a better chance of
using both pipelines. This resulted in the SGI code running about 40% quicker
than it had previously. This same code on the alpha obviously produces code
which doesn't fill both pipelines because the compiler doesn't take the hint so
we hand tweak the code and get the same result as with the SGI, about 30-40%
speedup.
Of course, we are still only about 20% faster than the SGI while running a
clock which is nearly triple the speed of our R10000s. No doubt we will do
better when our LX motherboard arrives to replace the SX we didn't order but
even so......
Steven assures me that the 21264 will solve all our problems and is
blisteringly fast, since we're hoping to sell a software solution based on a
commercially available budget box (and the alpha/linux combination is the prime
candidate) this may well be what we need but we would still like to get the
best out of the 21164, at least we're getting somewhere with this. Our problem
uses virtually no floating point, the code runs in around 1MB of RAM too and we
are not running out of registers either.
I agree though, alphas are better than SGIs :-D
Dr. Shane Sturrock - sss@holyrood.ed.ac.uk
kernel: Calibrating delay loop.. ok - 529.53 BogoMIPS
Mmmmmmmmmmm :-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: More assembler stuff
@ 1998-06-11 13:54 Greg Lindahl
0 siblings, 0 replies; 2+ messages in thread
From: Greg Lindahl @ 1998-06-11 13:54 UTC (permalink / raw)
To: Shane.Sturrock; +Cc: axp-list
> Of course, we are still only about 20% faster than the SGI while running a
> clock which is nearly triple the speed of our R10000s. No doubt we will do
> better when our LX motherboard arrives to replace the SX we didn't order but
> even so......
You shouldn't expect the alpha to do the same amount of work in a
clock as the R10000. The R10000 has much more sophisticated
instruction issue, a multiply-add instruction, and different cache
characteristics than the alpha.
> Steven assures me that the 21264 will solve all our problems
It will do more work in a clock, yes, and its more flexible
instruction issue will make gcc's poorly-scheduled code run better.
-- g
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-06-11 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-11 13:54 More assembler stuff Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
1998-06-05 15:18 Alphas are better than SGI boxes Maurice Hilarius
1998-06-11 10:28 ` More assembler stuff Shane Steven Sturrock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox