• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 412
  • Last Modified:

CPU Bottleneck

I have a process that, when it runs, it consumes 90 percent of the CPU.  
There aren't problems by memory neither by disk in the machine.  
I believe that this process would run quicker if I'm able to solve the bottleneck that takes place.  
Do you think that adding one more CPU the problem is solved?
0
eracero
Asked:
eracero
  • 3
1 Solution
 
arunmCommented:
No adding one more CPU will not solve your problem unless your application can support multiple threads. Not likely unless the application is specifically written to support this. You could by adding another CPU, shift this process to one cpu, leaving the other for your other applications. But this solution will not make your current process any faster.
Investigating why the application is so processor intensive is the best solution. Can you debug it?
0
 
ozoCommented:
or profile it to see which operations are taking the most time?
0
 
braveheartCommented:
Using a lot of CPU is not necessarily a bad thing, unless your application or the entire system is running too slowly. If you have plenty of memory and the rest of the machine is normally idle, then any process which uses very little disk I/O ought to use a high percentage of CPU. It probably means that the scheduler is doing the job it is supposed to do. Otherwise your program would be hanging around doing nothing for no good reason.
0
 
arunmCommented:
Any luck finding the bottleneck eracero?

0
 
arunmCommented:
Still no luck eracero?

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now