Re: Game Company- Java Server Thread Priority

From: thoff (tmh_at_possibility.com)
Date: 01/25/04


Date: Sun, 25 Jan 2004 08:27:12 -0800

Sounds like deadlock. Turn on logging. If you don't have logging
then add it so you can solve these kinds of dynamic problems.
Deadlock can be in your communication protocols or threading.

It also sounds like you need spend some time with a profiler.

BlackHawke wrote:
> We've now noticed that on idle (IE not processing turns), the Game Server
> Program takes 0% of the CPU load, and when processing a turn goes up to
> 3-7%. It never exceeds 7%, and takes FOREVER now when processing a turn. It
> is the only program running on the machine, and services are at a minimum.
> Even with 99% of the CPU resources free (IE on System Idle), the game will
> never take more than about 7% of the processor time.



Relevant Pages

  • Re: Game Company- Java Server Thread Priority
    ... Turn on logging. ... Deadlock can be in your communication protocols or threading. ... > is the only program running on the machine, and services are at a minimum. ... > never take more than about 7% of the processor time. ...
    (comp.lang.java)
  • Re: Game Company- Java Server Thread Priority
    ... Turn on logging. ... Deadlock can be in your communication protocols or threading. ... > is the only program running on the machine, and services are at a minimum. ... > never take more than about 7% of the processor time. ...
    (comp.lang.java.help)
  • Re: Game Company- Java Server Thread Priority
    ... I think maybe in an attempt to avoid deadlock the programmers added some ... Nick ... Turn on logging. ... >> Deadlock can be in your communication protocols or threading. ...
    (comp.lang.java.help)
  • Re: Game Company- Java Server Thread Priority
    ... I think maybe in an attempt to avoid deadlock the programmers added some ... Nick ... Turn on logging. ... >> Deadlock can be in your communication protocols or threading. ...
    (comp.lang.java)
  • Re: Game Company- Java Server Thread Priority
    ... I think maybe in an attempt to avoid deadlock the programmers added some ... Nick ... Turn on logging. ... >> Deadlock can be in your communication protocols or threading. ...
    (comp.lang.java.programmer)