Java and hyperthreading

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BlackHawke

    Java and hyperthreading

    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-
    Mainkan game online seru di MANTUL189 dan nikmati bonus harian tanpa batas. Raih kesempatan menang lebih besar setiap hari bersama kami!



  • Brian S O'Neill

    #2
    Re: Java and hyperthreading

    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.

    "BlackHawke " <blackhawke@leg acygames.net> wrote in message
    news:bfruo4$k2s [email protected] dspring.net...[color=blue]
    > Hello!
    >
    > I have a java application (a game) which is supposed to run as a server.[/color]
    It[color=blue]
    > is on a dedicated machine with MP capabilities, but currently running 1[/color]
    Xeon[color=blue]
    > processor with hyperthreading.
    >
    > The hyperthreading is causing the process to receive no more than 50% of[/color]
    the[color=blue]
    > CPU cycles. I've been told that the app needs to be changed to be SMP[/color]
    aware[color=blue]
    > in order to use all hyperthreading.
    >
    > A few people have suggested turning hyperhtreading off in the BIOS, but[/color]
    that[color=blue]
    > has a noticeable performance decrees and actually didn't help the java
    > program CPU cycles much. Any thoughts?
    >
    > Thanks!
    >
    > B-
    > www.andromedaonline.net
    >
    >[/color]


    Comment

    Working...