From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 01:12:40 2005 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 04EBF16A423 for ; Sun, 27 Nov 2005 01:12:40 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 023BB43D58 for ; Sun, 27 Nov 2005 01:12:37 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 520C85F84; Sat, 26 Nov 2005 20:12:37 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 98725-08; Sat, 26 Nov 2005 20:12:36 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 5F8485C46; Sat, 26 Nov 2005 20:12:36 -0500 (EST) Message-ID: <43890803.5000203@mac.com> Date: Sat, 26 Nov 2005 20:12:35 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Polakov References: <200511261458.48418.polachok@narod.ru> In-Reply-To: <200511261458.48418.polachok@narod.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: Kernel options optimal for desktop? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 01:12:40 -0000 Alexander Polakov wrote: > Good time of day to all freebsd-questions readers! > I'm using FreeBSD 6.0 for my desktop. I think the GENERIC kernel > is not optimal for desktop usage. So can you advise me what options > to use for better performance? > My hardware is a Pentium 3 processor@i815EP chipset, 512 Mb RAM, > ATA100 30 GB HDD, GeForce2 MX400 video. Read the kernel section of the handbook. Read "man tuning" and "man make.conf", but for a simple beginning, figure out what tasks you want to benchmark (see "ls /usr/ports/benchmarks"), and get a baseline with the GENERIC kernel. Then you want to set CPUTYPE, disable the "cpu I486_CPU" and "cpu I586_CPU" statements, and maybe disable drivers you don't need, IPv6 (aka "options INET6"), etc. Be prepared to roll back to a working kernel if you change too much. Benchmark some more, and see whether you find anything interesting. Be prepared to have someone tell you to run /usr/src/tools/tools/ministat. :-) -- -Chuck