Java and hyperthreading

JAVA

    Sponsored Links

    Next

  • 1. ISDN capi and java
    Hello, Is there anyone who knows how i can use capi in java. I want to react on incomming speech calls and make outgoing calls. Bas
  • 2. Removing undefined items from an array
    I have an array that has a bunch of undefined items in it, all in a row. The numbering of the array goes 11, 12, 20, 21, 22, 23, etc. Is there a way to get rid of all of the undefined items and fix the ordering so that (in the above example) the 20th item would become the 13th, the 21st would become the 14th, and so on? Thanks
  • 3. Heap size
    How can I change the heap size in eclipse? Do I have to change it in jvm and in eclipse? Or only in jvm? Or only in eclipse? Thanks for your answears! -- Best regards, Odwrotnie.
  • 4. Negative MouseEvent
    Hi I'm having a bit of trouble understanding MouseEvent. For some reason I'm able to make it return a negative point on mousePressed when printing out getPoint. How is this possible? I dont see how it is possible to trigger a MouseEvent on a component that has a MouseListener without the clicking point being inside the component. Im using java 1.1.8(Don't ask why). Is this a bug in Java 1.1? java.awt.Point[x=-17,y=38] Mike

Java and hyperthreading

Postby BlackHawke » Sun, 27 Jul 2003 04:00:19 GMT

Hello!

I have a java application (a game) which is supposed to run as a server. It
is on a dedicated machine with MP capabilities, but currently running 1 Xeon
processor with hyperthreading.

The hyperthreading is causing the process to receive no more than 50% of the
CPU cycles. I've been told that the app needs to be changed to be SMP aware
in order to use all hyperthreading.

A few people have suggested turning hyperhtreading off in the BIOS, but that
has a noticeable performance decrees and actually didn't help the java
program CPU cycles much. Any thoughts?

Thanks!

B-
www.andromedaonline.net



Re: Java and hyperthreading

Postby Brian S O'Neill » Wed, 30 Jul 2003 14:37:02 GMT

The hyperthreading processor appears to the system as two processors. In
order for your application to take advantage of multiple processors your OS
and VM need to support it. I know at least Sun's VM on windows does. In
addition to that, you application needs to have multiple threads running,
doing useful work. Otherwise, you'll never see more than 50% of the combined
CPU load being utilized.





It
Xeon
the
aware
that



Similar Threads:

1.Java and Hyperthreading processors

Hi All,

How does JVM handle hyper threading? I am using Tomcat as the servlet 
engine. And I have multiple servlets (and the threads from the servlets) 
making JNI calls and when hyperthreading is enabled, I see some strange 
deadlock issues. JNI calls just hang, making the other threads to 
continously wait for the monitor (lock). This is making my entire 
application to hang.

(Since JNI calls hang, I suspect it could be some deadlock issues in the 
native code. But still wanted to ask if there are known issues with JVM 
with respect to hyperthreading)

Anyone faced similar issues?

No issues when we disable hyperthreading.

Regards,
Firdousi Farozan

2.Java and hyperthreading

3.Hyperthreading in Java

Hello!

I have a java application which is supposed to run as a server. It is on a
dedicated machine with MP capabilities, but currently running 1 Xeon
processor with hyperthreading.

The hyperthreading is causing the process to receive no more than 50% of the
CPU cycles. I've been told that the app needs to be changed to be SMP aware
in order to use all hyperthreading.

A few people have suggested turning hyperhtreading off in the BIOS, but that
has a noticeable performance decrees and actually didn't help the java
program CPU cycles much. Any thoughts?

Thanks!

B-


4.Hyperthreading and Java

I have a multithreaded program in Java that I coded a while back.  I 
recently upgraded to a HT processor and was wondering if Java 1.5 supports 
it?
Thanks,
Allan


5.Hyperthreading Problem

6. [ANN] JavaRSS.com - Java New, Java Articles and Java Blogs, Just one bookmark



Return to JAVA

 

Who is online

Users browsing this forum: No registered users and 68 guest