Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4526794

Significant degradation of performance from JDK1.3 to JDK1.4 on Solaris

XMLWordPrintable

    • hopper
    • sparc
    • solaris_8


      ###@###.### 2001-11-13

      J2SE Version (please include all output from java -version flag):
       java version "1.4.0-beta3"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
       Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

      Does this problem occur on J2SE 1.3? Yes / No (pick one)
       No

      Operating System Configuration Information (be specific):
       Sun Ultra Enterprise running Solaris 8.0

      Hardware Configuration Information (be specific):
       4 CPU's @ 400MHz each and 3072MB of RAM

      Bug Description:
       Attached simple Java application(PerfTest.zip) shows a significant
       degradation of performance from JDK 1.3 to JDK 1.4. Under 1.4, on big
       system(4-way machine), it takes 2-4 milliseconds to create; under 1.3,
       the times are 0-1 ms. On a small system(1-way machine), the difference
       is even more obvious. Under 1.4, it takes 6-8 milliseconds to create;
       Under 1.3, the times are 1-3 milliseconds.

       Here are the test results:

      1.3 results:
       1> one-way Solaris 7 Ultra 1 machine
      **** AMOL1 creation took 72 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds

       2> 4x450 mhz with 4GB RAM Solaris 8 machine
      **** AMOL1 creation took 25 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 0 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 0 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 0 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds
      **** AMOL1 creation took 1 milliseconds

      1.4 beta3 results:

        1> one-way Solaris 7 Ultra 1 machine
      **** AMOL1 creation took 78 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 17 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 125 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 47 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 7 milliseconds
      **** AMOL1 creation took 6 milliseconds

        2> 4x450 mhz with 4GB RAM Solaris 8 machine

      **** AMOL1 creation took 29 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 4 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 3 milliseconds
      **** AMOL1 creation took 2 milliseconds

      Steps to Reproduce (be specific):

      The attached zip(PerfTest.zip) file includes sources, jar,
      build.xml (for ant build) and a 'testTime' script. This test simply loops x
      times (100 is default), creating AMOL1Code objects and printing out how long
      it takes to create them.

            okutsu Masayoshi Okutsu
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: