Page 1 of 1

how to enable HugeTLBFS ?

Posted: 2010/09/16 14:20:34
by periko

I'm working on a mysql server, reading some docs about tuning, they speak about HugeTLBFS, I start searching about but don't to much info about Centos. My server is running a Xen kernel, I have other boxes i386 that have this module enable:

grep -i Huge /proc/meminfo
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB

But my new server 64Bits doesn't have this features:

[code]grep -i Huge /proc/meminfo[/code]

Some sites say that we can setup this making some changes in sysctl:

sysctl -w vm.nr_hugepages=40

My i386 machine have this line but my 64bits machine don't.

Some knows how to enable HugeTLBFS on Centos 5.5 running a Xen or on a 64bits machine is enable by default?


how to enable HugeTLBFS ?

Posted: 2010/09/23 18:08:25
by pschaff
Do you have libhugetlbfs installed? [code]# rpm -qi libhugetlbfs
Name : libhugetlbfs Relocations: (not relocatable)
Version : 1.3 Vendor: CentOS
Release : 7.el5 Build Date: Tue 26 Jan 2010 07:53:54 PM EST
Install Date: Mon 10 May 2010 05:55:14 PM EDT Build Host:
Group : System Environment/Libraries Source RPM: libhugetlbfs-1.3-7.el5.src.rpm
Size : 110308 License: LGPLv2+
Signature : DSA/SHA1, Mon 26 Apr 2010 07:41:13 PM EDT, Key ID a8a447dce8562897
Summary : Library to access the Huge TLB Filesystem
Description :
The libhugetlbfs library interacts with the Linux hugetlbfs to make large pages
available to applications in a transparent manner. This package containes the
hugetlbfsd daemon.