Hi all,
Solaris has a rich number of tools/APIs in order to help to put together a
Capacity Planning model of your servers/site:
- /proc, process statistics
- Kernel Statistics: used by a majority of userland tools to obtain:
- CPU/Cores utilization (Adrian Cockcroft might disagree with this [1],
however still remains important to collect and follow along with your
application's throughput and response time)
- Memory utilization
- Disk and Network utilization
All these 4 metrics gives you an idea whats going on more or less with your
system(s), having faith in kernel developers that wont play and will keep
consistent
the kstat interface over time (e.g.: if per cpu data changes you can say
goodbye to your capacity plan). All these hand in hand with the throughput and
response times of your applications are an important part of any capacity
planning model.
We have lots of tools in (Open)Solaris but we need to better integrate them to
help anyone interested in building a Capacity Planning model for their Solaris
systems. Couple of things missing:
- corestat (should be part of the ON).
- sysperfstat (combined CPU, Mem, Disk, Net utilization/saturation). If not
integrated this, Sun should have a similar tool.
- nicrec (important to measure the bandwidth capacity of your server)
- say you run IP exclusive, each local zone having its own TCP/IP stack. How
can you obtain from global zone the kstat numbers (currEstab,...)
for each TCP/UDP module of all local zones ?
- zone utilization: ready tools to measure the utilisation of each container
deployed
in the global zone.
- is there any paper(s) related with all current tools and how they can be
used to
develop a simple Capacity Planning model ?
For fun I combined some tools together and some I modified in order to help my
life as a sysadmin. (SE Toolkit could have been easily used here, however not
all sites allow installing extra software adding new kernel drivers)
http://www.nbl.fi/~nbl97/solaris/perf/index.html
Comments ?
thanks,
Stefan
[1] - Utilization is Virtually Useless as a Metric! Adrian Cockcroft ? eBay
Research Labs
--
This message posted from opensolaris.org