Maximum Large Pages

Hi
I have RHEL 6.4 with 128GB RAM
I have big database
The database is the only service on this box.
what is the optimal number of large pages I can have in the box ?
(to not disturb the OS )
Tanks for your help

> I have RHEL 6.4 with 128GB RAM
> I have big database
> The database is the only service on this box.
> what is the optimal number of large pages I can have in the box ?
Depends what you want.
Based on the information you have supplied, I would recommend a HugePages value between 0 GB and 127 GB.
How large is your application?
What kind of application is it?
What is the locality in its data access?  Sequential?  Random? 
How long should any cached data be kept in memory just in case it is needed again?
How much data does the application need to read and write?
The DB install guide has some recommendations on calculating the size of the shared global area (SGA); use them.
Do not enable Automatic Memory Management (AMM) because AMM is just a poor-man's HugePages.
Does your DB use many table joins?  Few joins but lots and lots of data rows?
Remember your SGA must fit entirely within the HugePages area else you will get massively-degraded performance.
I have RHEL 6.4 with 128GB RAM
I have big database
The database is the only service on this box.
what is the optimal number of large pages I can have in the box ?

Similar Messages

  • Beginners guide screwed|Is impossible to edit large pages on the wiki

    When you're trying to edit a large page on the wiki you get this message:
    WARNING: This page is 40 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
    Firefox can handle the 40kb but not the 107kb of the Begginers Guide for example.
    And when you do a change, if you dont preview it you get a shiny blank page instead of the document.
    I was trying to add one line to the Oficcial installation guide and ended up breaking it into two parts (i move the apendix to another page) to be able to recover it's contents.
    Some other person form #archlinux that was helping me with this issue also accidentally override the text from the Beginners guide, and we can't roll back it. So, any WikiAdmin can roll back the changes on the Beginners guide? and tell us (the normal users) how to edit long pages.
    Thanks
    Last edited by __void__ (2009-01-21 16:34:47)

    __void__ wrote:
    When you're trying to edit a large page on the wiki you get this message:
    WARNING: This page is 40 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
    Firefox can handle the 40kb but not the 107kb of the Begginers Guide for example.
    And when you do a change, if you dont preview it you get a shiny blank page instead of the document.
    I was trying to add one line to the Oficcial installation guide and ended up breaking it into two parts (i move the apendix to another page) to be able to recover it's contents.
    Some other person form #archlinux that was helping me with this issue also accidentally override the text from the Beginners guide, and we can't roll back it. So, any WikiAdmin can roll back the changes on the Beginners guide? and tell us (the normal users) how to edit long pages.
    Thanks
    Some other person here, sorry about that accidental Beginner's guide trash up
    Mr.Elendig wrote:For future reference, don't edit the whole page at once, just edit a section of it. When you are logged in, every section have a 'edit' button/link.
    Got it!
    Last edited by zaggynl (2009-01-22 09:35:03)

  • Large page sizes on Solaris 9

    I am trying (and failing) to utilize large page sizes on a Solaris 9 machine.
    # uname -a
    SunOS machinename.lucent.com 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-1000
    I am using as my reference "Supporting Multiple Page Sizes in the Solaris� Operating System" http://www.sun.com/blueprints/0304/817-6242.pdf
    and
    "Taming Your Emu to Improve Application Performance (February 2004)"
    http://www.sun.com/blueprints/0204/817-5489.pdf
    The machine claims it supports 4M page sizes:
    # pagesize -a
    8192
    65536
    524288
    4194304
    I've written a very simple program:
    main()
    int sz = 10*1024*1024;
    int x = (int)malloc(sz);
    print_info((void**)&x, 1);
    while (1) {
    int i = 0;
    while (i < (sz/sizeof(int))) {
    x[i++]++;
    I run it specifying a 4M heap size:
    # ppgsz -o heap=4M ./malloc_and_sleep
    address 0x21260 is backed by physical page 0x300f5260 of size 8192
    pmap also shows it has an 8K page:
    pmap -sx `pgrep malloc` | more
    10394: ./malloc_and_sleep
    Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
    00010000 8 8 - - 8K r-x-- malloc_and_sleep
    00020000 8 8 8 - 8K rwx-- malloc_and_sleep
    00022000 3960 3960 3960 - 8K rwx-- [ heap ]
    00400000 6288 6288 6288 - 8K rwx-- [ heap ]
    (The last 2 lines above show about 10M of heap, with a pgsz of 8K.)
    I'm running this as root.
    In addition to the ppgsz approach, I have also tried using memcntl and mmap'ing ANON memory (and others). Memcntl gives an error for 2MB page sizes, but reports success with a 4MB page size - but still, pmap reports the memcntl'd memory as using an 8K page size.
    Here's the output from sysinfo:
    General Information
    Host Name is machinename.lucent.com
    Host Aliases is loghost
    Host Address(es) is xxxxxxxx
    Host ID is xxxxxxxxx
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Manufacturer is Sun (Sun Microsystems)
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    System Model is Blade 1000
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    ROM Version is OBP 4.10.11 2003/09/25 11:53
    Number of CPUs is 2
    CPU Type is sparc
    App Architecture is sparc
    Kernel Architecture is sun4u
    OS Name is SunOS
    OS Version is 5.9
    Kernel Version is SunOS Release 5.9 Version Generic_112233-11 [UNIX(R) System V Release 4.0]
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Kernel Information
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    SysConf Information
    Max combined size of argv[] and envp[] is 1048320
    Max processes allowed to any UID is 29995
    Clock ticks per second is 100
    Max simultaneous groups per user is 16
    Max open files per process is 256
    System memory page size is 8192
    Job control supported is TRUE
    Savid ids (seteuid()) supported is TRUE
    Version of POSIX.1 standard supported is 199506
    Version of the X/Open standard supported is 3
    Max log name is 8
    Max password length is 8
    Number of processors (CPUs) configured is 2
    Number of processors (CPUs) online is 2
    Total number of pages of physical memory is 262144
    Number of pages of physical memory not currently in use is 4368
    Max number of I/O operations in single list I/O call is 4096
    Max amount a process can decrease its async I/O priority level is 0
    Max number of timer expiration overruns is 2147483647
    Max number of open message queue descriptors per process is 32
    Max number of message priorities supported is 32
    Max number of realtime signals is 8
    Max number of semaphores per process is 2147483647
    Max value a semaphore may have is 2147483647
    Max number of queued signals per process is 32
    Max number of timers per process is 32
    Supports asyncronous I/O is TRUE
    Supports File Synchronization is TRUE
    Supports memory mapped files is TRUE
    Supports process memory locking is TRUE
    Supports range memory locking is TRUE
    Supports memory protection is TRUE
    Supports message passing is TRUE
    Supports process scheduling is TRUE
    Supports realtime signals is TRUE
    Supports semaphores is TRUE
    Supports shared memory objects is TRUE
    Supports syncronized I/O is TRUE
    Supports timers is TRUE
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Device Information
    SUNW,Sun-Blade-1000
    cpu0 is a "900 MHz SUNW,UltraSPARC-III+" CPU
    cpu1 is a "900 MHz SUNW,UltraSPARC-III+" CPU
    Does anyone have any idea as to what the problem might be?
    Thanks in advance.
    Mike

    I ran your program on Solaris 10 (yet to be released) and it works.
    Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
    00010000 8 8 - - 8K r-x-- mm
    00020000 8 8 8 - 8K rwx-- mm
    00022000 3960 3960 3960 - 8K rwx-- [ heap ]
    00400000 8192 8192 8192 - 4M rwx-- [ heap ]
    I think you don't this patch for Solaris 9
    i386 114433-03
    sparc 113471-04
    Let me know if you encounter problem even after installing this patch.
    Saurabh Mishra

  • How do i convert several large pages files to pdf?

    how do i convert several large pages files to pdf?

    Hello:
    Open Pages.  Go to the menu bar>file>export.  Select PDF.  The size of the file should be irrelevant.
    Barry

  • Total Shared Global Region in Large Pages = 0 KB (0%)

    Hi ,
    Am working on Oracle Database 11.2.0.3 ,
    Application 12.1.3.
    i see this message in the alert log file :
    ****************** Large Pages Information *****************
    Total Shared Global Region in Large Pages = 0 KB (0%)
    Large Pages used by this instance: 0 (0 KB)
    Large Pages unused system wide = 0 (0 KB) (alloc incr 32 MB)
    Large Pages configured system wide = 0 (0 KB)
    Large Page size = 2048 KB
    RECOMMENDATION:
    Total Shared Global Region size is 12 GB. For optimal performance,
    prior to the next instance restart increase the number
    of unused Large Pages by atleast 6145 2048 KB Large Pages (12 GB)
    system wide to get 100% of the Shared
    Global Region allocated with Large pages
    What should i do ?
    Thanks

    You definitely are not using hugepagesd. That's what the message you mentioned above is telling you:
    Total Shared Global Region in Large Pages = 0 KB (0%)It very clearly tells you that you have 0KB or 0% is in large pages.
    Note that the terms "large pages" and "hugepages" are synonymous. In Linux, they're called hugepages.
    Also, at the O/S level, you can do:
    cat /proc/meminfoTo see how many hugepages are allocated/free/reserved.
    Hope that helps,
    -Mark

  • Using large pages on Solaris 10

    Hello,
    I�ve some problems to use large pages ( 16k, 512k, 4M ) on two Primepower650 systems. I�ve installed the most actual kernel 127111-05.
    The pagesize -a command respond 4 page sizes ( 8k, 16k, 512k, 4M ). Even if I try the old manual method using LD_PRELOAD=mpss.so.1 and a mpss.conf file to force large pages the pmap -sx <pid> shows only 8k for stack,heap and anon. Only for shared memory 4M DISM segments are used. I didn�t receive any error message. Two other primepower systems with the same kernel release works as expected.
    What can I do for further troubleshooting ? I�ve tried different kernel settings all without effect.
    Best regards
    JCJ

    This problem is now ( paritially ) solved by the Fujitsu-Siemens edition of kernel patch 127111-08. The behaviour is now like Solaris 9 because large pages must be forced by LD_PRELOAD=mpss.so.1 and still didn�t work out of the box for this kind of cpu ( Sparc GP64 V only ). All available page sizes ( 8k, 64k, 512k and 4M ) can now be used by configuring the /etc/mpss.conf. Unfortunally large pages out-of-the-box are not working on this kind of cpu and the actual kernel patch. This is not so nice because on large systems with a lot of memory and a lot of large processes there may be still a lot of TLB misses. So I still wait and test further as soon as new kernel patches are available.
    JCJ

  • Large page format PDF Cropping

    Hi I have recently upgraded to  CS5. I am using a Mac Quad Core Intel Xeon with Snow lepoard OS.
    My problem  is that im trying to PDF a large page size from Indesign, i go through  the usual chanel of print setup, i click on Manage Custom Sizes
    Enter the  new size, return to the setup window ensure every thing is to 100 %  scale crop mark etc and save as post script. i then take the document  into distiller. The output is an A3 cropped version of the bottom left  corner.
    I  have read Snow lepoard is not dependant on the PDF Wrtiter print drive  any more? so should i use my Laser printer driver with the bespoke page  size? there seems to be little or contradictory information on this  subject.
    If  any one could offer some insight i would be most grateful. Thanks

    This is really an InDesign issue and not PDF, but I'll answer.
    Use File->Export to create the PDF.
    Creation of PDF from Creative Suite applications should ALWAYS be done using Export/Save As and NEVER using printing.

  • Windows 7 - Large Pages

    While I was performing some benchmarks on my W520, I became aware that there is a function in Windows 7 called Large Pages. Essentially setting this policy for either a single user or a group greatly reduces the TLB overhead when translating memory addresses for applications in storage. The normal page size is 4KB. Large Pages sets the page size to be 2MB. The smaller number was useful when there was only a relatively small physical memory space available in the system (Windows 95, etc). However, as the addressable physical page space becomes larger, the overhead for translating addresses across page boundaries starts to be significant. Linux has an equivalent function.
    Here's a screenshot of where the setting (Lock pages in memory) is located:
     <----------------
    The memory bandwidth benchmark using SiSoftware Sandra 2012 showed a performance increase of 2.04% for normal operations  and a 2.9% increase for floating point operations. This was with only one user enabled. Enabling all users in the system brought an additional .5% performance increase. PCMARK7 also showed a corresponding increase in benchmark performance numbers.
    Thanks to Huberth for pointing me into the SiSoftware Sandra 2012 benchmarking software and the memory bandwidth warning.
    This is an extract from a memory bandwidth benchmark run:
    Integer Memory Bandwidth
    Assignment : 16.91GB/s
    Scaling : 17GB/s
    Addition : 16.75GB/s
    Triad : 16.72GB/s
    Data Item Size : 16bytes
    Buffering Used : Yes
    Offset Displacement : Yes
    Bandwidth Efficiency : 80.36%
    Float Memory Bandwidth
    Assignment : 16.91GB/s
    Scaling : 17GB/s
    Addition : 16.73GB/s
    Triad : 16.74GB/s
    Data Item Size : 16bytes
    Buffering Used : Yes
    Offset Displacement : Yes
    Bandwidth Efficiency : 80.34%
    Benchmark Status
    Result ID : Intel Core (Sandy Bridge) Mobile DRAM Controller (Integrated Graphics); 2x 16GB Crucial CT102464BF1339M16 DDR3 SO-DIMM (1.33GHz 128-bit) PC3-10700 (9-9-9-24 4-33-10-5)
    Computer : Lenovo 4270CTO ThinkPad W520
    Platform Compliance : x64
    Total Memory : 31.89GB
    Memory Used by Test : 16GB
    No. Threads : 4
    Processor Affinity : U0-C0T0 U2-C1T0 U4-C2T0 U6-C3T0
    System Timer : 2.24MHz
    Page Size : 2MB
    W520, i7-2820QM, BIOS 1.42, 1920x1080 FHD, 32 GB RAM, 2000M NVIDIA GPU, Samsung 850 Pro 1TB SSD, Crucial M550 mSata 512GB, WD 2TB USB 3.0, eSata Plextor PX-LB950UE BluRay
    W520, i7-2760QM, BIOS 1.42 1920x1080 FHD, 32 GB RAM, 1000M NVIDIA GPU, Crucial M500 480GB mSata SSD, Hitachi 500GB HDD, WD 2TB USB 3.0

    What kind of software do you use for the conversion to pdf? Adobe Reader can't create pdf files.

  • Oracle 10gR2 LARGE PAGE SIZE on Windows 2008 x64 SP2

    Hello Oracle Experts,
    What are the advantages of Large Page Size and how would I know when my DB will benefit from Large Page Sizes?
    My undeqrstanding is on Windows x64 – 8kb default page size – will now be 2 MB. Will this speed up accesses to buffer cache? If so is there a latch wait that I can monitor before vs. after to verify that large page size has improved performance?
    My Database server has 256GB RAM and SGA is set to 180GB. I am quite sure the overhead involved in maintaining a large number of 8kb allocations (as opposed to 2MB) must be high - how can i monitor this?
    I am planning to follow the procedure here:
    http://download.oracle.com/docs/html/B13831_01/ap_64bit.htm#CHDGFJJD
    The DB is for SAP on a 8CPU/48 core IBM x3950. For some reason SAP documentation does not mention anything about this registry setting or even if Large Page Size is supported in the SAP world.
    Part 2 : I notice that more recent Oracle patch sets (example 25) turn NUMA OFF by default. Why is this and what is the impact of disabling NUMA on a system like x3950 (which is a NUMA based server)?
    My understanding is Oracle would no longer know that some memory is Local (and therefore fast) and some memory is Remote (therefore slow). Overall I am guessing this could cause a real performance issue on this DB.
    -points for detailed reply!
    thanks a lot -

    Hello
    Thanks for your reply. I am very interested to hear further about the limitations of Windows 2008 and the benefits of Oracle Linux.
    Generally we find that Windows 2008 has been pretty good, a big improvement over Windows 2003 (bluescreens don't occur ever etc)
    Can you advise further about Large Page Size for the buffer cache? I assume this applies on both Windows and Linux (I am guessing there is a similiar parameter for 10gR2 on Linux).
    SAP have not yet fully supported Oracle 11g so this is why 11g has not made it into the SAP world yet.
    Can you also please advise about NUMA? regardless of whether we run Linux or Windows this setting needs to be considered.
    Thanks

  • RAC  windows 2003 64bit xeon  - Large Pages

    Hi all
    i have 2 node (windows 2003 64bit dual core xeon, 8GB RAM)
    oracle recommendet use large pages on 64bit insted LOCK_SGA, but when i use large pages and i set my sga_target=5GB after few minute in EM i see alert (stronicowanie virtual memory) i dont knew how i can write this, mayby swapping.
    how can avoid this?
    how i can check that oracle use large pages?
    meyby some intresting links?
    thanks to advice

    You don't run a scalability option on a basically unscabable O/S like Winblows, do you?
    Sybrand Bakker
    Senior Oracle DBA

  • How to manage large pages

    Just wondering... What is a good way to manage large pages?
    Let's say a page with a pannelTabbed with 7 or 8 tabs. Each tab shows a table that is bound to a different VO. Most of the tabs also have a add,delete,edit button and i'm using popups for that.
    So as you can see, their will be lots of bindings and lots of components on such a page.
    If i create all this on a single page i think it will be a few thousands of lines which is not realy nice...
    Should i create page fragments or create taskflows per tab or something like that?
    Currently i have created the page with just the panelTabbed and then for each tab i created a taskflow and dropped that inside the showDetailItem. For each popup, i also created a taskflow so i could reuse it later when i need the same popup in other pages.
    I'm wondering... what is a correct approach for such large pages. Are their any guidlines for this?

    Hi,
    we decided to use dynamic regions (11g) for our application.
    This means we only have 1 jspx for the whole application and exchange the content at runtime.
    For each "block" (e.g. a table, a tab or a popup) we have a single page fragment and task flow.
    One page fragment consists normaly only of one view object.
    With this concept we can reuse e.g. the same (similar) table on different pages too.
    Hope this helps.
    regards
    Peter

  • Opening Large Pages Files

    An odd one... I have a large Pages file (400 or so pages) I've been working on, first in Pages 08 and now in Pages 09. In 08, when I opened the file up, I was presented with the file and the cursor where I last saved it - ie at the very end of the document so I could just type and go. In 09, the cursor is where I left it (ie at the end), but I'm shown on screen what's in the file about 100 pages or so back.
    Bug?

    Report sent to Apple Bugs Hunters:
    Your tracking number for this issue is Bug ID# 6566312.
    Hello
    Given a long WP Pages document (186 pages).
    If I save it with the cursor in page 100 in current display mode, on next opening, the cursor is in page 100.
    If I do the same when using "full screen" mode, on next opening, the cursor is at end of doc.
    This is what I ALWAYS get on MY machine.
    Some users describe the same kind of odd behavior but they ALWAYS get the cursor in the MIDDLE of the document.
    Bizarre !
    See: http://discussions.apple.com/thread.jspa?threadID=1894090&tstart=0
    Yvan KOENIG (from FRANCE samedi 7 février 2009 19:02:12)

  • How to use large pages in AIX with oracle

    Hi,
    i'm trying to convince oracle to use large pages on AIX 5.3 but haven't
    suceeded so far.
    i set v_pinshm=1, maxpin%=80, lgpg_regions=448 and lgpg_size=16777216
    using 'vmo' and 'LOCK_SGA=true' in spfile. after rebooting and starting
    the instance 'svmon' shows no no large pages in use:
    # svmon
    size inuse free pin virtual
    memory 4046848 3711708 335140 2911845 1503108
    pg space 524288 5551
    work pers clnt lpage
    pin 1076604 0 233 1835008
    in use 1503010 0 373690 0
    pgsize size free
    lpage pool 16 MB 448 448
    SGA size is 3G. why doesn't oracle use large pages? i already have
    created a TAR but maybe an oracle-on-AIX expert can help me faster than
    oracle support :)
    regards,
    -ap

    Nice day Andreas,
    please do you have some solution for your issue, because I think I have similar problem,
    I set on AIX
    vmo -r -o lgpg_regions=192 -o lgpg_size=16777216
    vmo -o v_pinshm=1
    I see in svmon -G this output
    PageSize PoolSize inuse pgsp pin virtual
    s 4 KB - 1104431 2456 685141 874874
    L 16 MB 192 0 0 192 0
    these (16MB large pages) are free but when I want run BEA WebLogic server run with parametr -Xlp the application is run with standard 4K memory pages,
    thank you very much for any other hint,

  • Error: Java HotSpot(TM) 64-Bit Server VM warning: JVM cannot use large page

    Hi,
    i recently came across Error Message (coming up in webadmin Log view):
    ProcessMonitor: Java HotSpot(TM) 64-Bit Server VM warning: JVM cannot use large page memory because it does not have enough privilege to lock pages in memory
    when running Oracle NoSQL on Windows 7 64bit Home Premium system, having 8GB of physical RAM.
    I created the store configuration without explicitly passing a value for parameter memory_mb (was set to -memory_mb 0), so that replication group would take as much
    memory as possible, which found it's reflection in following line from store log:
    Creating rg1-rn1 on sn1 haPort=tangel-lapp:5.011 helpers=tangel-lapp:5011 mountpoint=null heapMB=7.007 cacheSize=5.143.454.023 -XX:ParallelGCThreads=4
    I was a bit surprised because of the fact that i definetly succeeded in running kvstore in this configuration, leading to store using 7007MB of memory.
    It was only possible to run kvstore when creating store configuration with memory configured to be less than 2GB.
    After searching google with error message mentioned above i came across some hints regarding activation of Huge Pages on Windows 7, which mentioned that it could be
    done on systems having at least Windows 7 Professional Edition.
    But finally i found a more helpful hint, referring to size of windows pagefile. As my machine uses an SSD as system disk and there some notes on deactivating pagefile when
    using an SSD, i did so some time ago.
    So i activated the pagefile on windows again and after doing so, the store came up without any problems.
    Maybe it's nothing new to some of you guys, but as there was nothing to be read about this fact in neither admin nor getting started guide, i just wanted to share this
    piece of information with you.
    Regards
    Thomas

    Charles,
    thanks for clarification, obviously i've overseen that in chapter "Installation prerequisites" of
    Admin Guide.
    By the way, are there any specific OS related settings, let's say "best practice" similar as it is
    referred to in documentation of "classic" Oracle Databases?
    Regards
    Thomas

  • How many is the maximum application pages for an iPhone?

    how many is the maximum application pages for an iPhone?

    Used to be 11, not sure but you can check here http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

Maybe you are looking for

  • WiFi Doesnt Work

    Hi, I've had my iPod Touch for over a year now. It's a 1st generation and my wifi used to work but now it just stopped. Sometimes it will just gray out and say No WiFi even though I'm using it here so i dont understand that. Sometimes the wifi will s

  • BIGINT in DB Connect

    Hi All,        I am trying to extract data through DB Connect. while creating the DataSource, based on a Table/View, I am not able to transfer the fields which has the DataType as BIGINT. Is there any ways that I can get this fields into BW? Regards,

  • What's the best way to use business objet?

    Hi all, Anybody can explain what's the more efficient way to retrieve data from the database by using business objects? I would like to load business partners information, but I'm using SBob object and recordset and it is very slow... If anybody have

  • IPOD cant see songs nor playlists?

    So my ipod doesnt let me see my lists of songs vertically nor my playlists. The only things it shows is the album covers horizontally. but i want my playlists. and is has nothing to do with clicking the lock icon because other apps tilt both vertical

  • Harddisk repair

    My harddisk says it need to be repaired, and I have to use the installation disk for it. My installation disk is Snow Leopard, but my current OSX is Lion. How can I repair my harddisk?