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

Native Theads are Slower than Green Threads?

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.6
    • 1.2.0
    • hotspot
    • 1.1.6
    • sparc
    • solaris_2.5.1
    • Verified



      Name: gvC48267 Date: 12/10/97


      For one of our projects (server-side Java) we're using an Oracle database and
      Weblogic drivers. As part of this we are required to run
      with native threads (Ultra Sparc, dual processor, Solaris 2.5.1 with the
      appropriate patches).

      What we have noticed, while running a performance test on the server, is that
      native threads are slower than green threads.

      We noticed that JDK 1.1.4 from JavaSoft is MUCH slower with Native Threads, the
      pre-release JVM JIT with native threads from SunSoft is a bit faster.

      Luckily JDK 1.2 usign native threads is even faster (4x) than these JVMs,
      however while running in native threads mode it is still slower than green
      threads...

      which isn't good when you want to scale a server-side Java app across
      multiple processors.
      (Review ID: 21741)
      ======================================================================

            never Tom Rodriguez
            gvanassesunw Gunter Vanasse (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: