Solved

CPU Bottleneck

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now