Pages

Saturday, August 6, 2011

Tune your WebSphere Application Server deployment for Production or Development


Do you know that WebSphere Application Server install contains scripts to tune the performance of the server ? These can be found in   $WAS_HOME/scriptLibraries/perfTuning/V70

This wsadmin script can be run as follows ....
$WAS_HOME/bin/wsadmin -f applyPerfTuningTemplate.py [-nodeName <node> -serverName <server>] [-clusterName <cluster>] -templateFile <file> where templateFile could be one of "peak.props",  "development.props" or "default.props"

#-----------------------------------------------------------------------------
# File Name:
#      ApplyPerfTuning.py
# Purpose:
#      Apply pre-defined performance tuning templates to a specific
#      application server instance or all instances in a cluster. Three
#      templates are pre-defined (default, peak, and development);
#      however, these files can easily be modified to create your own custom
#      tuning template.
#-----------------------------------------------------------------------------

You can tune WAS either for development (faster application restarts, smaller footprint, dynamic threadpool  sizes) or production (increased throughput, smaller garbage collection pauses, Fixed threadpool sizes). Correctly tuning WAS can vastly improve your developer and customer experience.

For a complete case study in  basic and advanced tuning see   http://www.ibm.com/developerworks/websphere/techjournal/0909_blythe/0909_blythe.html . The article discussed this core set of tunables plus other option resulting in performance gains in excess of 100%.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.