Huge pages on Linux for Oracle

What are the advantages and disadvantages of using Linux (SUSE Linux 10 SP2) huge pages regarding the Oracle? I have a situation where there is a lot of switching under load (when new oracle sessions to develop rapidly). My theory is that this permutation can be reduced by using huge pages. (according to my reading).

Please help and advice based on your experience. Thank you.

Hello gislaine

Mark and Jonathan gave you good suggestions, as usual.

Meminfo output, you can see that the size of the page table is ~2.75GB. Thus, by allowing the HugePages, which will reduce to a lower value. I think, your calculations are in line with what I expected to see after activation HugePages.

Most important thing to consider is swapping or paging issues. HugePages locks the SGA in memory and cannot be swapped. During the fast memory, without Hugepages, an essential part of the LMS such as the log buffer and a large Shared pool granules can be exchanged or paged out. This can lead to stability and performance issues. So far, I have had three or four clients with stability problems solved by setting up HugePages.

Unless you use virtualized environments where Linux is a client, you should probably consider setting up HugePages. In a highly virtualized environment considerations need to be given, since the client can see more of virtual memory, but less of physical memory.

I have discussed this in this blog:
http://orainternals.WordPress.com/2008/11/13/performance-tuning-hugepages-and-Linux/

---
See you soon

Dominique caly

Blog: http://orainternals.wordpress.com
Member of the OakTable and Oracle ACE
Co-author of the book "Expert Oracle practices":
http://tinyurl.com/book-expert-Oracle-practices/

Tags: Database

Similar Questions

  • Ask about the 'top' of Linux on Linux for oracle user command

    It's the output of the 'top' command in one of my linux server hosting an Oracle instance with SGA 600 MB and 400 MB PGA. One instance is in this server.


    Top - 14:36:37 04:26, 3 users, load average: 0.05, 0.11 0.28
    Tasks: 124 1 total, running, 123 sleeping, 0 stopped, 0 zombie
    CPU: 0.2% us, sy 0.1% 0.0% ni, 66.6% id, 33.1% wa, 0.0% Hi, 0.0% if
    MEM: 12299332 k total, * 2569836 k * used, 9729496 k free, 61288 k buffers
    Swap: 20972816 k total, 0 k used, 20972816 k, 2274852-free updated k cached

    PID USER PR NOR VIRT RES SHR S % CPU % MEM TIME + COMMAND
    6345 oracle 16 0 37132 1752 1172 S 0,0 0,0 0:00.08 sshd
    6346 oracle 16 0 54004 1536 1208 S 0,0 0,0 0:00.02 bash
    6423 45376 0 16 10 oracle m 6228 S 0.0 0.1 0:00.25 tnslsnr
    6471 oracle 16 0 740 m 17 m 13 m S 0.0 0.1 0:00.02 oracle
    6473 oracle 16 0 739 m 15 m 12 m S 0.0 0.1 0:00.01 oracle
    6475 oracle 16 0 739 m 32 m 29 m S 0.3 0.0 0:00.07 oracle
    6477 oracle 16 742 m 0 50 m 44 m S 0,0 0,4 0:00.27 oracle
    6479 oracle 16 754 m 0 23 m 19 m S 0.0 0.2 0:00.43 oracle
    6481 oracle 16 0 739 m 24 m 20 m S 0.0 0.2 0:00.61 oracle
    6483 oracle 16 740 m 0 88 83 m m S 0.7 0.0 0:00.71 oracle
    6485 oracle 16 0 739 m 22 m 19 m S 0.0 0.2 0:00.01 oracle
    6487 oracle 16 0 740 m 30 m 25 m S 0.3 0.0 0:00.15 oracle
    6489 oracle 16 741 m 0 55 m 48 m S 0.0 0.5 0:00.29 oracle
    6491 oracle 16 0 739 m 24 m 20 m S 0.0 0.2 0:00.01 oracle
    6493 oracle 16 0 739 m 15 m 11 m S 0.0 0.1 0:00.01 oracle
    6495 oracle 16 0 739 m 14 m 11 m S 0.0 0.1 0:00.00 oracle
    6622 oracle 16 739 m 0 m 16 m 13 S 0.0 0.1 0:00.00 oracle
    6626 oracle 16 740 m 0 79 74 m m S 0.7 0.0 0:01.95 oracle
    6636 oracle 16 0 740 m 28 m 23 m S 0.0 0.2 0:00.06 oracle
    6638 oracle 16 0 739 m 16 m 12 m S 0.0 0.1 0:00.01 oracle
    6846 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
    6848 oracle 16 0 739 m 24 m 21 m S 0.0 0.2 0:00.04 oracle
    6850 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
    6852 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.01 oracle
    6854 oracle 16 0 739 m 30 m 26 m S 0.3 0.0 0:00.12 oracle
    6856 oracle 15 0 739 m 28 m 24 m S 0.0 0.2 0:00.18 oracle
    6858 oracle 15 0 740 m 40 m 35 m S 0.3 0.0 0:06.39 oracle
    6862 oracle 16 0 739 m 32 m 28 m S 0.3 0.0 0:02.25 oracle
    6864 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
    6866 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.03 oracle
    6868 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
    7480 oracle 15 0 37264 1668 1092 S 0,0 0,0 0:00.15 sshd
    7481 oracle 15 0 54004 1528 1196 S 0,0 0,0 0:00.05 bash
    10333 oracle 16 0 739 m 20 m 16 m S 0.0 0.2 0:00.00 oracle
    10337 oracle 15 0 6168 1080 768 R 0,0 0,0 0:00.00 top

    RAM total as seen from the high command is 12G.
    * 2569836 *-total RAM that is currently used.

    How I see the total RAM used by all Oracle processes running on that server. The server is Linux X 86 64 bit. I can summarize the values under the column 'VIRT' command 'top' to see the total RAM used?

    Is it possible to see the total RAM and CPU used by top Oracle?


    "VIRT" is the virtual memory - what is related to the figure above, which is the physical memory (RAM)?

    Thanks in advance
    SSN

    Published by: SSNair on October 21, 2010 02:39

    Oracle used shared memory to implement the CMS, which was the largest consumer of memory of the Oracle instance. The problem is that in of many modern operating system, including linux, it is difficult to define the use of memory real fo software. This is because the memory used by a process consists of shared (for example, shared memory, shared library, executable code) and private components (for example, the heap, stack). Utilities such as top, ps, etc. provides all the visible memory through a process, regardless of whether or not it is shared. Accordingly, the total amount of VIRT etc. will be inflated by shared components. A more accurate figure of the use of memory, shared memory / library / code should be counted once.

    Before 11g, Oracle used System V ipc, and it is possible to control the amount of memory allocated by using IPCS. 11 g, Oracle passed to/dev/SHM, use df to check memory allocation. (Thanks user11150436)

    The figure of "Mem used" in the upper part is the actual use of memory: shared memory and the library are not counted multiple. However, Linux always puts in cache (read before actually requested) and disk i/o buffer (writing after completion of signaling). Therefore, "Used Mem" is almost always of very nearly the amount of physical memory. "Used Mem' - 'buffers' - 'cached' reflects the memory actually used by the operating system and all the programs most accuately.

    And you can use the pmap utility to check the memory card. Can classify you the use of memory sharable and unsharable to calculate a more accurate result, adapted to your need. You need knowledge of OS to understand the output.

  • Distro Linux for Oracle 11g

    Hello

    What is the difference to run the Oracle 11 g on RHEL or SUSE-EL database?

    I know that these linux distributions are very good, but are a technical difference between Linux distributions?

    Kind regards

    Bueno

    Hello

    No, there are no major technical differences between these two distributions. The installation procedure may vary a bit, but nothing else.

    Kind regards

    Mario Alcaide

    http://marioalcaide.WordPress.com

  • How do to the size of the log buffer reduce with huge Pages Linux

    Data sheet:

    Database: Oracle Standard Edition 11.2.0.4

    OS: Oracle Linux 6.5

    Processor: AMD Opteron

    Sockets: 2

    Carrots / power outlet: 16

    MEM: 252 GB

    Current SGA: GB 122 automatic shared memory (EAMA) management

    Special configuration: Linux huge Pages for 190 GB of memory with the page size of 2 MB.

    Special configuration II: The use of the LUKS encryption to all drives.

    Question:

    1. How can I reduce the size of the log buffer? Currently, it appears that 208 MB. I tried to use log_buffer, and it does not change a thing. I checked the granule size is 256 MB with the current size of the SGA.

    Reason to reduce:

    With the largest size of log buffer the file parallel write newspaper and the synchronization log file is averaged over 45 ms most of the time because she has dumped a lot of stuff at the same time.

    Post edited by: CsharpBsharp

    You have 32 processors and 252 GB of memory, so 168 private discussions, so 45 MB as the public threads size is not excessive.  My example came from a machine running Oracle 32-bit (as indicated by the size of 64 KB of threads private relative to the size of 128 KB of your son) private with (I think) 4 GB of RAM and 2 CPUs - so a much smaller scale.

    Your instance was almost inactive in the meantime so I'd probably look outside the Oracle - but verification of the OS Stats may be informative (is something outside the Oracle using a lot of CPU) and I would like to ask you a few questions about encrypted filesystems (LUKS).  It is always possible that there is an accounting error - I remember a version of Oracle who report sometimes in milliseconds while claiming to centisecondes - so I'll try to find a way to validate the log file parallel write time.

    Check the forum for any stats activity all over again (there are many in your version)

    Check the histogram to wait for additional log file writes event (and journal of file synchronization - the lack of EPA top 5 looks odd given the appearance of the LFPW and and the number of transactions and redo generated.)

    Check the log file to track writer for reports of slow writes

    Try to create a controlled test that might show whether or not write reported time is to trust (if you can safely repeat the same operation with extended follow-up enabled for the author of newspaper which would be a very good test of 30 minutes).

    My first impression (which would of course be carefully check) is that the numbers should not be approved.

    Concerning

    Jonathan Lewis

  • What Linux RHEL (Linux Red Hat Enterprise Server 6.7) compatible for oracle database 11.2.0.4 with grid Infrastructure?

    Compatible Linux RHEL (Linux Red Hat Enterprise Server 6.7) for oracle database 11.2.0.4 with grid Infrastructure.

    Hi all

    We plan to patch Linux Redhat Enterprise Server (6.4 and 6.5) to 6.7.

    I tried Searchin' on support of oracle for the compatibility of the database for Linux patches, but not able to find accurate information.

    can anyone share the ID document or information related to it.

    If OS RHEL 6 update 4 to 6-7 update patch

    (1) is it compatible

    (2) bugs or problems reported

    (3) in addition to the binary link again than the DBA to perform any other

    Thank you

    Hello

    6.7 RHEL is certified for the database 11.2.0.3 or newer. In other words, it is certified for RHEL 6.7 11.2.0.4

    Certification information for the Oracle database on Linux x 86-64 (Doc ID 1304727.1)

    -Jonathan Rolland

  • Support of Oracle.  CPU for Oracle 10.2.0.4.0 platform 32 bit on Linux 32-bit

    Hi all

    I just wanted to know if oracle support the CPU patch for Oracle 10.2.0.4.0 platform 32 bit on the 32-bit linux platform.

    Any update on that highly is apprciated.

    Thanks in adavnce

    Then submit a Service request to get an official response.

    Nobody here can talk about Oracle Corp.

  • Why Linux is preferred for Oracle

    Why Linux is preferred for Oracle?

    I helped clients running databases Oracle of small, medium and large scale (from 500 MB to 10 TB total segment size) on a variety of platforms Unix, Linux and Windows environments.

    The primary consideration for platform in 90% of these configurations is what works the best with the application solution / they run on their databases. I am passionate about Linux for small and deployments of medium sizes due to the following:

    1. relatively stable (no need to worry about the restart mentioned scenario earlier)
    2 takes in charge virtually all Oracle database architectures you might need (CCR, single instance, warehouse, etc.)
    3. support of OS relatively cheap (especially if you go with Oracles OEL), own can operate on mid-range servers
    4. allows you to stuff more "fancy" like virtualization of servers, clustering OS filesystems in cluster, integration in Windows domains, etc if you need competent of your availability/recovery solutions data disaster.

    Of course, all this assumes there been no egregious mistake you make when you configure the server ;) This is usually the point 3 which marks better with it management, but it may be a learning curve important for companies that might be more familiar with the Microsoft platforms, for example.

    Personally, RHEL or OEL is my platform of choice for small to medium deployments that don't have no platform restrictions, as well as to run software such as Oracle Grid Control (and soon Cloud Control)

    But really, the question of the preference really depends on what you need your database to / support.

  • How to install Oracle 11 g on Linux for power?

    I installed RedHat Enterprise Linux 5.4 on server IBM PowerPC.

    Now, I want to install Oracle 11 g on it. But there is just no Oracle 11 g only downloads for Linux for power.

    Is there no workaround for Oracle 11 g can be installed under Linux market?

    Hello

    I think you can forget it. Oracle 10g R2 was the last version supported on Linux PowerPC.

    See you soon,.
    David

    OCP 9i
    http://www.oratoolkit.ch/knowledge/HOWTO/installation/OTN.php

  • Need to Patch ID for Oracle DB Ent Edition 11.1.0.7 on Linux x 86-64

    Hi all

    Anyone happen to know the id of the patch for Oracle DB Ent edition 11.1.0.7 on Linux x 86-64 on the Oracle support site?

    Hello

    It's the 6890831 ID of patch.

    Best regards
    Jean Valentine

  • SUSE linux is the best for Oracle 9i or not

    Hi all

    I want to know if linux SUSE for ORacle 9i is better or not. My boss wants to migrate our course Oracle 9i on Solaris 8 with Suse Linux storage without stroage.

    Will be the suse linux is good for oracle 9i and

    Is it true that it will support SUSE linux Oracle within 6 months...


    Please let me know...

    Click on the link in my last post, each operating system is listed.

    Nicolas.

  • where can I get the software for oracle database 11g RAC installion

    pls can someone tell me where to download the installation software for oracle database 11g RAC with Yes which has the option of installing RAC database on, I the installation of database 11g software, but it does not include the installation of database RAC inside option, I heard someone say that the installer of oracle database 11g in oracle's Web site is not used to install a RAC database is it true? If that's how to make one that installs the RAC DATABASE.

    Download page:
    http://www.Oracle.com/technology/software/products/database/Oracle11g/111060_linuxsoft.html

    -Oracle Database 11 g Release 1 (11.1.0.6.0) for Linux x 86
    linux_11gR1_database_1013.zip (1,844,527,800 bytes) (cksum - 1044354138)

    -Oracle Clusterware 11 g Release 1 (11.1.0.6.0) for Linux x 86
    linux_x86_11gR1_clusterware.zip (244,660,141 bytes) (cksum - 820583335)

    Maybe you need to download is: Clusterware Oracle 11 g

    Document: Oracle® database 2 day + Real Application Clusters guide 11 g Release 1 (11.1)
    http://download.Oracle.com/docs/CD/B28359_01/RAC.111/b28252/TOC.htm

  • Driver Linux for Dynadock PA3575E-1PRP

    We have several Dynadock at work and you are migrating to Linux. Is there a driver for it?

    Thank you.

    Hello

    Toshiba doesn't offer support for Linux on Toshiba download page you will not find driver Linux for this.

  • Oracle on Linux VS Oracle under Windows

    Hello

    I've been using oracle on 64-bit windows 8 for recent years.

    Is there a big difference in performance between Oracle on Oracle VS Linux on Windows?

    Can I migrate to Linux and start learning early on my curve?

    Kind regards

    Hussien Sharaf

    Hello

    Most people will tell you that Linux is the best OS for the execution of Oracle database. In General, Windows has a bad reputation when it comes to Oracle databases running.

    I worked with both platforms and from my point of view, Windows is as good as Linux in terms of performance.

    Oracle supports all Windows and there is a lot of customers Oracle that works with Windows. What is more, Linux requires the DBA to have system administration skills more than Windows. Windows is simpler and easier to manage and deploy in terms of 'Skills' If you team COMPUTER lacks these skills, it will be problematic to install more advanced as RAC environments.

    Google will show you that this question is common and you can find more information in the following links:

    ORACLE is slower on Windows and on Linux?

    http://www.Scribd.com/doc/3713222/comparison-Oracle-Windows-Linux

    Windows Linux vs Oracle Oracle

    Linux vs. Windows: For the Oracle database?

    Which OS is best for optimal performance for Oracle? -Toolbox for IT groups

    Bottom line:

    • Choose the operating system really depends on what you the company is used to work with and comfortable you and your sysadmins with each platform.
    • I think that finally, you will have to perform (repositories) stress tests yourself in order to be 100% sure that Windows can provide as good as Linux performance in order to get the confidence you need.
  • Linux and oracle database installation best practices windows

    can anyone recommend the guide of best practices for the installation/design of windows/Linux oracle database servers.

    Microsoft, sql Server, provide a number of useful resources on the evolution of the default parameters that can die of hunger the operating system of resources, where to and where not to store the data in files/logs etc etc, but I've yet to find a similar guide for Oracle. Research on best practices during the installation/initial design in order to avoid the risk of recovery/redundancy later on any line, reliability, availability, performance. Guidance most welcome.

    See following note metalink on system requirements for the different versions:

    (Doc ID 169706.1) - database Oracle (RDBMS) Unix AIX, HP - UX, Linux, Mac OS X, Solaris, Tru64 Unix OS Installation and Configuration requirements checklist (8.0.5 to 11.2)

    Online Oracle Database Documentation 11g Release 2 (11.2)

    -Som

  • Home page by default for OBIEE 11 g based on the users and the wise group

    Hi all

    I'm using OBIEE 11 g.

    I need set the page default dashboard for the user and the wise group.

    EX:

    User1 is belongs to Group1 and Role1 - they need to see the default homepage as Dashboard1.

    User2 is belongs to the Group 2 and Role2 - they need to see the default homepage as Dashboard2.

    Kindly guide me to achieve.

    Please answer as soon as POSSIBLE.

    Thanks in advance.

    RR

    It is generally considered poor form to scream as soon as POSSIBLE to a question. http://www.CatB.org/ESR/FAQs/smart-questions.html

    As far as your question goes, it is that the CHEMINPORTAIL variable is for:

    http://docs.Oracle.com/CD/E23943_01/bi.1111/e10540/variables.htm#i1013436

    OBIEE - system (reserved variables) session variables | GerardNico.com (BI, OBIEE, data warehouse and OWB)

