hugemem kernal and CentOS 5 (32 bit)

Hello,

I need to setup a server to host a number of dynamic websites powered by Linux, Apache, MySQL and PHP.

I plan to use CentOS 5 (32 bit).

I have 4 GB of total RAM and was told that the hugemem kernal is required to address more than 3GB for single processes.

How stable is the hugemem kernal?  Is it needed?

Should I install the hugemem kernal? and if so where do I get it?


LVL 16
hankknightAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
According to http://www.centos.org/product.html "The x86 "Hugemem" kernel is not provided in CentOS 5."
It seams they are using PAE Kernel for Centos 5.
To install the PAE kernel use the command : `yum install kernel-PAE`


http://www.cyberciti.biz/tips/redhat-enterprise-linux-4gb-plus-ram-support.html
0
Artysystem administratorCommented:
>  Is it needed?

No. It's for RAM > 4Gb.

Standard kernel should work fine with up to 4Gb RAM.


0
ravenplCommented:
Standard kernel can address something like 3.9G(4G-128M) of memory, so having 4G ram and standard kernel cause loosing the (small) amount of memory.

So for 4G ram and more - kernel-PAE

Also, it seems that I was wrong with the 4G per process in hugemem kernel. The hugemem kernel was shipped with CentOS 4.X, but it seems, that version 5 dropped the support for that. Probably in favor to 64bit system.
0
Duncan RoeSoftware DeveloperCommented:
Hugemem is a single config option - if you configure your own kernels. <rant>Missing 128MB is peanuts - on my 64-bit system I lose 512MB from 4GB because of stupid 32-bit BIOS that reserves address space from 3.5 - 4G - it doesn't actually use it, it just hides it.</rant>
0
ravenplCommented:
> Hugemem is a single config option
Not really. On RH4(centos4) hugemem kernel included 4G/4G kernel/user memory split path. That why I was referring to 4G for single process on hugemem kernel.

> Missing 128MB is peanuts
To have 128M pagecache larger, or 128M smaller, gives You 256M difference already ;)))) <lol>

> stupid 32-bit BIOS that reserves address space from 3.5 - 4G
O that's strange. I have this supermicro mobo with bios option to reserve 0.5G address space, but no matter what I set it to, linux 64bit sees 5966M ot of 6G physical.
It somehow remaps it, cause largest phisical address seen by kernel is 0x1b0000000 =~ 6.75G
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.