* Re: UDB performance question
[not found] <34D884C8.9B2859C4@cogency.co.uk>
@ 1998-02-04 15:49 ` Jeffrey Demaagd
1998-02-04 16:57 ` Compiling times (Re: UDB performance question) Michal Jaegermann
1 sibling, 0 replies; 4+ messages in thread
From: Jeffrey Demaagd @ 1998-02-04 15:49 UTC (permalink / raw)
> > But it should at least be able to perform as well as a Pentium 166 yes?
> > I was under the impression that even without the fast floating-point it
> > should outperform a similarly clocked pentium...
>
> Well I think I'd expect a UDB to be similar to a P100 or P120 for
> general stuff; a lot faster for floating point (unless your using
> fortran and standard GCC in which case it will be abysmal).
>
> > I have a P200 sitting next to it with less RAM (64MB as against 80MB)
> > which has much faster compile times...
OK, lets try this. Compiling has nothing to very little to do with
floating point, and the Alpha is usually best for floating point. Go
figure that.
> the compiler has to do more work to generate and optimise them - and
> what with the Alpha actually having some registers (unlike x86) it has
> to do more work optimising the use of them.
Ah yes, the register count. Optimizing the registers is an n-p complete
problem. When more registers are added (usually doubled, as in binary
math), the number of possibilities to try (if anything were to try them
all) goes up significantly. One can see factorial-, exponential-,
geometrical-like increases in time.
We must also keep in mind that these Alphas in the UDB are from a time
when 66MHz was considered pretty good, then Digital rolled out the then
new Alpha at 150 and 166Mhz speeds.
Jeff
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Compiling times (Re: UDB performance question)
[not found] <34D884C8.9B2859C4@cogency.co.uk>
1998-02-04 15:49 ` UDB performance question Jeffrey Demaagd
@ 1998-02-04 16:57 ` Michal Jaegermann
1 sibling, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-02-04 16:57 UTC (permalink / raw)
>
> Compilation on Alphas for Alphas seems to be slow. Thus it takes
> my 21164a/533MHz on LX about 6-7 minutes to compile a Linux kernel,
Hm, your machine seems to be doing quite a few other things as well.
On few various LX machines I tried a compilation time for a kernel
consistently varied between 4 and 4 and half minutes - depending
on options and few details. Do you have IDE drives?
'make -j 3 boot' may help a bit.
> which is about the same time it takes to compile on a Pentium-II 266MHz.
You are comparing (compiling :-) apples and oranges. Compiling a kernel
for a 64-bit RISC machine is a totally different animal from making such
kernel for a 32-bit CISC. And optimizer is far from the same.
> Other native compilation tests are similarly disappointing.
I would rather worry about a quality of a produced code. This may
use some improvements.
Michal
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling times (Re: UDB performance question)
@ 1998-02-04 17:40 David Alan Gilbert
0 siblings, 0 replies; 4+ messages in thread
From: David Alan Gilbert @ 1998-02-04 17:40 UTC (permalink / raw)
Michal Jaegermann wrote:
>
> >
> > Compilation on Alphas for Alphas seems to be slow. Thus it takes
> > my 21164a/533MHz on LX about 6-7 minutes to compile a Linux kernel,
>
> Hm, your machine seems to be doing quite a few other things as well.
> On few various LX machines I tried a compilation time for a kernel
> consistently varied between 4 and 4 and half minutes - depending
> on options and few details. Do you have IDE drives?
>
> 'make -j 3 boot' may help a bit.
Thats worrying; thats the second benchmark which has come out low for
my Alpha against other peoples lately! (The other is Dhrystone - I'm
getting ~900K with good EGCS, Richard Henderson is well over the 1M).
I suspect the kernel compile time is due to memory; I only
have 64MB; could this be the problem? (Only! - 64MB on an Intel box
and you could compile a kernel with -j 5 and it still wouldn't swap
much). The hard drive is a Seagate Barracuda (its number starts
with 15....N) - gives about 6MBps on hdparm -t. The compile time is
using the standard RedHat gcc - I think it was:
make dep && make clean && make && make boot
(but it was some time ago that I did it).
> > which is about the same time it takes to compile on a Pentium-II 266MHz.
>
> You are comparing (compiling :-) apples and oranges. Compiling a kernel
> for a 64-bit RISC machine is a totally different animal from making such
> kernel for a 32-bit CISC. And optimizer is far from the same.
Why is compiling kernels for different architectures so different
from compiling user land programs for different architectures?
(OK - sure there are different drivers, memory managment code etc. for
the different architectures - but surely they wouldn't make that
much difference?)
>
> > Other native compilation tests are similarly disappointing.
>
> I would rather worry about a quality of a produced code. This may
> use some improvements.
It depends - if you spend a lot of your time tweaking code and
recompiling large chunks then the speed of compilation is important.
If you actually do something 'useful' then it may be very different.
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - 0161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling times (Re: UDB performance question)
[not found] <34D8A813.DC23D1E4@cogency.co.uk>
@ 1998-02-04 20:13 ` Jeffrey Demaagd
0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey Demaagd @ 1998-02-04 20:13 UTC (permalink / raw)
> > You are comparing (compiling :-) apples and oranges. Compiling a kernel
> > for a 64-bit RISC machine is a totally different animal from making such
> > kernel for a 32-bit CISC. And optimizer is far from the same.
>
> Why is compiling kernels for different architectures so different
> from compiling user land programs for different architectures?
> (OK - sure there are different drivers, memory managment code etc. for
> the different architectures - but surely they wouldn't make that
> much difference?)
Um... The internal arrangement of Pentium is far different from that of
Alpha. Pentium is a RISC processor using hardware to convert any given
CISC instruction into a RISC, from complex to simple. The hardware does
much optimization on the fly without the program's knowledge, so the
compiler may not have as much to work at. With RISC, the compiler may
have to deal with register optimization. Also, because of the installed
base of Pentiums, more people spend time making the compiler more
efficient. The UDB uses a first generation Alpha, which I believe was
used to prove that the architecture works. Digital has gone very far with
the next two generations in terms of handling instruction parallelism,
adding more functional units so more instructions can be operated on
simultaneously, and increaseing clock rate spectacularly.
I'll admit I don't have enough info on the first gen. Alpha chips to give
better info, so if anyone knows better than I, please pipe up in this
discussion
> >
> > > Other native compilation tests are similarly disappointing.
> >
> > I would rather worry about a quality of a produced code. This may
> > use some improvements.
>
> It depends - if you spend a lot of your time tweaking code and
> recompiling large chunks then the speed of compilation is important.
> If you actually do something 'useful' then it may be very different.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-02-04 20:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <34D884C8.9B2859C4@cogency.co.uk>
1998-02-04 15:49 ` UDB performance question Jeffrey Demaagd
1998-02-04 16:57 ` Compiling times (Re: UDB performance question) Michal Jaegermann
1998-02-04 17:40 David Alan Gilbert
[not found] <34D8A813.DC23D1E4@cogency.co.uk>
1998-02-04 20:13 ` Jeffrey Demaagd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox