Mpss support on solaris 10

I would like to enable large heap pages for an application that may be experiencing high TLB miss rates, but I am having difficulty getting the tools to manipulate the page size to work correctly.
On SPARC, I can get the stack to use large pages, but not the heap. On x86, I cannot get either the stack or the heap to use large pages.
Here is a transcript of some experiments to adjust the page size for 'cat', first run on SPARC, and then repeated on an x86 machine.
user@sparc ~> cat /etc/release
Solaris 10 1/06 s10s_u1wos_19a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 December 2005
user@sparc ~> cat
^Z
Suspended
user@sparc ~> pmap -s `pgrep cat` | egrep "stack|heap"
0002A000 16K 8K rwx-- [ heap ]
FFBFE000 8K 8K rw--- [ stack ]
user@sparc ~> fg
cat
^C
user@sparc ~> pagesize -a
8192
65536
524288
4194304
user@sparc ~> ( setenv LD_PRELOAD mpss.so.1 ; setenv MPSSHEAP 4M ; setenv MPSSSTACK 4M ; cat )
^Z
Suspended
user@sparc ~> pldd `pgrep cat`
23276: cat
/usr/lib/mpss.so.1
/lib/libc.so.1
/lib/libgen.so.1
/platform/sun4u/lib/libc_psr.so.1
user@sparc ~> pmap -s `pgrep cat` | egrep "stack|heap"
0002A000 16K 8K rwx-- [ heap ]
0002E000 3912K - rwx-- [ heap ]
FF800000 4096K 4M rw--- [ stack ]
user@sparc ~> fg
( setenv LD_PRELOAD mpss.so.1; setenv MPSSHEAP 4M; setenv MPSSSTACK 4M; cat )
^C
user@sparc ~> ppgsz -o heap=4M,stack=4M cat
^Z
Suspended
user@sparc ~> pmap -s `pgrep cat` | egrep "stack|heap"
0002A000 16K 8K rwx-- [ heap ]
0002E000 3912K - rwx-- [ heap ]
FF800000 4096K 4M rw--- [ stack ]
user@sparc ~> fg
ppgsz -o heap=4M,stack=4M cat
^C
user@sparc ~>
Here, using either mpss.so.1 or ppgsz, I can adjust the stack page size, but not the heap.
The same set of tests run on x86:
user@x86 ~> cat /etc/release
Solaris 10 6/06 s10x_u2wos_09a X86
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 09 June 2006
user@x86 ~> cat
^Z
Suspended
user@x86 ~> pmap -s `pgrep cat` | egrep "stack|heap"
08047000 4K 4K rw--- [ stack ]
0806A000 12K 4K rw--- [ heap ]
user@x86 ~> fg
cat
^C
user@x86 ~> pagesize -a
4096
2097152
user@x86 ~> ( setenv LD_PRELOAD mpss.so.1 ; setenv MPSSHEAP 2M ; setenv MPSSSTACK 2M ; cat )
^Z
Suspended
user@x86 ~> pldd `pgrep cat`
19155: cat
/usr/lib/mpss.so.1
/lib/libc.so.1
/lib/libgen.so.1
user@x86 ~> pmap -s `pgrep cat` | egrep "stack|heap"
08047000 4K 4K rw--- [ stack ]
0806A000 12K 4K rw--- [ heap ]
0806D000 1612K - rw--- [ heap ]
user@x86 ~> fg
( setenv LD_PRELOAD mpss.so.1; setenv MPSSHEAP 2M; setenv MPSSSTACK 2M; cat )
^C
user@x86 ~> ppgsz -o heap=2M,stack=2M cat
^Z
Suspended
user@x86 ~> pmap -s `pgrep cat` | egrep "stack|heap"
08047000 4K 4K rw--- [ stack ]
0806A000 12K 4K rw--- [ heap ]
0806D000 1612K - rw--- [ heap ]
user@x86 ~> fg
ppgsz -o heap=2M,stack=2M cat
^C
user@x86 ~>
In this case, I cannot adjust either the heap or the stack size with either method.
The sparc machine is an Ultra IIe. The x86 machine is an AMD Opteron(tm) Processor 146.
Any insight would be appreciated.
Thanks.

