Is the 4k stack size increased on FC3 for centrino wireless

Duncan Ponting duncan at whomwah.com
Thu Nov 11 14:45:44 UTC 2004


On Thu, 2004-11-11 at 09:29 -0500, David Cary Hart wrote:
> > On Thu, 2004-11-11 at 09:08 -0500, Don Levey wrote:
> > > 
> > > Duncan,
> > > You may want to check out the thread "FC3, Linuxant, stock kernel
> > > (2.6.9-1.667) and 4k stacks".  The FC3 stack is indeed 4k, which also causes
> > > problems for the Linuxant driver loader. They provide a 2.6.9-1.667 custom
> > > kernel that has a 16k stack, the URL for that is somewhere up-thread.
> > > 
> Linux "standard" ;-) is 8K. I wonder how 16K affects overall
> performance.
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Hi,

I have never had any performance problems I have noticed.

Just as some info for everyone, Linuxant say themselves:

"Some drivers (especially for Intel Centrino PRO/Wireless 2200BG and
2100) need significant stack space. Kernel stack size on Windows is
generally 12k (3 pages) but only 8k - sizeof(task_struct) = about 6.5k
on Linux. Stack overflows, although rare but still theoretically
possible can lead to semi-random crashes. This is even more likely to
happen when using kernels compiled with CONFIG_4KSTACKS (which is the
default in Fedora Core 2 "and 3"?). An experimental workaround for this
can be enabled by running "dldrconfig --enable-workaround=stack" but the
safest solution is to increase the kernel stack size to 16k"

and about their rebuilt kernel:

"The default stack size in original Fedora Core 3 kernels is only 4K.
Because some Windows drivers require at least 12K of stack to operate
properly, we recommend using a kernel with a larger stack size if you
experience problems or crashes. You can either rebuild your own custom
kernel, or install one of the "stk16" kernels below which we have
provided for your convenience. They are essentially identical to the
Fedora kernels, except that the stack size was increased to 16K and the
problematic 4G/4G patch removed"

Duncan




More information about the users mailing list