IBM 6.1.X manual Environment Considerations

Page 8

Environment Considerations

Before beginning your install of WebSphere Portal you should consider how to use the environment in order to achieve ideal performance. Topics to consider include:

Choosing between 32-bit and 64-bit JVMs

Use of hardware multithreading, also known as Simultaneous Multithreading or Hyper-Threading.

3 2 - B I T A N D 6 4 - B I T C O N S I D E R A T I O N S

The choice of a 32-bit or 64-bit JVM involves some trade-offs. The key advantage of a 64-bit JVM is its vastly larger address space. Heap sizes of 2.5GB or larger can be practical on modern server systems. This can be a significant benefit for applications with high memory demands.

A 64-bit JVM does have disadvantages as well. Machine instructions and memory references in a 64-bit JVM are larger than in a 32-bit JVM. This means that Java objects, which typically contain multiple memory references, are larger in a 64-bit JVM than compared to a 32-bit JVM. Therefore a 64-bit JVM will need a larger heap than a 32-bit JVM for the same population of objects.

The increased size of instructions and memory references imposes a second performance penalty. They increase the demand on the memory subsystem of the system, causing more cache misses and a higher demand for memory bandwidth. As a result, executing a set of operations in a 64-bit JVM can be slower than executing the same operations in a 32-bit JVM.

When considering a deployment of WebSphere Portal 6.1, consider the memory demands your applications will have. If you expect a high demand for memory, the best performance will probably come from a 64-bit JVM. On the other hand, if the memory demand is lower, a 32-bit JVM is likely to give superior performance.

H A R D W A R E M U L T I T H R E A D I N G ( H Y P E R - T H R E A D I N G )

Many modern processor architectures support hardware multithreading. For example, this is known as Hyper-Threading (HT) on Intel processors and Simultaneous Multithreading (SMT) on Power-series processors. Our experience is that using hardware multithreading provides an improvement in capacity in all of the scenarios and platforms reported in this report, so we would recommend its use on platforms where this is an option.

