6 Replies Latest reply: Aug 1, 2012 9:52 AM by dmg2012 RSS

    HugePages configuration

    dmg2012
      Hi,

      We have a database with SGA 60GB, and planning to configure HugePages. I followed Doc ID 401749.1, but its giving an error


      Total Physical Memory = 125 GB

      ---------------------------------------------------------------------------------------------------------------
      Linux ah2ha036 2.6.16.60-0.76.8-smp #1 SMP Tue Jan 11 11:23:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
      ---------------------------------------------------------------------------------------------------------------

      This script is provided by Doc ID 401749.1 from My Oracle Support
      (http://support.oracle.com) where it is intended to compute values for
      the recommended HugePages/HugeTLB configuration for the current shared
      memory segments. Before proceeding with the execution please make sure
      that:
      * Oracle Database instance(s) are up and running
      * Oracle Database 11g Automatic Memory Management (AMM) is not setup
      (See Doc ID 749851.1)
      * The shared memory segments can be listed by command:
      # ipcs -m

      Press Enter to proceed...

      ***********
      ** ERROR **
      ***********
      Sorry! There are not enough total of shared memory segments allocated for
      HugePages configuration. HugePages can only be used for shared memory segments
      that you can list by command:

      # ipcs -m

      of a size that can match an Oracle Database SGA. Please make sure that:
      * Oracle Database instance is up and running
      * Oracle Database 11g Automatic Memory Management (AMM) is not configured

      ---------------------------------------------------------------------------------------------------------------

      ipcs -m

      ------ Shared Memory Segments --------
      key shmid owner perms bytes nattch status
      ipcs
      ------ Shared Memory Segments --------
      key shmid owner perms bytes nattch status

      ------ Semaphore Arrays --------
      key semid owner perms nsems
      0x00007c4d 0 root 666 1

      ------ Message Queues --------
      key msqid owner perms used-bytes messages



      ---------------------------------------------------------------------------------------------------------------


      Can someone help me ?

      Edited by: 893593 on Jul 31, 2012 2:44 PM