Re: too long to build 2.6.14.2 kernel

2005-11-30 Thread Luca Capello
Hello!

On Tue, 22 Nov 2005 23:49:34 +0100, Andreas Orfanos wrote:
 I try to produce some statistical data with different kernels. The
 latest 2.4.32 takes an average 6 minutes to build (~500
 objects). But 2.6.0 takes more than half an hour for (~3000objects
 and more). The latest 2.6.14.2http://2.6.14.2one hour and more,
 and again we are talking for thousands of object files. I was using
 a 2GHz Pentium for the builds.

FYI, with the linux-source-2.6.14 and the linux-image-2.6.14-2-686
.config (so, all drivers as module) I got:
=
[EMAIL PROTECTED]:~/src/linux-2.6.15-rc3$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
 --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
 --enable-shared --with-system-zlib --libexecdir=/usr/lib
 --without-included-gettext --enable-threads=posix --enable-nls
 --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
 --enable-libstdcxx-debug --enable-java-awt=gtk --enable-gtk-cairo
 --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
 --enable-mpfr --disable-werror --enable-checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.0.3 2005 (prerelease) (Debian 4.0.2-4)

[EMAIL PROTECTED]:~/src/linux-source-2.6.14$ time fakeroot make-kpkg
real34m9.394s
user30m30.182s
sys 2m19.645s

[EMAIL PROTECTED]:~/src/linux-source-2.6.14$ fakeroot make-kpkg clean

[EMAIL PROTECTED]:~/src/linux-source-2.6.14$ time fakeroot make-kpkg \
 kernel_image
real35m34.851s
user31m26.494s
sys 2m25.501s

[EMAIL PROTECTED]:~/src/linux-source-2.6.14$
=

This is on a IBM ThinkPad T42p: Pentium-M 745 (1.80GHz) and 512MB RAM.

Thx, bye,
Gismo / Luca


pgpb9uNq1nDSQ.pgp
Description: PGP signature


Re: too long to build 2.6.14.2 kernel

2005-11-22 Thread Peter Samuelson

[Andreas Orfanos]
 I hope I post this to the right list.

debian-user is probably the right list, actually.

 The delay was not due to lots of new modules, it was clear that the
 incremental list of compiled components on the screen was moving up
 slow. I remember kernel builds where ultra fast, couldn't watch on
 screen what it was compiled.

My guess is that you used a different compiler last time.
Specifically, gcc-2.95 is much faster than any newer gcc version,
although I understand the 4.x series promises to regain some of that
lost efficiency.


signature.asc
Description: Digital signature


Re: too long to build 2.6.14.2 kernel

2005-11-22 Thread Alexis Sukrieh
Le mardi 22 novembre 2005 à 10:54 +, Andreas Orfanos a écrit :

 The delay was not due to lots of new modules, it was clear that the
 incremental list of compiled components on the screen was moving 
 up slow. I remember kernel builds where ultra fast, couldn't watch on
 screen what it was compiled.

Hmmm, sounds like your are mixing 2.4.x and 2.6.x kernels. Since the 2.6
branch, the generated output is much less verbose than it was with the
2.4 one.

My out-of-topic point: if you want to boost your kernel cooking and you
have a couple of boxes around, give a try at `distcc' ;)

-- 
Alexis Sukrieh [EMAIL PROTECTED]



Re: too long to build 2.6.14.2 kernel

2005-11-22 Thread Andreas Orfanos
Yes! you are right.

I try to produce some statistical data with different kernels. The latest 2.4.32 takes
an average 6 minutes to build (~500 objects). But 2.6.0 takes more than
half an hour for (~3000objects and more). The latest 2.6.14.2 one hour and more,
and again we are talking for thousands of object files. I was using a 2GHz Pentium
for the builds.

Thank for your replies.
Andeas
On 11/22/05, Alexis Sukrieh [EMAIL PROTECTED] wrote:
Le mardi 22 novembre 2005 à 10:54 +, Andreas Orfanos a écrit : The delay was not due to lots of new modules, it was clear that the incremental list of compiled components on the screen was moving
 up slow. I remember kernel builds where ultra fast, couldn't watch on screen what it was compiled.Hmmm, sounds like your are mixing 2.4.x and 2.6.x kernels. Since the 2.6branch, the generated output is much less verbose than it was with the
2.4 one.My out-of-topic point: if you want to boost your kernel cooking and youhave a couple of boxes around, give a try at `distcc' ;)--Alexis Sukrieh [EMAIL PROTECTED]



Re: too long to build 2.6.14.2 kernel

2005-11-22 Thread Steinar H. Gunderson
On Tue, Nov 22, 2005 at 10:54:26AM +, Andreas Orfanos wrote:
 My question is: Is this build time acceptable for the new kernels?
 Is something wrong with the tool chain? Distribution?

My question is: Is it a real problem? How often do you really compile your
kernels yourself with all the modules turned on, such as Debian does?

 I remember kernel builds where ultra fast, couldn't watch on
 screen what it was compiled.

2.4 used to spit out the entire command line while compiling. Try making with
V=1 to get the same effect on 2.6.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]