[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

set Hugapages at linux servers

Posted on 2014-03-13
2
Medium Priority
?
434 Views
Last Modified: 2014-03-18
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
0
Comment
Question by:c_hockland
2 Comments
 
LVL 36

Accepted Solution

by:
Seth Simmons earned 1000 total points
ID: 39928391
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
 
LVL 62

Assisted Solution

by:gheist
gheist earned 1000 total points
ID: 39928917
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month17 days, 22 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question