Re: [CentOS] xfs and centosplus kernel

2008-04-07 Thread Alan Bartlett
On 07/04/2008, Peter Kjellstrom [EMAIL PROTECTED] 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.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs and centosplus kernel

2008-04-07 Thread Peter Kjellstrom
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.


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs and centosplus kernel

2008-04-07 Thread Peter Kjellstrom
On Monday 07 April 2008, Alan Bartlett wrote:
 On 07/04/2008, Peter Kjellstrom [EMAIL PROTECTED] 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


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs and centosplus kernel

2008-04-07 Thread Bill Campbell
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
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.
Lysander Spooner, 1852
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs and centosplus kernel

2008-04-04 Thread Johnny Hughes

Jim Perrin wrote:

On Thu, Apr 3, 2008 at 10:09 PM, Fong Vang [EMAIL PROTECTED] 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




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs and centosplus kernel

2008-04-03 Thread Jim Perrin
On Thu, Apr 3, 2008 at 10:09 PM, Fong Vang [EMAIL PROTECTED] 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.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos