Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Alan Gilbert <dg@cogency.co.uk>
Subject: Re: Compiling times (Re: UDB performance question)
Date: Wed, 04 Feb 1998 17:40:35 +0000	[thread overview]
Message-ID: <b1e4ed44c92b13e41ad5b409642ebdec.axp-list@archive.invalid> (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

             reply	other threads:[~1998-02-04 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-04 17:40 David Alan Gilbert [this message]
     [not found] <34D8A813.DC23D1E4@cogency.co.uk>
1998-02-04 20:13 ` Compiling times (Re: UDB performance question) Jeffrey Demaagd
     [not found] <34D884C8.9B2859C4@cogency.co.uk>
1998-02-04 16:57 ` Michal Jaegermann
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