LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2010, 07:35 PM   #1
wybjb
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
How change the size of Hugepagesize under RHEL5.4?


The default value of Hugepagesize is 2m, I want to chang it to 16m, could anybody tell me how to do that? thanks very much!

$ grep Huge /proc/meminfo
HugePages_Total: 10240
HugePages_Free: 799
HugePages_Rsvd: 186
Hugepagesize: 2048 kB
 
Old 05-27-2010, 07:40 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
That is a hardware determined feature, not a software feature. You can't change it to 16MiB.

If you understood the point of huge pages, you probably wouldn't want to change them to 16MiB.

Your hardware might support a huge page size of 1GiB in addition to the standard size of 2MiB. I have no clue what it would take to get Linux to support 1GiB huge pages (on CPUs that support it). I think memory still needs to get less expensive before many people would want 1GiB huge pages.

Last edited by johnsfine; 05-27-2010 at 07:44 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to set default paper size in RHEL5 the_gripmaster Red Hat 6 03-30-2010 07:57 PM
file size limit exceeded error message in RHEL5 kingston Linux - Newbie 4 07-06-2009 08:46 AM
How to change font color and size in RHEL5? saagar Linux - Newbie 2 06-01-2009 09:11 PM
how to reduce lvm in size in RHEL5.0 kbklinux Linux - Software 1 05-14-2009 02:06 AM
How do i change the size of a xterm window or lanch one with a specified size? Garavix Linux - Newbie 2 04-20-2006 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration