Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 08:53:53 -0800 (PST)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        rizzo@icir.org (Luigi Rizzo)
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: For those with Intel Centrino 2200BG wireless...
Message-ID:  <20040322165353.8BAD316A4CF@hub.freebsd.org>
In-Reply-To: <20040322025621.A82392@xorpc.icir.org> from Luigi Rizzo at "Mar 22, 2004 02:56:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040322165353.8BAD316A4CF>