From owner-freebsd-questions Thu Aug 10 9:31:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.freebsd.org (Postfix) with ESMTP id 7F12837B757 for ; Thu, 10 Aug 2000 09:31:03 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:35773 "HELO ertr1013.student.uu.se") by merganser.its.uu.se with SMTP id ; Thu, 10 Aug 2000 18:30:34 +0200 Received: (qmail 1430 invoked by uid 1001); 10 Aug 2000 16:30:44 -0000 Date: Thu, 10 Aug 2000 18:30:44 +0200 From: Erik Trulsson To: Andrew Gould Cc: "'questions@FreeBSD.org'" Subject: Re: Kernel compiling questions Message-ID: <20000810183044.A1411@student.uu.se> Mail-Followup-To: Andrew Gould , "'questions@FreeBSD.org'" References: <206499C84775D3119A000000F879310E011276C3@ISTECH4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <206499C84775D3119A000000F879310E011276C3@ISTECH4>; from AndrewGould@shannonhealth.org on Thu, Aug 10, 2000 at 09:06:05AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Aug 10, 2000 at 09:06:05AM -0500, Andrew Gould wrote: > Hi all, > > I'm considering recompiling the kernel in a FreeBSD 4.0 system; and I have a > few question: > > 1. My system has an Athlon 700Mhz chip, 384Mb RAM, 1Gb swap and no pcmcia > devices. I will be running a database server using MySQL. If I just want > to specify the cpu type and remove pcmcia support, will the improved > performance be worth the effort? (I want to keep scsi support for future > flexibility.) Probably not. Main reasons for recompiling a kernel are: * Reduce memory usage by removing support for hardware you don't have. In your case you have enough memory that the difference wouldn't be noticable. * Add support for devices that weren't in GENERIC (like soundcards). * Upgrading to a later version None of these seem to apply in your case. > > 2. Was the kernel that is initially installed with FreeBSD 4.0 configured > using the GENERIC configuration file? In other words, if I recompile using > a copy of GENERIC without adding options/devices, will I lose support for > things I didn't comment out? The kernel that is initially installed is configured from the GENERIC file. So if you compile a new kernel from that file without doing any modifications you should end up with no change in behaviour. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message