Solved

set Hugapages at linux servers

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 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.

911 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

15 Experts available now in Live!

Get 1:1 Help Now