your problem is aligment, the first heap/stack pages will be assigned before the mpss environment variables are read, it will not be aligned suitably for big pages so it will be small pages. If you then do a 8mb malloc you will see that the heap will grep by > 8m, it will grow in small pages to a 4mb alignment and then grow in 4mb pages, the same with the stack.
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
int
main ( int argc,char *ragv[]) {
char * fpp;
int i;
fpp = malloc(8192000);
for ( i = 0; i < 8192000;i = i+4096) {
fpp[i] = 23;
printf("fpp @ 0x%p to 0x%lx\n",
fpp, (uint32_t)fpp+8192000);
pause();
timu-home ksh: test1 &
fpp @ 0x8060a08 to 0x8830a08
[2] 3610
timu-home ksh: pmap -xs 3610 | grep -i heap
08061000 3708 3708 3708 - 4K rwx-- [ heap ]
08400000 8192 8192 8192 - 4M rwx-- [ heap ]
timu-home ksh:
I suspect the same is true of the stack, if you keep recursing to a 4m aligned
boundary it wil use 4m pages, else you can force it by moving your main to a
thread and pass you own 4m aligned buffer to thr_create() to use as a stack.
tim

Similar Messages

  • HTTP Server is not currently supported with Solaris 10

    I am having a problem to start the HTTP Server on Solaris 10 (I am installing HTTP Server as part of HTMLDB installation on Solaris 10).
    I had a problem to install it at first, however I've found on 'AskTom' that unsetting ORA_NLS33 helps and it did. Now I can't start the HTTP server and I've found on metalink that 'HTTP Server is not currently supported with Solaris 10, this is targeted for Q2CY05'.
    Has this been fixed yet?
    Thank you for your time.
    DanielD

    Hi james,
    I have checked the log file but i am unable to find what to do next.
    I am giving the small piece of content of the log file. The following messages are repeating again and again...
    Log content:-
    07/09/23 17:20:36 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:22:26 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:22:30 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:24:40 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:24:44 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:26:36 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:26:42 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:28:57 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
    07/09/23 17:29:01 Start process
    /dev011/oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd

  • Portal Server support on Solaris/Intel Architecture

    Hi Gurus,
    Is iPlanet portal supported on Solaris on Intel architecture? Any of you have this kind of setup and experienced any problem? or was it smooth sailing? or is there some particular version of Solaris OS that has to be used..etc.
    Thanks
    Ashok

    The short answer is No. The current version of Portal Servers both 3.0 and 6.0 are supported only in Solaris / Sparc arch.

  • Sapjco support for Solaris 10 x86 and more...

    Hi,
    Does SAP offer a SAPJCO version that supports:
    1-Solaris 10 using a x86 64-bit CPU?
    2-Solaris 10 using a SPARC 64-bit CPU?
    3-Linux 64-bit?
    4-MsWindows 2003 64-bit?
    PS: I am asking does questions, because I don't seem to have access to the SAPJCO download page.
    Best regards.

    Hi
       Could you please refer this similar [Thread|https://websmp209.sap-ag.de/connectors] .
    Regards,
    S.Manu

  • OpenSSH 4.4p1 packages with PAM support for Solaris 9, 10

    As mentioned in a previous post* , I've compiled OpenSSH packages with PAM support for Solaris 9 and 10. They've since been updated to version 4.4p1, and are compiled against a static zlib (1.2.3) and OpenSSL (0.9.8c). You can find them here:
    http://firewallworks.com/downloads/unsupported/Solaris-sparc/
    Regards,
    Greg
    * http://forum.sun.com/jive/thread.jspa?threadID=103378&tstart=105

    Yes, zlib 1.2.3 is a requirement. In facts, zlib mentions a 2005 vulnerability fix but I found no matching patch in sunsolve. See
    http://www.kb.cert.org/vuls/id/JGEI-6E7RC3
    I have been wandering whether to replace the official zlib. Linking statically is probably a better idea. Thanks

  • CDE Support on Solaris 8

    Hi all !
    I have just installed Solaris 8 for Intel on a laptop. After lots of hassel with the video-driver, I got this working by installing Accelerated-X Laptop Display Server. But here it comes .... However,
    Xwindows functions OK, whereas CDE fails. Has anyone had similar experience, and more importantly has anyone resolved the problem ?

    I am sorry but Workshop 4.2 is supported on Solaris 7 and 8. I don't
    see why it shouldn't be. If your statement means that Solaris 7
    distribution doesn't come along with Workshop 4.2, then ignore my
    statement, I am not sure of that. But Workshop 4.2 will work on both
    Solaris 7 and Solaris 8.
    Rajag.

  • JNI FC1063 HBA support on solaris 10

    Hi ,
    I have upgraded Solaris 9 to Solaris 10 using Live upgrade.Server is SUN fire V880 and the HBA is JNI FC1063.
    After upgrading ,I am not able to see the FC LUNS .
    Does The JNI Fc1063 HBA has support on Solaris 10.
    Thanks

    I would beg to differ on this response. This is not a service call and the storage vendor is not responsible for making decisions on what the customer is allowed or not allowed to use.
    EG, I have a Sun StorEdge 9990 (actually a HDS USP 1100 and not the 9990 Lightning series which is on the web site) and I made the call to put the Fibre Channel HBA's of my choice into my systems and I also chose the Cisco 9509 switches. Both HDS and Cisco put out documentation regarding compatibility of the HBA's.
    So, I would suggest RPS check out the Brocade website or sales people and ask them if they recommend anything.
    http://www.brocade.com/products/pdf/Fabric_Aware_Compatibility_Matrix-060521.pdf
    states that the option X6768A is supported for Solaris 10.
    Sun 9980 will work on most of the HBA's available in the system handbook.
    The could be either the rebadged Qlobic or JNI HBA's. You could even use Emulux if you are that way inclined.
    My systems are full of dual channel HBA's such as SG-XPCI2FC-QF2.
    You should also be aware that the 1280 has only one 66 MHz PCI slot. You can upgrade the I/O boat to all 66 MHz slots if you are after good throughput. The upgrade will also give the opportunity to use the 4 Gb HBA if you can find a system to use them on.
    Stephen

  • Level of ACPI support with Solaris 10?

    What is the current level of ACPI support with Solaris 10 x86? I have been searching forums and Sun documentation and I have not found an official answer to this question from Sun. I have seen posts in which people state what they "think" they know or they know how something worked with "their" system but nothing official from Sun. I assume there is some support for ACPI because the eeprom command can be used with the acpi-user-options. Can I just enable ACPI support on my motherboard and let Solaris 10 Update 3 do the rest? Thanks for the help?

    I found this site that seams to answer this question.
    http://blogs.oracle.com/jsavit/entry/ours_goes_to_11_features

  • HBA support for solaris 10

    Hi All
    I need to know which HBA card will support solaris 10.we have sunfire 1280 server, brocade silkworm 12000 and hitachi 9980
    Regards
    RPS

    I would beg to differ on this response. This is not a service call and the storage vendor is not responsible for making decisions on what the customer is allowed or not allowed to use.
    EG, I have a Sun StorEdge 9990 (actually a HDS USP 1100 and not the 9990 Lightning series which is on the web site) and I made the call to put the Fibre Channel HBA's of my choice into my systems and I also chose the Cisco 9509 switches. Both HDS and Cisco put out documentation regarding compatibility of the HBA's.
    So, I would suggest RPS check out the Brocade website or sales people and ask them if they recommend anything.
    http://www.brocade.com/products/pdf/Fabric_Aware_Compatibility_Matrix-060521.pdf
    states that the option X6768A is supported for Solaris 10.
    Sun 9980 will work on most of the HBA's available in the system handbook.
    The could be either the rebadged Qlobic or JNI HBA's. You could even use Emulux if you are that way inclined.
    My systems are full of dual channel HBA's such as SG-XPCI2FC-QF2.
    You should also be aware that the 1280 has only one 66 MHz PCI slot. You can upgrade the I/O boat to all 66 MHz slots if you are after good throughput. The upgrade will also give the opportunity to use the 4 Gb HBA if you can find a system to use them on.
    Stephen

  • OpenInstaller is only supported on Solaris 9 or later error

    I was trying to install java 1.6 version on an Solaris machine During install it failed with the following error message "openInstaller is only supported on Solaris 9 or later" since the Solaris version on this machine is 5.8
    As per the sun download page, it was mentioned like supported version is Solaris 8,9 and 10.
    http://www.java.com/en/download/help/5000010600.xml
    My Solaris machine version is 5.8
    ./java_ee_sdk-6u1-jdk-solaris-sparc.sh
    extracted: install/metadata/view/jwsdp_5.png
    extracted: install/metadata/view/jwsdp_6.png
    extracted: install/metadata/view/jwsdp_7.png
    extracted: install/metadata/view/updatetool.xml
    openInstaller is only supported on Solaris 9 or later
    Could you please let me know what is the issue and how to resolve this issue.
    Thanks,
    Ricks

    bumping this up in hopes of an answer....
    it appears that the jar installer works fine, the problem is with .bin installers only.....
    in install docs found proposed solution of "use df compatible with used posix" - that must be a joke, right ??
    we're supposed to replace df that comes with OS with some version that works with posix used by the installer ?? Really ?@?@?

  • MP3 Support in Solaris

    Hi
    I'm starting a new project that requires MP3 support. What is the support of MP3 using JMX in Windows and Solaris with the Enhancement Pack. Can I decode it? Can I encode it?

    I'm starting a new project that requires MP3 support.
    What is the support of MP3 using JMX in Windows and
    Solaris with the Enhancement Pack. Can I decode it?
    Can I encode it?I am not entirely sure, but I have been working on some
    webstart examples of launching the Performance Pack
    versions of JM Studio(1) & JMF Registry(2).
    (1) http://www.javasaver.com/testjs/jmf/#test3
    (2) http://www.javasaver.com/testjs/jmf/#test4
    I expect (OK hope) the second can tell you what
    it supports for Solaris - particularly for the mime-types,
    e.g. for the Windows PP, it looks like this..
    http://www.javasaver.com/testjs/jmf/#mime

  • PAM Support fpr Solaris SGD 4.3

    Hi,
    where can I find more informations howw to integrate PAM Support under Solaris SGD 4.3
    I read in the relase notes:
    Support for PAM for UNIX User Authentication
    Secure Global Desktop now supports PAM (Pluggable Authentication Modules) for UNIX user authentication. The change affects the following login authorities:
    * ENS
    * UNIX User
    * UNIX Group
    Secure Global Desktop uses PAM for user authentication, account operations and password operations.
    When you install Secure Global Desktop on Linux platforms, Setup automatically creates PAM configuration entries for Secure Global Desktop by copying the current configuration for the passwd program and creating the /etc/pam.d/tarantella file. On Solaris OS platforms, you can add a new entry for Secure Global Desktop (tarantella) in the /etc/pam.conf file if required.
    Using PAM gives Secure Global Desktop Administrators more flexibility and control over UNIX user authentication, for example by adding new login tests, account limits, or valid password checks.
    But how this should be done, I could not find out....
    Regards
    Lukas

    Hi,
    Yes I now that. Pam is allways configured via Operating System. But where can I find some documentation how to configure pam to allow unix authentication against the ssgd.
    I do not want to create a unix user for each sgd user (ldap) which is using a AS 400 connection or a classroom object. So I that this could be done via PAM Module for ssgd
    Thanks for further advise.

  • Is snmp supported in solaris 7 and 8.

    The entagents documents says
    This product is supported on the following platforms:
    Sparc (Solaris 2.4, 2.5, and 2.6)
    x86 (Solaris 2.4, 2.5, and 2.6)
    http://www.sun.com/software/entagents/docs/UGhtml/install_solaris.doc.html#1360
    so has anyone see the subagents working on solaris 7 and 8.
    if so pls let me know ...great if i can have the files and the steps.
    hoping snmpwalk also works.
    Thanx in Advance.

    Yes it is supported on Solaris 7 and Solaris 8. Our observation is that on Soalris 8 it is somewhat stable compared to solaris Solaris 7 and Soalris 2.6. There is a problem reported on Soalris 2.6 where subagent does not come up. Tthe latest user and developer doc will give you more info on agent development.
    Kalpana.

  • Installing French language support on Solaris 7

    Hi,
    I need to install French language support on Solaris 7 (sparc). Which packages(s) do I need to install and where can I get them?
    Thanks.

    Do you have luns 0-7 for this target in /kernel/drv/sd.conf ?
    By default there is only a lun 0 for each target.
    Additionally, format may only see the raid controller and your raid software would be used to configure the disks behind it into luns of varying sizes.

  • NSAPI support on Solaris/x86

    Are there plans to provide NSAPI support on Solaris/Intel platform.
    Best regards
    /Johan
    Johan Holling
    [email protected]

    Not yet. But when the Linux port comes out for version 6.0 in just a few
    weeks, we will.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Johan Holling" <[email protected]> wrote in message
    news:[email protected]..
    Thanks,
    Do you support NSAPI or Apache plugin on Linux for WLS 6.0 (could not
    find it in the "BEA WebLogic Server Platform Support" document)?
    Best regards
    /Johan
    Michael Girdley wrote:
    No, no plans at the current time. We do support Linux.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Johan Holling" <[email protected]> wrote in message
    news:[email protected]..
    Are there plans to provide NSAPI support on Solaris/Intel platform.
    Best regards
    /Johan
    Johan Holling
    [email protected]

Maybe you are looking for

  • Unable to Scan in Adobe 6 or 7

    I have a high speed scanner connected to a PC and anytime I attempt to scan a document in to Adobe, I get an error message stating "Unkown system error in call to startscan". I have tried multiple version of Adobe with no luck. I know it is a setting

  • ESB Filter question

    Hi, I'm developing an ESB that polls for a file (unix), truncates a table (using a database adapter) and then uses the data file to re-populate the table (database adapter). My file has 4900 records. The file adapter has been created to process recor

  • Javax.el.ELException: Function 'templates:getFileContents'

    getting following error with "contentpresenter" portal. javax.el.ELException: Function 'templates:getFileContents' specifies 2 params, but 1 were declared weblogic portal starts without any error. here is the start log. FYI, I am using Solaris Operat

  • REGEX Decipher

    I have been giving this regex code but for cannot decipher what it means "(?¡)\\[Abcde\\].*" Has been applied to outgoing mail policy - conditions as a subject header - contains. Any ideas.

  • Illustrator shape tools not functioning properly

    When I try to draw any shapes in illustrator they keep repeating: I have restarted illustrator several times and deleted the pref file. Also, there aren't any keys stuck on the keyboard. Can anyone Help? Thanks in advance