1748150 Members
3647 Online
108758 Solutions
New Discussion

Re: Common question

 
kunjuttan
Super Advisor

Common question

Hi All,

 

      I need answer to a common question in interviews.

What you will do when server performance is slow.How to check processes.

2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: Common question

Performance problems are a result of a resource shortage.  There are four basic resources:  cpu, memory, i/o, and network.  Each has their own metrics, but the easiest way to check all of them is to use glance.  If glance is not available then you need to delve into top, vmstat, sar, and landiag, at the very least.


Pete
Dennis Handly
Acclaimed Contributor

Re: Common question

Once you find out which is the resource bottleneck you can do several things:

1) Throw more resources at the problem.

2) Migrate applications to another machine, a subset of 1).

3) Tune the system.

4) Recode the application for better performance.

5) Stop/postpone running the application.