Re: configuring the GENERIC kernel (was Re: Issue compiling a program on OpenBSD)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Holland <nick@...>
Cc: misc <misc@...>
Date: Sunday, March 30, 2008 - 6:04 am

Douglas A. Tutty wrote:

Nick Holland wrote:

Digressing slightly into config and what's in the FAQ regarding why or
why not to deviate from GENERIC...

Using config to modify the GENERIC kernel's settings can apparently
improve boot speed. So maybe config should be mentioned in section 5.6
of the FAQ, "Why do I need a custom kernel?" to steer those wondering
about improving boot time away from trying unnecessarily to create a
custom kernel.

e.g. for B' 5.6, "Why do I need a custom kernel?"

Removing device drivers may speed the boot process on
your system, but can complicate recovery should you have
a hardware problem, and is very often done wrong. config
can be used instead of re-compiling to modify kernel parameters
and speed booting. See the section of the config(8) man page
on "kernel modification"

> Since OpenBSD uses a monolithic kernel, it is outside the ability of

That could also be useful to have in the FAQ somewhere. It's explicit
in the kernel's nature, but could be mentioned for those who miss the
ramifications of using a monolithic kernel.

> Removing drivers for reduced memory is really a "for advanced users

That can be emphasized more heavily by moving forward one sentence in
section 5.6, and adding that in.

e.g. for the very start of B' 5.6:

"Actually, you probably don't. Only the most advanced and
knowledgeable users with the most demanding applications
need to worry about a customized kernel or system, and even
then you very quickly run into diminishing returns."

Regards,
-Lars

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Issue compiling a program on OpenBSD, Ross Cameron, (Thu Mar 27, 10:30 am)
Re: Issue compiling a program on OpenBSD, Girish Venkatachalam, (Thu Mar 27, 6:20 pm)
Re: Issue compiling a program on OpenBSD, Ross Cameron, (Fri Mar 28, 5:47 am)
Re: Issue compiling a program on OpenBSD, Greg Thomas, (Fri Mar 28, 3:11 pm)
Re: configuring the GENERIC kernel (was Re: Issue compiling ..., Douglas A. Tutty, (Sat Mar 29, 12:58 pm)
Re: configuring the GENERIC kernel (was Re: Issue compiling ..., Lars Noodén, (Sun Mar 30, 6:04 am)
Re: configuring the GENERIC kernel (was Re: Issue compiling ..., Douglas A. Tutty, (Mon Mar 31, 10:08 am)
Re: Issue compiling a program on OpenBSD, bofh, (Thu Mar 27, 7:44 pm)