From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 07:32:24 2004 Return-Path: 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 714C116A4CE for ; Wed, 31 Mar 2004 07:32:24 -0800 (PST) Received: from calis.blacksun.org (calis.blacksun.org [216.254.108.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1602243D46 for ; Wed, 31 Mar 2004 07:32:24 -0800 (PST) (envelope-from don@calis.blacksun.org) Received: by calis.blacksun.org (Postfix, from userid 1001) id 0FABB17089; Wed, 31 Mar 2004 10:35:46 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by calis.blacksun.org (Postfix) with ESMTP id 0E31017088; Wed, 31 Mar 2004 10:35:46 -0500 (EST) Date: Wed, 31 Mar 2004 10:35:46 -0500 (EST) From: Don To: Andri Kok In-Reply-To: <20040331152338.93510.qmail@web41813.mail.yahoo.com> Message-ID: <20040331102958.M2605@calis.blacksun.org> References: <20040331152338.93510.qmail@web41813.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: kernel configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 15:32:24 -0000 > o According to LINT the CONF_FLAGS "inhibit use of non-optimal function" > does this mean that my kernel will be "optimized"? If you don't know what a kernel variable or flag does, then don't use it. FreeBSD performs really well without configuring every last option. > o I increased the process limits to MAXDSIZ="(1024 * 1024 * 1024)" and > DFLDSIZ="(1024 * 1024 * 1024)". For an old PC like mine, is this a good > idea? I mostly use my computer for programming. However, I'd also like > it to be quite responsive at times. Any ideas? > > o PQ_CACHESIZE, what is it? what difference does it make if i set it to 512 and not 256? Don't bother setting either of these options. The defaults that the kernel uses are based on your available memory and are good starting points. > o The options like: CPU_BLUE_LIGHTNING, CPU_ENABLE_SSE, > CPU_FASTER_5x86_FPU, CPU_SUSP_HLT, NO_FOOF_HACK. Are they all > applicable to my CPU? No. > > o USER_LDT, what is this? is it good or bad? This allows user level control of the LDT (Local descriptor table or some such). This is needed by some programs. > o options like: KTRACE, INVARIANTS, INVARIANT_SUPPORT, DIAGNOSTIC are > for kernel debugging, am I right? I also read in LINT that it will make > my kernel size larger. Does large kernels means worse performance? Do I > really need to debug my kernel? It will make a slightly larger kernel and it will be slightly slower. Disable these options unless you intend on doing debugging. > o PERFMON, do I need it? does it improve performance? Up to you. Not directly. > o UCONSOLE, USERCONFIG & VISUAL_USERCONFIG, do i need them? I'll be > running X, and according to handbook, UCONSOLE is good for something. > What about the rest? Why do they have comments like "XXX - don't belong > here" in LINT. Are they not suppose to be used? UCONSOLE allows the user to grab the console. The other two options are unnecessary. Most of these options are described on the web or in the FreeBSD handbook. -Don