Menu

#1 Multiple or hyperthreading CPUs (most P4s) hangs robocode

1.1
closed
5
2012-10-05
2005-02-24
Pulsar
No

Running robocode on a multi CPU machine or one with
Hyperthreading (such as most Intel P4) eventually
hangs robocode. Hangs means: using no CPU cycles,
doing nothing. Can't repaint.

Always reproducible (just takes varying amounts of
time). Just leave robocode running for some time, takes
anything from minutes to hours.

Tested with 1.4 and 1.5 Sun JVMs (1.3 unknown).

Workaround: Assign the java process running robocode
to only use one CPU/virtual CPU. In Windows this can
be done in the task manager by right clicking on the
process and specifying just one CPU under affinity.

Obviosuly some kind of thread/syncrhonization issue,
maybe a deadlock. As this only happens on multi
CPU/hyperthreading it is a true parallel execution
problem.

http://robowiki.net/cgi-bin/robowiki?
WindowsXP/HyperThreading

Discussion

  • Pulsar

    Pulsar - 2005-02-24

    Logged In: YES
    user_id=1226269

    Sorry, submitted it as a RFE, resubmitted it as a bug.

     
  • Flemming N. Larsen

    Logged In: YES
    user_id=1249353

    This issue has been fixed

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.