Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 02:11:07 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Steven Schlansker <scs@EECS.Berkeley.EDU>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pfsync in GENERIC?
Message-ID:  <20090530021107.d0ecbff4.freebsd@edvax.de>
In-Reply-To: <B8CF04BE-3165-4BD5-A3C6-8D68742CDA26@EECS.Berkeley.EDU>
References:  <89C182FE-81B9-474E-84EA-FBB6F68C4E75@eecs.berkeley.edu> <200905292001.02072.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <C113D42F-C628-4E91-8AFE-BD2556502AC7@EECS.Berkeley.EDU> <200905292244.37398.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <B8CF04BE-3165-4BD5-A3C6-8D68742CDA26@EECS.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 May 2009 16:55:24 -0700, Steven Schlansker <scs@EECS.Berkeley.EDU> wrote:
> Hm.  I was actually under the impression that you wouldn't gain much  
> by compiling your own kernel (except for maybe some disk space). 

No. Compiling one's own kernel allows for some definitions,
e. g. having only the support in the kernel for the hardware
that is actually existing in the specific settings. Furthermore,
in some cases variables need to be set at kernel compile time.

For example, in FreeBSD 5 the only way to get IPFW was to
compile it into the kernel. Today, there's a module for this.

As you mentioned correctly, speed considerations may also lead
you to the requirement of compiling the kernel.

Speaking for myself, I like to have a custom kernel on my
own machine (which is somewhat special, so it deserves it),
but on customers' systems, going with "as most untouched as
possible" is often the way I choose. This allows me to safely
use tools like freebsd-update.



> Is there a strong reason to compile your own  
> kernel for "production" machines? 

In most cases, production machines do not require compiling a
kernel. But it depends on the setting - if you essentially need
something that cannot be done via kernel tunables or loadable
modules.



> The discussion online is not  
> conclusive (then again I'll probably just get contradictory opinions  
> again here!)

Of course. :-)





-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090530021107.d0ecbff4.freebsd>