Use of MPSS on Solaris 9 and Java 141_03 - not getting 4M pagesizes

Hi all,
Anyone know how to get MPSS actually using large page sizes in 1.4 / SunOS 5.9 ??
I have a 1.4.1_03-b02 JVM that is using the -XX:+UseMPSS option and using the LD_PRELOAD=/usr/lib/mpss.so.1 and MPSSHEAP=4M but when I use pmap -Fxs <PID> I always see 8k pages. My system is 5.9 Generic_122300-03 sun4u sparc SUNW,Sun-Fire-480R and pagesize -a give me:
8192
65536
524288
4194304
so 4M should be OK to use...
The full JVM options are:
-XX:+TraceClassUnloading -XX:+UseParallelGC -XX:+UseMPSS -XX:-UseAdaptiveSizePolicy -XX:SurvivorRatio=2 -XX:MaxTenuringThreshold=3 -XX:+DisableExplicitGC -Dsun.rmi.server.exceptionTrace=true -Xloggc:gc.log -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -server -ms2560m -mx2560m -Xmn1024m -Dsun.rmi.dgc.client.gcInterval=14400000 -Dsun.rmi.dgc.server.gcInterval=14400000
I have also tried using LD_PRELOAD_32 and LD_PRELOAD_64 but still only see 8k pages in pmap for the heap...
Thanks for any ideas, if I read the doc I should not need to do anything to use the MPSS option on SunOS 5.9...so maybe one of my other JVM options is preventing MPSS from being used?

OK, bug 4845026 is giving me a clue:
Bug ID:      4845026
Votes      1
Synopsis      MPSS broken on JDK 1.4.1_02
Category      hotspot:jvm_interface
Reported Against      1.4.1_02
Release Fixed      
State      Closed, will not be fixed
Related Bugs      
Submit Date      08-APR-2003
Description      
I am running SPECjAppServer2002 with WebLogic Server 8.1 and JDK 1.4.1_02.
Here is the version of JDK 1.4.1_02 that I am using:
<gar07.4> /export/VMs/j2sdk1.4.1_02/bin/java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
The system is a V240 with solaris S9U3:
<gar07.5> more /etc/release
Solaris 9 4/03 s9s_u3wos_04 SPARC
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 December 2002
After rebooting the system I use the following command line to start the appserver:
+ /export/VMs/j2sdk1.4.1_02/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps
-XX:+UseMPSS -XX:+AggressiveHeap -Xms3500m -Xmx3500m -Xmn600m -Dweblogic.oci.sel
ectBlobChunkSize=1600 -classpath ...
The process should have some annon segments mapped to 4M, but it doesn't:
<gar07.7> ps -ef | grep java
ecuser 541 533 12 10:30:33 ? 0:50 /export/VMs/j2sdk1.4.1_02/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps -
ecuser 566 343 0 10:31:24 pts/1 0:00 grep java
<gar07.8> pmap -s 541 | grep 4M
<gar07.9>
If I do exactly the same using JDK 1.4.2 instead of JDK1.4.1_02 I am able to get
4M pages. Here is the command line for 1.4.2:
+ /export/VMs/j2sdk1.4.2/bin/java -server -verbose:gc -XX:+PrintGCTimeStamps -XX
:+PrintGCDetails -XX:+AggressiveHeap -Xms3500m -Xmx3500m -Dweblogic.oci.selectBl
obChunkSize=1600 -classpath ...
And here are my 4M pages:
<gar07.20> pmap -s `pgrep java` | grep 4M
1AC00000 282624K 4M rwx-- [ anon ]
F5800000 16384K 4M rwx-- [ anon ]
F6800000 4096K 4M rwx-- [ anon ]
F6C00000 4096K 4M rwx-- [ anon ]
F7000000 4096K 4M rwx-- [ anon ]
F9C00000 4096K 4M rwx-- [ anon ]
Without large pages the time spent in TLB misses for this benchmark is 25% (!)
Using 4M pages that time is reduce to 3%. WLS8.1 was certified with 1.4.1_02 so
we cannot use 1.4.2 for the benchmark.
thanks for your help,
Fernando Castano
Posted Date : 2006-04-27 23:04:32.0
Work Around      
N/A
Evaluation      
Mukesh,
Can you get someone to look into back porting this fix. Please see below
attachment for additional info. 4845026 : (P1/S1) New Hotbug Created
Is a new bug that only exists in JDk 1.4.1_x release. Its fixed in 1.4.2
release from code related to bug 4737603.
Thanks Jane & James for the heads up.
Thanks
Gary Collins
Gary,
I think the bug James referred to is
4737603 Using MPSS with Parallel Garbage Collection doesn't yield 4mb
pages
which was fixed in mantis (according to the bug report).
Looks like a simple fix to back-port.
Jane
xxxxx@xxxxx 2003-04-10
This problem is partially because of bug 4737603, mainly because there is code cache mapping to large page in 1.4.1(4772288: New MPSS in mantis). This part of code will be ported into 1.4.1 from mantis.
xxxxx@xxxxx 2003-04-18
There's 2 things. MPSS wasn't used in the parallel GC collector AND not
used for the code cache. Both need to be addressed.
xxxxx@xxxxx 2003-04-21

Similar Messages

Maybe you are looking for

  • Change font in PDF

    Hi, I have converted one list output to PDF and sending it through mail. I want to increase the Font Size of the PDF file which is generated. Let me know whether it can be done. If yes, then how to do that? Thanks

  • File Renaming - "dimensions" includes spaces, want to remove!

    Hello, when I rename my files I love that I can include the dimensions. eg. 1200 x 800. but I cannot have spaces and need 1200x800... It makes no sense to go back and manually fix this. can I adjust this element to output with no spaces? if not a wor

  • Pass data from one VI to another one

    Hi, I try to control a event structure in a VI with a boolean command from a second VI. I have been advised to "build a connector to pass any data from one VI to another one". Below an simple example: my goal is MyVItwo gives the result of a 2 number

  • Open Enrollment Help - Processing

    Hello, all of the setups for Open Enrollment have been completed and I just need help or instructions on how to "turn it on" or process it so that testing can occur. Thanks.

  • Reset size of video

    Hello, I'm using Adobe premiere elements 9.0; I was editing some video, picture in picture; but now I have problems because I want to resize in some parts of video original video to full screen (as original size of video). Is there any function to do