From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 22 08:53:53 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 8BAD316A4CF; Mon, 22 Mar 2004 08:53:53 -0800 (PST) In-Reply-To: <20040322025621.A82392@xorpc.icir.org> from Luigi Rizzo at "Mar 22, 2004 02:56:21 am" To: rizzo@icir.org (Luigi Rizzo) Date: Mon, 22 Mar 2004 08:53:53 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20040322165353.8BAD316A4CF@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-current@freebsd.org cc: freebsd-hardware@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: For those with Intel Centrino 2200BG wireless... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 16:53:53 -0000 > On Sun, Mar 21, 2004 at 06:52:06PM -0800, Bill Paul wrote: > ... > > accomodate it. The FreeBSD kernel stack is 2 pages (8192 bytes on > > i386) whic is smaller than the Windows kernel size. This means the > > how bad is it to use a larger default, e.g. the 8 pages you suggested ? > > cheers > luigi Changing KSTACK_PAGES to 8 means each kernel thread in the system will consume 32K of stack space instead of 8K. In other words, you'd consume a little more memory for each thread. That's the only effect. I think the Windows kernel stack is 16K, but I couldn't remember for sure and I wasn't able to track down the reference where I discovered the information the first time. Using KSTACK_PAGES=4 is probably more reasonable. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================