> 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_at_windriver.com | Wind River Systems ============================================================================= <adamw> you're just BEGGING to face the moose =============================================================================Received on Mon Mar 22 2004 - 07:53:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC