From owner-freebsd-questions@FreeBSD.ORG Sat Mar 25 15:43:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0952416A41F for ; Sat, 25 Mar 2006 15:43:08 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from mgedv.at (mail.mgedv.at [195.3.87.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1D6743D45 for ; Sat, 25 Mar 2006 15:43:07 +0000 (GMT) (envelope-from nospam@mgedv.net) Received: from metis (localhost [127.0.0.1]) by mgedv.at (SMTPServer) with ESMTP id ACFE3186864 for ; Sat, 25 Mar 2006 16:43:05 +0100 (MET) From: "No@SPAM@mgEDV.net" To: Date: Sat, 25 Mar 2006 16:43:07 +0100 Message-ID: <001701c65022$d00f1f80$0a86a8c0@avalon.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <011f01c6501a$6e70dd20$6401a8c0@GRANT> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcZQGqQmUH/G5RmnS3qejQWYUZxxgAABuhEg X-Mailman-Approved-At: Sat, 25 Mar 2006 16:24:13 +0000 Subject: RE: kernel optimization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nospam@mgedv.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 15:43:08 -0000 > 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...