I read that XFS has problems with 4K Stack size for Linux on 32-bit systems. How did we address this in the centosplus kernel? Since what release of CentOS was this problem resolved?
Is there a quick way to know what size the Linux stack is configured to be in a system's that's running?
Thanks for your help.
On Thu, Apr 3, 2008 at 10:09 PM, Fong Vang sudoyang@gmail.com wrote:
I read that XFS has problems with 4K Stack size for Linux on 32-bit systems. How did we address this in the centosplus kernel? Since what release of CentOS was this problem resolved?
XFS did (and still does) have this issue. They've made vast improvements though.
It's not fixed in the Centosplus kernel, it's just not as much of a problem as it used to be.
on x86 systems, the stack is still 4k.
on x86_64 systems, it's 8k I believe.
Jim Perrin wrote:
On Thu, Apr 3, 2008 at 10:09 PM, Fong Vang sudoyang@gmail.com wrote:
I read that XFS has problems with 4K Stack size for Linux on 32-bit systems. How did we address this in the centosplus kernel? Since what release of CentOS was this problem resolved?
XFS did (and still does) have this issue. They've made vast improvements though.
It's not fixed in the Centosplus kernel, it's just not as much of a problem as it used to be.
on x86 systems, the stack is still 4k.
on x86_64 systems, it's 8k I believe.
Correct .. you should use xfs on the x86_64 kernel if at all possible.
The i386 kernel does as have some things from SGI / SUSE to mitigate the 4kstack issues ... however they are not completely fixed (nor will they ever be on 4k stacks).
That said, many people are using xfs on the CentOS i386 kernels and they seem to be working stably for the most part.
I personally just use ext3 on all my file systems ... but to each his own, that is what linux is all about :D
On Friday 04 April 2008, Fong Vang wrote:
I read that XFS has problems with 4K Stack size for Linux on 32-bit systems. How did we address this in the centosplus kernel? Since what release of CentOS was this problem resolved?
I just wanted to add that xfs has no special connection to the centosplus kernel. If you want xfs you pick up the kmod-xfs package (no need to change kernel).
Is there a quick way to know what size the Linux stack is configured to be in a system's that's running?
The only way I know of is to look at your kernels .config (typicall found at /boot/config-$(uname -r)). grep for 4KSTACK. If it's not set it's 8K (afaik).
/Peter
Thanks for your help.
On 07/04/2008, Peter Kjellstrom cap@nsc.liu.se wrote:
The only way I know of is to look at your kernels .config (typicall found at /boot/config-$(uname -r)). grep for 4KSTACK. If it's not set it's 8K (afaik).
Correct. For example, with the base CentOS kernel:
CONFIG_4KSTACKS=y
Alan.
On Monday 07 April 2008, Alan Bartlett wrote:
On 07/04/2008, Peter Kjellstrom cap@nsc.liu.se wrote:
The only way I know of is to look at your kernels .config (typicall found at /boot/config-$(uname -r)). grep for 4KSTACK. If it's not set it's 8K (afaik).
Correct. For example, with the base CentOS kernel:
CONFIG_4KSTACKS=y
My suggestion was for general use, for centos (just as Jim already said) 32-bit (i386) uses 4K and 64-bit (x86_64 (and probably ia64 too)) uses 8K.
/Peter
On Mon, Apr 07, 2008, Peter Kjellstrom wrote:
On Friday 04 April 2008, Fong Vang wrote:
I read that XFS has problems with 4K Stack size for Linux on 32-bit systems. How did we address this in the centosplus kernel? Since what release of CentOS was this problem resolved?
I just wanted to add that xfs has no special connection to the centosplus kernel. If you want xfs you pick up the kmod-xfs package (no need to change kernel).
There's more info relating to xfs here describing what to get without using the centosplus repository.
http://wiki.centos.org/Repositories/CentOSPlus
Bill