From owner-freebsd-questions Tue Aug 13 10:10:32 2002 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 0FA7C37B401 for ; Tue, 13 Aug 2002 10:10:30 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72EB943E4A for ; Tue, 13 Aug 2002 10:10:29 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from jud [12.33.164.6] by myrealbox.com with NetMail ModWeb Module; Tue, 13 Aug 2002 13:10:31 -0400 Subject: Re: optimizing the kernel From: "Jud" To: j.wards@sportnetwork.net Cc: freebsd-questions@FreeBSD.ORG Date: Tue, 13 Aug 2002 13:10:31 -0400 X-Mailer: NetMail ModWeb Module X-Sender: jud MIME-Version: 1.0 Message-ID: <1029258631.ba8806a0jud@myrealbox.com> Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----Original Message----- From: "John Wards" To: Date: Tue, 13 Aug 2002 17:13:50 +0100 Subject: optimizing the kernel hi I'm new (groan) I am running FreeBSD 4 and I am unsure if my kernel is optimized for my processor and ram. how do I go about this? be gentle with me.... John Wards SportNetwork.net _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Find the CPU in the GENERIC kernel that is closest to=20 yours and comment out the others. (Don't comment out=20 the line for the i386 architecture by mistake,=20 assuming that's what you have.) Look in /etc/defaults/make.conf for a list of=20 processor types you can put in the CPUTYPE line. Then=20 everything you build, including the kernel and FreeBSD=20 itself, will be optimized for that CPU type. Don't=20 uncomment or change anything in=20 /etc/defaults/make.conf. Instead,=20 cp /etc/defaults/make.conf /etc and make any changes in /etc/make.conf. Re optimizations for RAM - sorry, don't know of any. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message