*BSD News Article 43439


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!hookup!news.mathworks.com!zib-berlin.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Suggestion on recompiling kernel
Date: 13 Mar 1995 11:13:42 +0100
Organization: Private U**x site, Dresden.
Lines: 36
Message-ID: <3k15sm$e9s@bonnie.tcd-dresden.de>
References: <3jm3eb$dkl@news.bu.edu> <MICHAELV.95Mar8223323@MindBender.HeadCandy.com> <3jocmf$fja@everest.dtr.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Brant Katkansky <bmk@dtr.com> wrote:

>>Michael L. VanLoon <michaelv@MindBender.HeadCandy.com> wrote:
>>>In article <3jm3eb$dkl@news.bu.edu> mi@cs.bu.edu (Mikhail Teterin) writes:
>>>
>>>   Suggestion that can save hours of rebuilding. After changing your 
>>>   config
>>
>>*HOURS*???

He didn't tell us about his machine, Michael.  Once i gave a guy here
the FreeBSD 1.1 CD.  He later complained that the kernel took 3 hours
to compile -- he installed the thingy on a 386sx/20 with just 3 MB of
RAM. 8^)

>The kernel on my gateway takes ~41 minutes to compile after the 
>"config KERNEL".  This was done when the system was (reasonably) 
>lightly loaded.  This is FreeBSD 2.0-950210-SNAP.  The GENERIC kernel
>compiles only a few minutes faster.

This SNAP did already have the merged VM/buffer cache, which suffered
from some optimization problems back in those days.  Remember: SNAP's
are not expected to be of production quality.

A kernel from less than one week ago already compiles *way* faster,
David Greenman & Co did a great work.

However, you can live with the SNAP, but you might do a good deal by
rebooting after anything that referenced a large number of files (like
a kernel build, cvs update :) or a large make).

-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)