Seeing the advantage of using Hugemem and Hugepages with JDK1.5, Good bye JDK1.4

Preface

Well, J2SE1.5 has been out for a long time now. Along with the new version, we now have capability to use some really exciting features like HugePages. Using this feature has been covered in great detail in an earlier article Using +LargePages feature with JDK1.5 on Linux hugemem kernel on 11.5.10.

Performance Benchmark

In this article, we'll see performance benchmarks done for preloading different configurator models. The models were loosely grouped into ~20 groups having different number of models. This was done to keep the results objective and reduce skew.

The experiments were done on Oracle Applications 11i Configurator environment. The dedicated configurator 4 CPU (dual-core) machines were running linux RHAS3 (32-bit architechture). 

For JDK1.5, the linux Hugemem Kernal was used so that the Virtual process size coule be as high as 3.5g. Please read through Redhat Linux Kernels and process space limits.. Some eye-openers for having a better idea on process address limits in different linux kernels. Common Incorrect beliefs about process address limits on 32bit platforms is also a good article that you can go through to clear memory address basics.

However, in these experiments, an address space of 1.5g was used for JDK1.5 JVM heapsize. In case its not clear at this point, +LargePages feature allows you to 'lock' JVM heap in real memory and not let it to be swapped out.

The comparision graph of preloading models across Groups using JDK1.5 without hugemem and Largepages Vs JDK1.4 for 1g heap


Now, it was seen that JDK1.4 actually performed better for executing Oracle configurator code while doing the preloading against the same database.

jdk1.5 without hugemem and largepages versus jdk1.4:

The comparision graph of preloading models across Groups using JDK1.5 WITH hugemem and Largepages (1.5g heap) Vs JDK1.4 (1g) heap


using JDK1.5 WITH hugemem and Largepages Vs JDK1.4:

As can be seen, JDK1.5 behaves more if the LargePage feature is used.

Advantage Summary

The good thing about largepages is that the JVM heap's contents are never swapped out. Also, with JDK1.5, you can actually address more than 1G of heapsize and not start swapping out, if the hugemem kernel is used. Again, Redhat Linux Kernels and process space limits.. Some eye-openers is a good place to start for understanding the differences between different Linux kernels and their respective impact on virtual process size limitations.


Comments:

Thanks for nice article. Here i got a problem with my Apps login. I am running Apps 11.5.10 on my Laptop for the last one year it was working fine but for the last 2 days suddenly it stopped logging in. Services are working fine i can access backend everything fine. It is opening login page http://apps.test:8081/OA_HTML/AppsLocalLogin.jsp after I give UserID and Password there is noresponse even button itself is not showing any progress. Can you please advise on this issue. Really I need your help. Thanaks in advance, Gopi Krishna

Posted by Gopi Krishna on September 14, 2007 at 08:39 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today