Solved

CPU Bottleneck

Posted on 1998-09-29
5
407 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

729 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