This discussion is archived
1 Reply Latest reply: Sep 20, 2010 4:15 AM by 800381 RSS

load balancing among multiple CPU

843798 Newbie
Currently Being Moderated
I am using a java based application on windows server 2008 r2 64bit and JRE 6u17.The server has multiple processor.But when we run the application only one cpu takes the 100% load and cant balance the load.But if we run the application on windows xp or server 2003 the application can balance the among the CPU.

Any one noticed this type of issue before or any one know the reason???

Thanks
  • 1. Re: load balancing among multiple CPU
    800381 Explorer
    Currently Being Moderated
    Your application probably has one thread that is CPU-intensive.

    If that's the case, the "balanced" CPU utilization you see on Windows is caused by unnecessary context switches. And thus your app runs slower than it otherwise would.

    If your app is spinning like crazy in a single CPU, does it really matter which one it's spinning in?