how to enable HugeTLBFS ?

Support for the other architectures (X86_64, IA-64, and PowerPC)
Post Reply
periko
Posts: 96
Joined: 2007/05/04 23:41:52
Location: Aztec Land

how to enable HugeTLBFS ?

Post by periko » 2010/09/16 14:20:34

Hi.

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:

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

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:

[code]
sysctl -w vm.nr_hugepages=40
[/code]

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?

Thanks!!!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

how to enable HugeTLBFS ?

Post by pschaff » 2010/09/23 18:08:25

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: builder10.centos.org
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
URL : http://libhugetlbfs.sourceforge.net
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.
[/code]

Post Reply

Return to “CentOS 5 - X86_64,s390(x) and PowerPC Support”