Monitoring, Management & Location Tracking

Control the amount of memory used by the kernel

Issue: Control the amount of memory used by the kernel

 

In 32-bit linux, you'll have noticeable performance problems if the server has more than 24GB RAM (it sounds backwards, but that's right -- more than 24GB is bad). This article describes how to limit what the kernel has access to so it doesn't exhibit the performance degradation.

In /etc/grub.conf, you can limit the RAM that the OS will try to use by adding

mem=<some number of mb>M

for the kernel you're using, like this:

title CentOS (2.6.18-194.11.1.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.11.1.el5PAE ro root=/dev/VolGroup00/LogVol00 ide=nodma mem=16000M
initrd /initrd-2.6.18-194.11.1.el5PAE.img

then reboot.

Version History
Revision #:
1 of 1
Last update:
‎06-27-2014 05:14 PM
 
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.