From owner-freebsd-questions Thu Aug 10 16:24:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-164.telepath.com [216.14.0.164]) by hub.freebsd.org (Postfix) with SMTP id 476A537B689 for ; Thu, 10 Aug 2000 16:24:45 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 53024 invoked by uid 100); 10 Aug 2000 23:24:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14739.14741.561629.519442@guru.mired.org> Date: Thu, 10 Aug 2000 18:24:05 -0500 (CDT) To: questions@freebsd.org Subject: Re: Kernel compiling questions In-Reply-To: <90775908@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erik Trulsson writes: > > 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. How about setting COPTFLAGS in /etc/make.conf so you don't get 386 instructions in your kernel? I'm not any kind of gcc or x86 guru, so I'm not sure how much difference it makes.