Connecting Tech Pros Worldwide Forums | Help | Site Map

Java and hyperthreading

BlackHawke
Guest
 
Posts: n/a
#1: Jul 17 '05
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



Brian S O'Neill
Guest
 
Posts: n/a
#2: Jul 17 '05

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@legacygames.net> wrote in message
news:bfruo4$k2s$1@slb4.atl.mindspring.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]


Closed Thread