3

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 8
Contents IBM WebSphere Portal IBM WebSphere Portal software family Your world. Your wayContents Web Server Tuning Portlet Caching General Information Figures About this Document Performance Tuning Overview Environment Considerations Base Portal Tuning Application Server Tuning How to get to Admin ConsoleParameter Linux Solaris Windows2003 Initial 1792 2048POWER5 New Area Size Xmn320m Xmn256m Xmn768m Xmn1024m Parameter Value Additional InformationWeb Container Thread pool Size TimeoutSession Minutes Name Value PropagationHow to Set Context Pool Setting Default ValueWebSphere Portal Services Default Value Definition UsedG I S T R Y S E R V I C E Default Value Value Used Cache NameDatabase Tuning Database Database name Datasource name2 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 AIXTHREADSCOPE=S Parameter ValueExecute Directory Server Tuning Db2 update db config for idsldap using dbheapWeb Server Tuning Linux Windows Additional InformationMinSpareThreads 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 Required Fixes MaxthreadtasksWEB 2.0 Theme Tuning Navigator Service PropertiesParameter Setting Used JVM Initial and Maximum Heap SizeInternet Explorer Support of Vary Header Caching Proxy TuningParameter Setting Used Additional Information # uncommented these to enable statics to be cached # set cache-control public for various static contentPortlet Caching ExpiresActive OnRelease DB Parameter Many Pages TuningDB2 Database Tuning Cache Manager Service WEB Content Management Tuning WebSphere Portal Service Properties Cache NameWCM Object Cache WCM Configuration Service JCR Text SearchDB2 Tuning Authoring Environment DB2 BP4 Composite Applications Tuning Cache Manager Service PropertiesComposite 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 Cluster Tuning Value trueHow-To Set ThreadLimit ServerLimit Session Persistence To Database Tuning Parameter Setting Additional DetailsVertical Cluster Tuning IBM Tivoli Directory Server Tuning Other Performance Tuning Options Improving Portal Startup PerformanceManaging 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 Websphere Portal Caches General InformationBS 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 Cache Usage Patterns Pattern invalidation checkingCache Instances Portal Access Control Cache Hierarchy Com.ibm.wps.ac.PermissionCollectionCacheCom.ibm.wps.ac.AccessControlUserContextCache Com.ibm.wps.ac.ProtectedResourceCacheCom.ibm.wps.ac.OwnedResourcesCache Com.ibm.wps.ac.RolesCacheCom.ibm.wps.ac.ExternalOIDCache Com.ibm.wps.ac.ApplicationRoleDescriptorCache Com.ibm.wps.ac.ChildResourcesCacheCom.ibm.wps.ac.ApplicationRoleOIDCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCache Com.ibm.wps.ac.ContainedRolesCacheCom.ibm.wps.ac.ApplicationRoleChildrenCache Com.ibm.wps.puma.DNOIDCache / com.ibm.wps.puma.OIDDNCacheCom.ibm.wps.datastore.pageinstance.OIDCache Com.ibm.wps.datastore.PortalIdCache.vpPerLpid.cacheCom.ibm.wps.datastore.PortalIdCache.explicitLpidPerVP Com.ibm.wps.datastore.pageinstance.DerivationCache Com.ibm.wps.datastore.pageinstance.DynamicNodeCacheCom.ibm.wps.model.content.impl.ResourceCache Com.ibm.wps.model.factory.SimpleCacheKeyCom.ibm.wsp.mode.content.impl.TopologyCache Com.ibm.wps.model.factory.ContentModelCache.liveCom.ibm.wps.model.factory.ContentModelCache.isolated Com.ibm.wps.model.factory.URLMappingCache.liveCom.ibm.wps.model.content.impl.DynamicLoadCache Com.ibm.wps.model.factory.URLMappingCache.isolatedCom.ibm.wps.model.factory.MultiModelCache.live Com.ibm.wps.model.factory.MultiModelCache.isolatedCom.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCache Com.ibm.wps.model.impl.RuntimeClientMap.userAgent2clientWps.mappingurl.ContextsCache Wps.mappingurl.LookupCacheWsrp.cache.portletdescription Com.ibm.wps.services.vpmapping.VirtualPortalIDToURLCacheCom.ibm.wps.services.vpmapping.URLToVirtualPortalIDCache Wsrp.cache.servicedescription Wsrp.cache.portlet.instanceWsrp.cache.producer.user Wsrp.cache.portlet.windowWsrp.producer.portletpool.pops Wsrp.producer.portletpool.ccpsProcessintegration.PendingTasksCache Wp.te.transformationAssociationCacheCom.ibm.wps.policy.services.PolicyCacheManager Com.ibm.wps.policy.services.UserPolicyNodeCacheManagerCom.lotus.cs.services.domino.DominoService Com.lotus.cs.services.directory.wmm.WMMDirectoryServiceCom.lotus.cs.services.UserEnvironment PortletMenuCache Wp.xml.configitemsCom.ibm.wps.pe.portletentity RegistryService Com.ibm.workplace.searchmenu.helper.SearchMenuCacheHelperExample 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 WEB Content Management Caches Services/cache/iwk/strategy WCM Item cachingServices/cache/iwk/objectsummary WCM Summary WCM Cache InstancesServices/cache/iwk/session Session Services/cache/iwk/moduleServices/cache/iwk/processing Advanced and Resour ces Services/cache/iwk/menu Menu Services/cache/iwk/nav NavigatorServices/cache/iwk/abspath Absolute path Services/cache/iwk/missed Missed ItemsUser cache Services/cache/iwk/libparent Library ParentServices/cache/iwk/draftSummary Draft Summary Appendix A. References Mark Alkins, Manager Lee Backstrom, Document CoordinatorBS P HE R E P O R T AL V 6 T U N I N G G U I D E