Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 2006 16:43:07 +0100
From:      "No@SPAM@mgEDV.net" <nospam@mgedv.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: kernel optimization
Message-ID:  <001701c65022$d00f1f80$0a86a8c0@avalon.lan>
In-Reply-To: <011f01c6501a$6e70dd20$6401a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
> I was wondering what strategy people use to 'KNOW' which drivers and
options 
> can me commented out/deleted when configuring the kernel file. i.e. how
does 
> one "know" he does not need the 'amr' driver (I knowI don't need this one,

> but the idea relates to a number of other settings in the config).

some hints:

boot your machine with GENERIC, it won't load stuff it doesn't really need.
(yes, it may take more mem, but if you have more than 128MB RAM, ignore it
;-)
kernel compilation is usually done if you MISS something in GENERIC which is
for example a specific piece of hw, loadable modules (kldload,
loader.conf.local)
are also a good choice avoiding kernel compilation.

read your dmesg. all main drivers/systems loaded are listed here. take care
for their parents/childs (a disk is attached to a bus which resides on a
controller...)

read the man pages for the drivers (man amr shows what it was written for if
you
don't know it)

check the web for e.g.
http://www.google.com/search?hl=en&lr=&q=freebsd+man+amr
and read the doc's you can find.

br...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701c65022$d00f1f80$0a86a8c0>