Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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
[parent not found: <34D8A813.DC23D1E4@cogency.co.uk>]

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