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

Poor performance for 1.4.0_01b3 according to J2DBench

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_8

      Description


      ###@###.### 2002-05-09

      comparing 140_fcs against 140_01b3 highlights poor performance on 140_01b3.

      To reproduce :

      Bring over J2Dbench testsuite.
      Set JAVA_HOME to JDK.
      run gnumake run.

      This brings up the console where modifications can be made to the tests.
      only select DrawImage tests. In these options only select the following options
      20X20, ARGB , No Scaling, and Bitmask.
      (alternatively just load the pref file attached, file -> load file)

      increase the number of iterations to 15 also in the global options.

      while running on Sparc 2.8 the following was output :

      dairymilk# setenv JAVA_HOME /export/home/j2sdk1.4.0_01
      dairymilk# cd J2DB*
      dairymilk# gnumake run
      -------------------- Java version being used :
      --------------------------------------------------------------------------------
      java version "1.4.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
      Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
      --------------------------------------------------------------------------------
      -------------------- Running J2DBench
      Test done on May 9, 2002 10:43:16 AM
      Destination: Screen
      Java: version 1.4.0_01
      VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.4.0_01-b03
      OS: sparc SunOS 5.8

      THere
      Here
      Here...............
      DrawImage Benchmark

      4599 reps rendered in 2152ms
      4599 reps rendered in 2166ms
      4599 reps rendered in 2180ms
      4599 reps rendered in 2152ms
      4599 reps rendered in 2151ms
      4599 reps rendered in 2157ms
      4599 reps rendered in 2152ms
      4599 reps rendered in 2149ms
      4599 reps rendered in 2151ms
      4599 reps rendered in 2148ms
      4599 reps rendered in 2149ms
      4599 reps rendered in 2148ms
      4599 reps rendered in 2151ms
      4599 reps rendered in 2150ms
      4599 reps rendered in 2152ms
      DrawImage test using 20x20 ARGB Bitmask image without Scaling
         68985 total reps rendered in 32308ms
         Average: 2135.229664479386 draws/sec

      575 reps rendered in 2578ms
      575 reps rendered in 2197ms
      575 reps rendered in 2181ms
      575 reps rendered in 2181ms
      575 reps rendered in 2178ms
      575 reps rendered in 2182ms
      575 reps rendered in 2181ms
      575 reps rendered in 2178ms
      575 reps rendered in 2191ms
      575 reps rendered in 2182ms
      575 reps rendered in 2180ms
      575 reps rendered in 2178ms
      575 reps rendered in 2180ms
      575 reps rendered in 2182ms
      575 reps rendered in 2183ms
      DrawImage test using 20x20 ARGB Bitmask image with BG without Scaling
         8625 total reps rendered in 33132ms
         Average: 260.3223469757334 draws/sec

      dairymilk# setenv JAVA_HOME /export/home/140_fcs
      dairymilk# gnumake run
      -------------------- Java version being used :
      --------------------------------------------------------------------------------
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
      --------------------------------------------------------------------------------
      -------------------- Running J2DBench
      Test done on May 9, 2002 10:45:46 AM
      Destination: Screen
      Java: version 1.4.0
      VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.4.0-b92
      OS: sparc SunOS 5.8

      THere
      Here
      Here...............
      DrawImage Benchmark

      4551 reps rendered in 2205ms
      4551 reps rendered in 2199ms
      4551 reps rendered in 2223ms
      4551 reps rendered in 2201ms
      4551 reps rendered in 2203ms
      4551 reps rendered in 2206ms
      4551 reps rendered in 2205ms
      4551 reps rendered in 2203ms
      4551 reps rendered in 2198ms
      4551 reps rendered in 2199ms
      4551 reps rendered in 2200ms
      4551 reps rendered in 2197ms
      4551 reps rendered in 2218ms
      4551 reps rendered in 2202ms
      4551 reps rendered in 2204ms
      DrawImage test using 20x20 ARGB Bitmask image without Scaling
         68265 total reps rendered in 33063ms
         Average: 2064.694673804555 draws/sec

      5134 reps rendered in 2473ms
      5134 reps rendered in 2474ms
      5134 reps rendered in 2474ms
      5134 reps rendered in 2471ms
      5134 reps rendered in 2476ms
      5134 reps rendered in 2479ms
      5134 reps rendered in 2478ms
      5134 reps rendered in 2472ms
      5134 reps rendered in 2488ms
      5134 reps rendered in 2475ms
      5134 reps rendered in 2473ms
      5134 reps rendered in 2485ms
      5134 reps rendered in 2472ms
      5134 reps rendered in 2473ms
      5134 reps rendered in 2473ms
      DrawImage test using 20x20 ARGB Bitmask image with BG without Scaling
         77010 total reps rendered in 37136ms
         Average: 2073.728996122361 draws/sec

      ====================================

      The 2nd test here runs much slower on 140_01b3

      FCS AVG = 2073
      140_01b3 AVG = 260

      This is ~ 8 times slower.
      Other tests were also poor but this was the worst one.

      I also ran this test on Win2000.
      FCS AVG = 8000
      140_01b3 AVG = 2500

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: