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

Similar Messages

  • 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

  • How to change/crop to larger page size?

    Hi,
    I have the following script to loop through each page in a document, check if each page is A4 Portrait size, and if it is, change it to US Letter paper size:
    //Change Portrait A4 Page Size to US Letter Size
    //Values are in points and there are 72 points per inch
    //Check if page is Portrait A4 size (if Yes, then crop to US Letter otherwise ignore)
    for (var i=0; i<this.numPages;i++){
    var rCrop = this.getPageBox("Crop",i);
    if (this.getPageBox("Crop",i)[1]<842 && getPageBox("Crop",i)[1]>841 && getPageBox("Crop",i)[2]<596 &&
    getPageBox("Crop",i)[2]>595){
    rCrop[0] -= 8.28; // Adjust Left Side
    rCrop[1] -= 24.84; // Adjust Top Side
    rCrop[2] += 8.28; // Adjust Right Side
    rCrop[3] += 24.84; // Adjust Bottom Side
    this.setPageBoxes("Crop",i,i,rCrop);
    The script crops the top and bottom of each page correctly, but only expands the width of the left and right sides on the first page. After doing some experiments it seems the script will crop pages to a smaller size but struggles to expand pages to a larger size (in converting from A4 to US Letter I need to crop top and bottom to smaller size, but expand left and right sides to larger size). I tried changing "Crop" to "Media" but this didn't help.
    Any ideas?
    Many thanks. HJ

    The page size options are limited, but are in the crop tool. If there are no tags or other markup, you can also print to a new PDF and adjust the size in the printer interface -- sometimes the simplest method, but not normally recommended. The rotation can be done in the document menu and then saved. The rotation that is typically on the toolbar are only for the current view and does not save with the PDF. Many of these you can use a batch process to resolve (in AA8 that is under the Advanced>Document Processing). The better method is to setup your Adobe PDF printer to create the correct page size and orientation in the future. You can setup to typically expand to fit, select a paper size, and have the settings set to auto-rotate. The later is based on the text that is found on the page. The margin elimination is also part of the crop tool. Hopefully this at least gives you some things to look at. Unfortunately, the tools get moved around with every version, so you may have to search for the tools.

  • Printing a PDF at a larger page size

    Proabably an easy fix but I hit a wall,  my document is 13"x19" and I want to print it out full frame on our 4880 but it keeps defaulting to 8.5x11", how can I change the page size (or where) so it prints the full 13"x19"s?
    Thanks

    I have a similar problem, question related to this thread. Even though I have set up Adobe Acrobat 8 to print to my Epson 1400 at Super-B size (even using custom size of 13x19") in page set-up, it seems to be printing my page like it's a 'cropped 8.5x11" page. No matter what I have tried, I can't get this to print full-page. It was working last week (or a few weeks agoand it's possible that the last OS patches screwed this up somehow maybe. I can't recall when I printed and when the other installs were done. It will print fine from Photoshop, full page (as I did that last week).
    I am using a Mac, OS 10.5 latest version, and I have uninstalled, and resinstalled the epson print drivers, removed and added the printer from the OS, trashed Adobe Acrobat's prefs, restarted my computer and acrobat... and I'm at the end of my rope not being able to think of anything else to try. Any help or suggestions on this one? I'm stumped and need to print these pages out properly! I have to print them from Acrobat to get consistent color on what I'm printing so I can't print from in Design...
    HELP!

  • Solaris 9 Container - Large Page Sizes

    hello,
    I have recently installed a Solaris9 branded container on a T5440 box, and have an issue with MPSS in the container, please see below…
    I run pagesize –a in the global zone and get this:
    8192
    65536
    4194304
    268435456
    I run pagesize –a in a Solaris 9 branded container and only get:
    8192
    I have a similar setup on our new 5240 dev box but the container and global zone both have the same output.
    Can anyone point me in the right direction?

    I do not recall how MPSS works in detail, but i think it was enhanced in Solaris 10, where it works out of the box.
    I think you have to do something in the Solaris 9 zone to get it to work.
    Perhaps this document can provide some details;
    http://www.sun.com/blueprints/0304/817-5917.pdf
    .7/M.

  • Efficient page size for print and SWF doc?

    I have to create an AR for a client who wishes to have it saved out as a SWF file for online usage, in addition to the printed books. I'm just wondering if there's a more efficient page size, other than 8 1/2 x 11", that would work better for online. As it is, I find the 8 1/2 x 11 size is a bit difficult to turn the pages in SWF. Comments please?
    Thanks in advance.
    Sandra

    You are right and wrong.  It stems from terminology and taking this a bit literally.  Yes, margins do not print.  However, they do print.  Typically you set margins as "guides" for page layout and it ends there.  If, you have elements that print in the margin areas, then they ( the elements ) will print.  Let's say you have a business card layout that equal 2"h x 3.5" w ( horizontal ).  You can set a margin of .25" all the way around the card as a guide. Now you apply a background bleed color of 100% Black at 2.25"h x 3.75"w ( 1/8" bleed all the way around ).  Eventhough you have a margin of .25", the Black will print entirely including the bleed.  Now, Page Margins are different.  Most desktop printers do not include bleed in an 8.5" x 11" page size.  For instance, my inkjet printer has non-printable areas or page margins that do not print.  They equal something like .139" top, left, and right with a bottom margin of .6".  Unless your printer has an option for "borderless" printing, there is a non-printable margin in the Page Setup.  This is different than layout margins which are printable and used as guides.  So, if your desktop printer does not have "borderless" printable areas ( option found in Print > Page Setup ), you'd have to print your 8.5" x 11" layout on a larger page size and then trim it down later.  Let me know if you have any other questions.  I hope I cleared it up for you.  Let me know if I didn't.

  • Custom landscape page size - - content squashed portrait

    I'm trying to create a PDF for an MS PowerPoint file with a very large page size, 46" x 36" (landscape). I'm using Acrobat 7.0 on Windows XP.
    In keeping with guidelines at www.adobeforums.com/webx/.3bbad46c/0 I selected the printer properties and created a new form with the desired values, entering the dimensions as if it were portrait, 46" height and 36" width. I also created a custom Adobe page size using the same dimensions. Under "Layout" I chose "landscape."
    The output file has the correct dimensions with a landscape orientation. However, the content is squashed onto the left side of the page with a very wide left margin, as if Acrobat were trying to fit the content into portrait-oriented dimensions. Words are overwritten on top of one another and it looks horrible.
    Just to check, I went back into the form preferences and the page size and individually changed first one and then the other to have the correct landscape height and width. Neither approach worked.
    Any thoughts?

    Oops, sorry, looks like I'm in the wrong forum.

  • PDF custom landscape page size - - content squashed portrait

    I'm trying to create a PDF for an MS PowerPoint file with a very large page size, 46" x 36" (landscape). I'm using Acrobat 7.0 on Windows XP.
    In keeping with guidelines at www.adobeforums.com/webx/.3bbad46c/0 I selected the printer properties and created a new form with the desired values, entering the dimensions as if it were portrait, 46" height and 36" width. I also created a custom Adobe page size using the same dimensions. Under "Layout" I chose "landscape."
    The output file has the correct dimensions with a landscape orientation. However, the content is squashed onto the left side of the page with a very wide left margin, as if Acrobat were trying to fit the content into portrait-oriented dimensions. Words are overwritten on top of one another and it looks horrible.
    Just to check, I went back into the form preferences and the page size and individually changed first one and then the other to have the correct landscape height and width. Neither approach worked.
    Any thoughts?

    Oops, sorry, looks like I'm in the wrong forum.

  • Different Page sizes in the same Framemaker Document

    Is there any way in Framemaker to create different page sizes ( say A4 & A3) simultaneously, either as body pages or master pages, in a long, multi-page document ? The long pages (A3 size) will be folded and tucked inside to fit the width of the A4 size page. Is there something obvious that I am missing ?
    -appu g

    Ian,
    Whether the printer adjusts to different page sizes automatically is a function of the printer, not Frame. A number of printers that have feeds for different size sheets will automatically adjust for you, provided you select "automatic" for your page size preference.
    If the PDF is for print, then I wouldn't worry about it either -- set the file up to print with crop marks and print it on your larger sheet size.
    If the PDF is for online customer viewing, I'd probably do the same thing but without crop marks and either:
    * Use Acrobat to crop the small pages out of the larger page size. Although you can add different size pages here and there as required, that's more fiddly and time consuming than cropping sets of pages in batch mode.
    or
    * let the reader use their copy of Acrobat Reader to set the magnification setting -- the default setting is "automatic."
    Art

  • 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

  • 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.

  • What is consisdered a good overall page size for a Dreamweaver 8 web site?

    With the new hi res and larger sized moniters should I start ctreating my web sites with a larger page size than 780 pxl x 496 pxl I've been using the last few years. I know it's a question with no right answers but hope there a rule of thumb to sizing that is more up to date for the newer broswer windows than I've been using. - Ned

    It depends on how much content you need display per page and the viewport of your intended Target Audience.  Google knows what people use and they have a cool tool to demonstrate it below:
    http://browsersize.googlelabs.com
    Cowboy,
    My only objection to Liquid layouts is that they can be resized to an uncomfortable viewing width on super wide displays.   IMO text that spans too many columns is difficult to read and 100% can get really ugly.
    I prefer semi-liquid layouts.  Resizable, within limits.
    #wrapper {
    width: 80%;
    min-width: 600px;
    max-width: 1300px;
    margin: 0 auto; /**centered**/
    Or, if content is sparse, I build to approx. 970px fixed-width, centered.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Possible to enlarge white space by changing page size?

    Greetings.  I'm using Acrobat 10 pro now, but in 9  it was possible to enlarge the white space around the text by changing the page size as part of the crop command.  This was very handy for creating an area large enough for text box comments.  I can't find this capability in 10.  Am I, hopefully, mistaken?

    Select: Tools > Pages > Crop
    and then double-click on the page. You'll then get the Crop dialog and you can select a larger page size in the CHange Page Size area.

  • Large Pages setting

    Hello all,
    We recently created a new 11.2.0.3 database on Red Hat Linux 5.7. It's running in ASMM
    Database settings
    sga_target set to 10G
    sga_max=12G
    memory_target=0.
    memory_max=0
    pga_aggregate_target =12G.
    Host Specs
    Total RAM = 128GB
    Total CPUs = 4 @ 2.27GHz
    Cores/CPU = 8
    During instance startup, we get the following message.
    ****************** 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
    Has anyone seen this recommendation message during startup and acted upon it? if yes, what kind of modification was performed.
    Thanks for your time.

    From 11.2.0.2 new parameter was added i.e use_large_pages, now whenever the database instance is started it will check for huge pages configuration and there for produce the warning if Oracle will allocate part of the SGA with hugepages and the resting part with normal 4k pages.
    USE_LARGE_PAGES parameter has three possible values "true" (default), "only", and "false".
    The default value of "true" preserves the current behavior of trying to use hugepages if they are available on the OS. If there are not enough hugepages, small pages will be used for SGA memory.
    This may lead to ORA-4031 errors due to the remaining hugepages going unused and more memory being used by the kernel for page tables.
    Setting it to "false" means do not use hugepages
    A setting of "only" means do not start up the instance if hugepages cannot be used for the whole memory (to avoid an out-of-memory situation).
    There is not much written about this yet, but i'm able to find some docs in metalink and from blogs. Hope this help.
    Large Pages Information in the Alert Log [ID 1392543.1]
    USE_LARGE_PAGES To Enable HugePages In 11.2 [ID 1392497.1]
    NOTE:361323.1 - HugePages on Linux: What It Is... and What It Is Not...
    Bug 9195408 - DB STARTUP DOES NOT CHECK WHETHER HUGEPAGES ARE ALLOCATED- PROVIDE USE_HUGEPAGES
    http://agorbyk.wordpress.com/2012/02/19/oracle-11-2-0-3-and-hugepages-allocation/
    http://kevinclosson.wordpress.com/category/use_large_pages/
    http://kevinclosson.wordpress.com/category/oracle-automatic-memory-management/

  • 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

Maybe you are looking for

  • List of deleted sales orders

    How can we find the list of deleted sales order documents. Is there any specific table.

  • Error while starting integrated weblogic server in JDeveloper

    The following error has come when i updated my jdeveloper with webcenter extensions and restarted the jdeveloper. Just to confirm, i reinstalled the Jdev and did the update again, still the error persists, but before the update the server was startin

  • Adobe Media Encoder CS5.5 crashing (not responding) when adding files

    Hello, I am running AME CS5.5 on a late 2010 MacBook Pro.  I have been trying to create some broadcast quality .mpg files for my local cable provider's Video On Demand service but AME keeps crashing on me whenever I add a .mov file to the queue.  I a

  • Fonts and Infinality

    This is not so much of an issue as more a query to test I understand this correctly. Basically I installed the ubuntu patch fonts to get what I felt might be more attractive fonts, but it turned out too blurry for my liking, moreso than actual Ubuntu

  • IPod touch 4th Gen will not update or restore

    I've been trying to update my IPod Touch via iTunes and now it is stuck in restore mode. You got to update and download the software but it doesn't install and keeps taking you back to restore but it just downloads the software update again etc etc.