- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: monitor CPU load
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 04:46 AM
тАО01-26-2009 04:46 AM
I mean how I know if the processor is sufficient/insufficient ?
and
Runable processes
This value depicts the processes that are ready to be executed. This value should not
exceed 10 times the amount of physical processors for a sustained period of time;
otherwise a processor bottleneck is likely.
Question
Is the above true ? e.g I have single Quad-Core processor, then the value of 'r' in vmstat must not exceed the value of '9', otherwise I need an addtional processor or it means that the processor doesn't have sufficient computing power to meet the needs/load
please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 04:59 AM
тАО01-26-2009 04:59 AM
Solutionmeasure performance with top. Take a look at how much time it spends at 100%.
Take this script set and port it to Linux.
http://www.hpux.ws/?p=6
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 05:12 AM
тАО01-26-2009 05:12 AM
Re: monitor CPU load
Normally, I/O is the first factor of a poor response time of an application.
It's very important to identify where is your CPU usage going, to the usr time, sys time or iowait.
If most cpu is going to usr time, then is good, if you have more sys time than usr time, then the system is spending more time doing system calls or paging activity. If you have iowait (wa), then your system is waiting for I/O.
I don't give much importance to the "runable process" column, there are general rules, but each system is different.
If from the output of vmstat, you see idle 0, then probably you are CPU bound.
Also, for example, if you add more processors, and your application is single thread, then you won't get any improvement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 06:37 AM
тАО01-26-2009 06:37 AM
Re: monitor CPU load
The load averages is supposed to measure load based over 1, 5 and 15 minutes... if it's > 1 your cpu is according to load averages in full usage and processes get queued for CPU time.
These numbers are not always to be trusted thou, I've had systems running with above 1 with out any major issues/sluggishness.
This wiki article explains it better then I can, http://en.wikipedia.org/wiki/Load_(computing)
Thou there are some that argue on how this actually presents accurate information and how reliable it is. I find it to be quite useful when my systems are being unresponsive or slow.
The plain logic behind it is if your server/computer has a load averages over all three values that's greater then 1 all the time you need to get a new CPU if you wan't it to work 100% efficiently.
Hope this gives you some insight and/or ideas. Otherwise the best solution is to just feel it, is your system feels sluggish then you probably need more juice ;P
If this doesn't suit you, you can always use "top" to check which processes uses most CPU but that doesn't really give the result you're looking for (since only 100% CPU is measured you can't be sure that processes "need" more then 100%).
Best regards
Fredrik Eriksson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2009 07:44 PM
тАО01-26-2009 07:44 PM
Re: monitor CPU load
Just an addition to the above posts.
Check out http://iometer.org/
You can use the dynamo to generate the i/o load on the target machine and use the windows based iometer to remotely (over the network) monitor i/o, performance statistics and generate reports etc.
Regards,
Shiraj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 11:53 AM
тАО01-27-2009 11:53 AM
Re: monitor CPU load
collectl
http://collectl.sourceforge.net
Cheers,
Rob