Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Large Pages Huge Pages

Posted on 2014-07-29
2
Medium Priority
?
1,523 Views
Last Modified: 2014-07-29
When the database starts up the alert log writes
"RECOMMENDATION:
  Total System Global Area size is 12 GB. For optimal performance,
  prior to the next instance restart:
  1. Increase the number of unused large pages by
 at least 6145 (page size 2048 KB, total size 12 GB) system wide to
  get 100% of the System Global Area allocated with large pages
  2. Large pages are automatically locked into physical memory.
 Increase the per process memlock (soft) limit to at least 12 GB to lock
 100% System Global Area's large pages into physical memory"


Today I'm seeing in an article
"Understanding Hugepages in Oracle Database

By David Fitzjarrell

Recently I've noticed the occasional thread in Oracle newsgroups and lists asking about hugepages support in Linux, including 'best practices' for hugepages configuration. This information is out on the 'world-wide web' in various places; I'd rather put a lot of that information in this article to provide an easier way to get to it. I'll cover what hugepages are, what they do, what they can't do and how best to allocate them for your particular installation. Let's get started.

"Normal" memory pages in Linux are 4 KB in size and are allocated as needed where the memory map will allow so they are likely not contiguous. Hugepages, in comparison, are 2 MB pages locked in memory and are allocated in a contiguous 'chunk'; these are allocated at boot time using a parameter in the /etc/sysctl.conf file named vm.nr_hugepages for RedHat Linux kernel 2.6 and a parameter named vm.hugetlb_pool for RedHat Linux kernel 2.4. You must remember that each page is 2 MB is size, as this affects how many hugepages you need to allocate to cover all of the SGAs of running Oracle databases.


Are these hugepages referred to in this article  the same as hugepages in my alert log??
0
Comment
Question by:xoxomos
2 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1200 total points
ID: 40227173
>>Are these hugepages referred to in this article  the same as hugepages in my alert log??

Yes.

the online docs are typically the best source for this information:
http://docs.oracle.com/cd/E11882_01/server.112/e10839/appi_vlm.htm#CACDCGAH
0
 

Author Closing Comment

by:xoxomos
ID: 40227322
Thanx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

572 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