Solved

CPU Bottleneck

Posted on 1998-09-29
5
405 Views
Last Modified: 2010-04-21
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
Comment
Question by:eracero
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 3

Accepted Solution

by:
arunm earned 50 total points
ID: 2007153
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
 
LVL 84

Expert Comment

by:ozo
ID: 2007154
or profile it to see which operations are taking the most time?
0
 
LVL 3

Expert Comment

by:braveheart
ID: 2007155
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
 
LVL 3

Expert Comment

by:arunm
ID: 2007156
Any luck finding the bottleneck eracero?

0
 
LVL 3

Expert Comment

by:arunm
ID: 2007157
Still no luck eracero?

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question