Solved

set Hugapages at linux servers

Posted on 2014-03-13
2
419 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 34

Accepted Solution

by:
Seth Simmons earned 250 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 61

Assisted Solution

by:gheist
gheist earned 250 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now