?
Solved

set Hugapages at linux servers

Posted on 2014-03-13
2
Medium Priority
?
431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 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