IBM 6.1.X manual Vertical Cluster Tuning

Page 55

S E S S I O N D A T A B A S E T U N I N G

In addition to creating bufferpool and tablespace to support 32K page size for Session database, we applied the following tunings to our dedicated session database server,

db2set DB2_USE_ALTERNATE_PAGE_CLEANING=ON db2set DB2_RR_TO_RS=YES

db2set DB2_PARALLEL_IO=*

# disable session tablespace FILE SYSTEM CACHING

db2 alter tablespace sess_user32k NO FILE SYSTEM CACHING db2 alter tablespace sess_temp32k NO FILE SYSTEM CACHING

db2 “update db cfg for <sess61> using locklist 5120” db2 “update db cfg for <sess61> using maxlocks 80” db2 “update db cfg for <sess61> using dbheap 4800”

db2 “update db cfg for <sess61> using num_iocleaners 20” db2 “update db cfg for <sess61> using num_ioservers 20” db2 “update db cfg for <sess61> using logbufsz 256” db2 “update db cfg for <sess61> using logfilsiz 12288” db2 “update db cfg for <sess61> using logprimary 40”

Vertical Cluster Tuning

We set the following in our vertical cluster environment,

See Dynacache Custom Properties in Cluster Tuning section to reduce the number and size of Dynacache messages sent between JVMs. Additional DynaCache properties for Vertical Cluster:

Name: com.ibm.ws.cache.CacheConfig.cacheEntryWindow Value: 10

Name: com.ibm.ws.cache.CacheConfig.cacheInvalidateEntryWindow Value: 10

Name:com.ibm.ws.cache.CacheConfig.propogateInvalidationNotSharedValue: false

Name: com.ibm.ws.cache.CacheConfig.useServerClassLoader Value: true

See Transport Buffer Size in Cluster Tuning section to increase transfer buffer size.

Increase Dynamic cache size to 3500.

How to set: Portal Server -> Container Services -> Dynamic Cache Service -> Cache size = 3500

See WMM Context Pooling on how to improve the performance of concurrent access to an LDAP server.

Use the following command to increase DBHEAP for Release database.

db2 “update db cfg for <release> using dbheap 4800”

5 0

W E BS P HE R E P O R T AL V 6 . 1 T U N I N G G U I D E

