On 6/11/2011 1:02 PM, Warner Losh wrote:
On Jun 11, 2011, at 12:17 PM, Doug Barton wrote:
On 6/11/2011 6:07 AM, Robert Watson wrote:
To me, this seems like the wrong direction. Over the last decade, we've
been trying to move away from conditional compilation of features to
having them be loadable as modules.
FWIW, I agree. I'm wondering though, is there still a performance penalty for
modules? My understanding in the past was that there is, although for most use
cases it's in the statistical noise. Is that still true?
At run time, I believe that's true. At load time, lots of modules can take a
few seconds longer.
I have 3 or 4 modules loaded via loader.conf at boot time. They take at
least 2 seconds each. IMO loading everything via loader.conf would slow
the boot so much as to be a non-starter.
OTOH, I could imagine an rc.d script that depends on mountcritlocal that
could load a list of modules. Unless I'm missing something that would be
several times faster.
Doug
--
Nothin' ever doesn't change, but nothin' changes much.
-- OK Go
Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price. :) http://SupersetSolutions.com/
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"