IBM Support

Using IBM JRE instead of Open JDK 8 with Open J9 for Rational Performance Tester Agent 10.0

Release Notes


Abstract

Depending upon workload characteristics, you might experience a reduction in the number of Virtual Users supported by Rational Performance Tester 10.0 agents. This is a result of the change in the Java Runtime Environment (JRE) shipped with Rational Performance Tester 10.0 from IBM JRE to OpenJDK with OpenJ9 JRE, which tends to exhibit a higher cpu-utilization for the same workload. For better performance, you can switch to IBM JRE.

The following instructions will guide you to switch the JREs on Microsoft Windows and Unix platforms:

Content

On Windows:

1. Start Command Prompt using "Run as administrator" and navigate to the Majordomo directory.

     c:\>cd "Program Files\IBM\SDP\Majordomo"
  c:\Program Files\IBM\SDP\Majordomo>

2. Stop the Rational Performance Tester Agent Majordomo Windows Service.

     c:\Program Files\IBM\SDP\Majordomo>ngastop
      The Majordomo service is stopping.
      The Majordomo service was stopped successfully.
      MajordomoService removed successfully

3. Move up one directory to the SDP directory.

  c:\Program Files\IBM\SDP\Majordomo>cd ..
  c:\Program Files\IBM\SDP>

4. Rename the existing jdk directory.

    c:\Program Files\IBM\SDP>move jdk jdk.orig

5. Create a symbolic link for the JDK you want to use.

   c:\Program Files\IBM\SDP>mklink /d jdk c:\IBM_Java_8.0.5.35\sdk

6. Verify the version of the JDK to be used by the Rational Performance Tester Agent

     c:\Program Files\IBM\SDP>set path=c:\Program Files
         \IBM\SDP\jdk\bin;%path%
  c:\Program Files\IBM\SDP>java -version

   java version "1.8.0_211"
   Java(TM) SE Runtime Environment (build 8.0.5.35 - pwa6480sr5fp35-20190418_01(SR5 FP35))
   IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 amd64-64-Bit Compressed References 20190417_414854 (JIT enabled, AOT enabled)
   OpenJ9   - 777635f
   OMR      - 16b77d7
   IBM      - 72459d3)
   JCL - 20190409_01 based on Oracle jdk8u211-b25

7. Restart the RPT Agent Majordomo Windows Service.

        c:\Program Files\IBM\SDP>cd Majordomo
   c:\Program Files\IBM\SDP\Majordomo>ngastart

On Unix:

1. As superuser open a Terminal and navigate to the Majordomo directory.

   [root@boomer ~]# cd /opt/IBM/SDP/Majordomo

2. Stop the RPT Agent.

   [root@boomer Majordomo]# ./MDStop.sh

3. Move up one directory to the SDP directory.

   [root@boomer Majordomo]# cd ..

 [root@boomer SDP]#

4. Rename the existing jdk directory.

   [root@boomer SDP]# mv jdk jdk.orig

5. Create a symbolic link for the JDK you want to use.

   [root@boomer SDP]# ln -s /root/IBM_Java_8.0.5.35/ibm-java-x86_64-80 jdk

6. Verify the version of the JDK to be used by the RPT Agent

   [root@boomer SDP]# export PATH=/opt/IBM/SDP/jdk/bin:$PATH
 [root@boomer SDP]# java -version

   java version "1.8.0_211"
   Java(TM) SE Runtime Environment (build 8.0.5.35 - pwa6480sr5fp35-20190418_01(SR5 FP35))
   IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20190417_414854 (JIT enabled, AOT enabled)
   OpenJ9   - 777635f
   OMR      - 16b77d7
   IBM      - 72459d3)
   JCL - 20190409_01 based on Oracle jdk8u211-b25

7. Restart the RPT Agent.

   [root@boomer SDP]# cd Majordomo

 [root@boomer Majordomo]# ./MDStart.sh

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"Component":"Rational Performance Tester Agent","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"10.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 June 2019

UID

ibm10956413