Image 55
Contents IBM WebSphere Portal software family Your world. Your way IBM WebSphere PortalContents Web Server Tuning Portlet Caching General Information Figures About this Document Performance Tuning Overview Environment Considerations Base Portal Tuning How to get to Admin Console Application Server TuningInitial 1792 2048 ParameterLinux Solaris Windows 2003POWER5 Parameter Value Additional Information New Area Size Xmn320m Xmn256m Xmn768m Xmn1024mSession Minutes TimeoutWeb Container Thread pool Size Propagation Name ValueContext Pool Setting Default Value How to SetDefault Value Definition Used WebSphere Portal ServicesG I S T R Y S E R V I C E Cache Name Default Value Value UsedDatabase Database name Datasource name Database Tuning2 O N a I X S E T U P Db2 reorgchk update statistics on table all Db2 reorgchk current statistics on table all reorgchk.txt A C L E D a T a B a S E S E R V E R T U N I N G Parameter Value AIXTHREADSCOPE=SExecute Db2 update db config for idsldap using dbheap Directory Server TuningLinux Windows Additional Information Web Server TuningMinSpareThreads MaxSpareThreads Operating System Tuning N U T W O R K T U N I N G How-to-Setndd -set /dev/tcpPARAMETER Value L a R I S C O N T a I N E R Maxthreadtasks Required FixesJVM Initial and Maximum Heap Size WEB 2.0 Theme TuningNavigator Service Properties Parameter Setting UsedParameter Setting Used Additional Information Caching Proxy TuningInternet Explorer Support of Vary Header # set cache-control public for various static content # uncommented these to enable statics to be cachedExpiresActive On Portlet CachingDB2 Database Tuning Many Pages TuningRelease DB Parameter Cache Manager Service WEB Content Management Tuning Cache Name WebSphere Portal Service PropertiesWCM Object Cache JCR Text Search WCM Configuration ServiceDB2 Tuning Authoring Environment DB2 BP4 Cache Manager Service Properties Composite Applications TuningComposite Applications Best Practices BS P HE R E P O R T AL V 6 T U N I N G G U I D E Value true Cluster TuningHow-To Set ThreadLimit ServerLimit Parameter Setting Additional Details Session Persistence To Database TuningVertical Cluster Tuning IBM Tivoli Directory Server Tuning Improving Portal Startup Performance Other Performance Tuning OptionsManaging the Retrieval of User Attributes BS P HE R E P O R T AL V 6 T U N I N G G U I D E Use of Dynamic Content Features Real-World Network Considerations BrowserMatch Mozilla/4 gzip-only-text/html General Information Websphere Portal CachesBS P HE R E P O R T AL V 6 T U N I N G G U I D E BS P HE R E P O R T AL V 6 T U N I N G G U I D E Pattern invalidation checking Cache Usage PatternsCache Instances Com.ibm.wps.ac.PermissionCollectionCache Portal Access Control Cache HierarchyCom.ibm.wps.ac.RolesCache Com.ibm.wps.ac.AccessControlUserContextCacheCom.ibm.wps.ac.ProtectedResourceCache Com.ibm.wps.ac.OwnedResourcesCacheCom.ibm.wps.ac.ExternalOIDCache Com.ibm.wps.ac.ApplicationRoleOIDCache Com.ibm.wps.ac.ChildResourcesCacheCom.ibm.wps.ac.ApplicationRoleDescriptorCache Com.ibm.wps.puma.DNOIDCache / com.ibm.wps.puma.OIDDNCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCacheCom.ibm.wps.ac.ContainedRolesCache Com.ibm.wps.ac.ApplicationRoleChildrenCacheCom.ibm.wps.datastore.PortalIdCache.explicitLpidPerVP Com.ibm.wps.datastore.PortalIdCache.vpPerLpid.cacheCom.ibm.wps.datastore.pageinstance.OIDCache Com.ibm.wps.datastore.pageinstance.DynamicNodeCache Com.ibm.wps.datastore.pageinstance.DerivationCacheCom.ibm.wps.model.factory.SimpleCacheKey Com.ibm.wps.model.content.impl.ResourceCacheCom.ibm.wps.model.factory.ContentModelCache.live Com.ibm.wsp.mode.content.impl.TopologyCacheCom.ibm.wps.model.factory.URLMappingCache.live Com.ibm.wps.model.factory.ContentModelCache.isolatedCom.ibm.wps.model.factory.MultiModelCache.isolated Com.ibm.wps.model.content.impl.DynamicLoadCacheCom.ibm.wps.model.factory.URLMappingCache.isolated Com.ibm.wps.model.factory.MultiModelCache.liveWps.mappingurl.LookupCache Com.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCacheCom.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Wps.mappingurl.ContextsCacheCom.ibm.wps.services.vpmapping.URLToVirtualPortalIDCache Com.ibm.wps.services.vpmapping.VirtualPortalIDToURLCacheWsrp.cache.portletdescription Wsrp.cache.portlet.window Wsrp.cache.servicedescriptionWsrp.cache.portlet.instance Wsrp.cache.producer.userWp.te.transformationAssociationCache Wsrp.producer.portletpool.popsWsrp.producer.portletpool.ccps Processintegration.PendingTasksCacheCom.ibm.wps.policy.services.UserPolicyNodeCacheManager Com.ibm.wps.policy.services.PolicyCacheManagerCom.lotus.cs.services.UserEnvironment Com.lotus.cs.services.directory.wmm.WMMDirectoryServiceCom.lotus.cs.services.domino.DominoService Com.ibm.wps.pe.portletentity Wp.xml.configitemsPortletMenuCache Com.ibm.workplace.searchmenu.helper.SearchMenuCacheHelper RegistryServiceExample Scenarios BS P HE R E P O R T AL V 6 T U N I N G G U I D E R T a L S W I T H L O N G S E S S I O N T I M E O U T S BS P HE R E P O R T AL V 6 T U N I N G G U I D E WCM Cache Instances WEB Content Management CachesServices/cache/iwk/strategy WCM Item caching Services/cache/iwk/objectsummary WCM SummaryServices/cache/iwk/processing Advanced and Resour ces Services/cache/iwk/moduleServices/cache/iwk/session Session Services/cache/iwk/missed Missed Items Services/cache/iwk/menu MenuServices/cache/iwk/nav Navigator Services/cache/iwk/abspath Absolute pathServices/cache/iwk/draftSummary Draft Summary Services/cache/iwk/libparent Library ParentUser cache Appendix A. References Lee Backstrom, Document Coordinator Mark Alkins, ManagerBS P HE R E P O R T AL V 6 T U N I N G G U I D E