Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Connections wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 1.0
  • 1.0.x
  • 2.0
  • 2.0.1
  • 2.0.1.1
  • 2.0_media
  • 2.5
  • 2.5_deployment
  • 2.5_media
  • 2.5_performance
  • 3
  • 3.0
  • 3.0.1
  • 3.0.1_media
  • 3.0_media
  • 3_deployment
  • 8.1.1
  • 8.2
  • activities
  • administrators
  • api
  • best_practices
  • blogs
  • bookmarks
  • business_card
  • cluster
  • communities
  • connections
  • connections_3
  • connections_301
  • customization
  • customize
  • customizing
  • demos
  • deploying
  • deployment
  • deployments
  • developers
  • dogear
  • Domino
  • Edge server
  • education
  • error messages
  • files
  • forums
  • getting_started
  • Help
  • home
  • home_page
  • homepage
  • how-to
  • HTTP server
  • ibm
  • index
  • installation
  • integration
  • iOS
  • iphone
  • issl
  • iWidget
  • J2EE
  • javadoc
  • knowledge_transfer
  • lc3.0
  • learning
  • lotus-connections
  • mml
  • mobile
  • Notes
  • performance
  • person_card
  • Portal
  • portlet
  • portlet_factory
  • profiles
  • proxy server
  • quickr
  • Redbooks
  • rest
  • reverse proxy server
  • Sametime
  • scenarios
  • search
  • security
  • self-paced
  • SSO
  • tags
  • test_infrastructure
  • troubleshooting
  • tuning
  • video
  • VideoFest
  • videos
  • WAI
  • WAS
  • web_seminar
  • WebAppIntegrator
  • WebSphere
  • widgets
  • wikis
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Tuning for Performance > Connections 2.5 WebSphere Tuning
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Connections 2.5 WebSphere Tuning 

expanded Abstract
collapsed Abstract
No abstract provided.
Checklist
  • JDBC Connection Pools & Prepared Statements
  • WebContainer Thread Pools
  • JVM Heap Sizes & Generational garbage collection


JDBC Tuning
The initial WebSphere JDBC pool size is only 10 connections maximum. This is very small and should be increased for all installations. Note that each application server, and thus each component, has its own connection pool. In addition, each component also maintains its own connection pools to the Homepage database for both Search and News functionality. Each will need to be tuned separately. Also, ensure that the backend DB will accept the total number of connections from all JDBC pools.

It is recommended that this value be to 50 after installation and tune as required by your workload. This includes the Homepage database connection pool for the Homepage application. For other components, 10 to 20 JDBC connections are enough for the Homepage pools.

As a general rule, the connection pool settings do not need to be larger than the Web Container thread pool setting. If they are, additional connections will never be used because no end users will be able to connect to WebSphere.

In addition, the prepared statement cache size is also too small. Setting the cache to 100 statements should be adequate for all workloads. The exception to this was some Oracle measurements, where to keep Oracle from running out of memory, this was lowered to 50.

The effect of these settings may be monitored either by enabling the IBM Tivoli Performance Monitor or from tracking connection ‘high water marks’ in database snapshots.


WebContainer Tuning
The initial WebSphere WebContainer thread pools is only 50 maximum may be too small. Note that each application server maintains its own thread pool. Each will need to be tuned separately. In general, the value necessary here should be roughly equal to the number of expected hits per second to each application. This value, in turn, will need to be at least as large as the JDBC connection pool.

Users can monitor the actual number of threads being used in the pool by enabling the appropriate performance counters in the IBM Tivoli Performance Monitor.


JVM Tuning
The WebSphere default size of 256MB for each JVM is too small. The maximum heap size should be at least 512MB and may need to be set as high as 1280MB, depending on the load.

It can also beneficial to run with the same minimum heap size as the maximum. This was done during most of the benchmarks to avoid the overhead of JVM memory compaction.

One caveat with running larger JVM sizes is that all the JVMs running on a physical server must fit into the physical memory of the server. As a result, a system that will run all components in separate JVMs could need at least 10 GB of memory just to support the JVMs. This is in addition to the memory needed by the operating system and other system processes.

A critical setting for performance is the generational garbage collector which can be enabled by adding the string -Xgcpolicy:gencon in the generic JVM argument field in the WAS Admin Console.

Another beneficial JVM tuning specific to Profiles was lowering the soft reference threshold from 32 to 16 with -Xsoftrefthreshold16. Profiles creates report to chain data using a cache of SoftRef objects. By default, it will take 32 garbage collection cycles to a reference before the JVM will remove the object from the heap. Depending on the number or profiles in the database, it is possible for this cache to use a significant portion of the total heap if most of the profiles are loaded into the cache. In periods of high load, there may not be enough free space to service all the incoming requests. As a result, there could be large number of GC compaction attempts that do not succeed in freeing much heap since many of the references have been accessed recently. Lowering this threshold lowers the chances of this occurring since objects are more likely to be garbage collected.

Users can enable verbosegc logging and monitor heap use with any of the above settings applied.

expanded Article information
collapsed Article information
Category:
Tuning for Performance
Tags:
2.5, WebSphere, deployment, how-to, 2.5_performance

This Version: Version 8 February 13, 2011 9:06:55 PM by Dana Liburdi  IBMer
   
expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (6)
collapsed Versions (6)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (8) Feb 13, 2011 9:06:55 PM Dana Liburdi  
5 Oct 21, 2009 9:44:52 AM Michael Urspringer  
4 Oct 15, 2009 10:59:33 PM Hunter K Presnall  
2 Oct 15, 2009 1:57:31 PM Hunter K Presnall  
2 Oct 15, 2009 1:57:31 PM Hunter K Presnall  
2 Oct 15, 2009 6:24:59 PM Dana Liburdi  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish