You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2003/08/13 15:40:11 UTC

[OT] HyperThreading and Java

More as an FYI, I read a very interesting artical in JDJ last night concerning
HyperThreading and Java.  The other put together a JUnit-esque n-thread
benchmarking library to get an idea how these processors actually helped.

The biggest boon is when you execute native code from Java, or have to switch
between the C and Java call stacks.

I will say that the biggest surprise of all was the deficiency of Sun's JVM
scaling with more threads.  IBM's JVM performed very well, and scaled nicely.
Sometimes as expected, and other times beyond expectations.  Sun's JVM performed
abismally, and even seriously degraded performance as more threads were added.

It's a good read.  It's best to let the artical speak for itself:

http://www.sys-con.com/java/articlenews.cfm?id=2163

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin