Configuring hugetlb on RedHat 3.0

From: dunleav1 (jmd_at_dunleavyenterprises.com)
Date: 03/17/05


Date: 17 Mar 2005 08:42:35 -0800

I am trying to configure a shm filesystem for VLM with a 2 gig test and
I am receiving errors from an Oracle program trying to access the area.
I want to make sure I have the Linux area setup correctly. Does this
look correct and that I have a 2gig shm filesystem available for usage?

# cat /proc/filesystems|grep -i huge
nodev hugetlbfs
# cat /proc/mounts|grep shm
shmfs /dev/shm shm rw 0 0
# cat /proc/sys/vm/hugetlb_pool
1000
# uname -r
2.4.21-4.ELhugemem
# df -k|grep shm
shmfs 2355200 0 2355200 0% /dev/shm
# cat /mem/proc/info|grep -i huge
HugePages_Total: 500
HugePages_Free: 136
Hugepagesize: 2048 kB
# /sbin/sysctl -a|grep 'huge'
vm.hugetlb_pool = 1000
kernel.osrelease = 2.4.21-4.ELhugemem