set Hugapages at linux servers

Hi , we are running Linux servers and we need to do the following :
 "....We  plan to start setting up HugePages on a sand box server (server615) and server892 -- for the real test.  

By the way, one of the requirements for HugePages is to set 'memlock' to a value a little smaller than the RAM installed in the server. Also, the new configuration will require a server reboot at some point. "

How do i set the HugePages ? Any input would be appreciated
c_hocklandAsked:
Who is Participating?
 
Seth SimmonsConnect With a Mentor Sr. Systems AdministratorCommented:
you didn't specify which distribution so i'll reference debian and red hat versions

Hugepages
https://wiki.debian.org/Hugepages

Huge Pages and Transparent Huge Pages
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-transhuge.html
0
 
gheistConnect With a Mentor Commented:
You need a designated system group to access hugepages. BTW openSUSE allows access to "users" there...

sysctl.conf - add gid of new group and size in hugepages
security/limits.conf - add @group - memlock in 4k pages

redhat has nice tool called hugeadm that teches you related commands...
0
All Courses

From novice to tech pro — start learning today.