Maybe you are looking for

  • I bought the iPhone 6 I have the cloud on which is active and I did not I have cloud id and password of any solution?

    I bought the iPhone 6 I have the cloud on which is active and I did not I have cloud id and password of any solution?

  • Notes on IOS 9.3.1 not synchronized with iCloud

    Does anyone have a solution for Notes on IOS 9.3.1 not synchronized with iCloud? I tried everything and even resorted to a full fee reinstall IOS 9.3.1 on my Iphone and always used to synchronize notes. Tried signing in and out of the iCloud several

  • SQL database

    Hi all I'm new to SQL, I configured teststand for MySQL version connector 3.5 x as the instrunction I have updated configuration settings.and game the results of my sql database. I get the above error. Help solve the on error. Kind regards Padugur

  • Windows error messages install 1601 and 1635

    My Gateway computer works very well except for all Microsoft Office like Word, Excel and Outlook programs.  My Quickbooks Easy Start is to have the same problems.  Until the 10/30 each of them worked well, too.  I did a big cleanup with my system Sui

  • Printer 6510 problem to put back together again!

    Hi all.  I had a printer jam on my photosmart HP 6510. After several attempts, I was able to clear the jammed paper, but in doing so, I had to lift the printer by hand under the printer to clear some paper to the back of the lower part of the tray of