IBM 6.1.X manual Parameter, Linux Solaris Windows, 2003, Initial 1792 2048

Page 11

J V M M A X I M U M H E A P S I Z E L I M I T S

When setting the heap size for an application server, keep the following in mind:

￿Make sure that the system has enough physical memory for all of the processes to fit into physical memory, plus enough for the operating system. When more memory is allocated than the physical memory in the system, paging will occur, and this can result in very poor performance.

￿We set the minimum and maximum heap sizes to the same values since we’re using the gencon garbage collection policy available in 1.5 IBM JDK which avoids heap fragmentation, this may not be the best choice if you plan to use a different garbage collection. In our measurement runs, the system is under load for a relatively short time (around 3 hours), and it is running with portlets which do not have large memory requirements. When using portlets which have larger memory requirements, or for continuous operation, it may be possible to reduce heap fragmentation by setting the initial heap size to 320 megabytes.

￿After doing any tuning of heap sizes, monitor the system to make sure that paging is not occurring. As mentioned above, paging can cause poor performance.

￿32-bit operating systems have an address space limit of 4GBytes, regardless of the amount of physical memory in the system. This space limits the maximum size of each individual process in the system. In addition, some operating systems restrict the size of processes to be even less than this limit. Many versions of Windows limit processes to 2GBytes in size; you can find more information at http://support.microsoft.com/default.aspx?scid=kb;en-us;555223.

￿The address space limit further restricts the size of the JVM process. If the process grows larger than the limit imposed by the operating system, it may terminate unexpectedly.

Due to the demands on native memory by WebSphere Portal V6.1 and its underlying components, we chose a maximum heap size of 1408MB in our Windows environments. There is a balance between JVM heap and native memory, all of which must fit within the 2GB restriction in 32-bit Windows. 1408MB was the largest value we could use to successfully measure all of our Windows configurations and workloads. If your application has additional native memory requirements then you may need to choose a smaller maximum heap size. For more information, see the WebSphere Application Server information center.

On Solaris and zLinux, we use 3.5GB heap size in 64-bit environment.

 

Parameter

 

AIX

Linux

Solaris

Windows

z/Linux

z/OS

 

 

POWER5

2003

 

 

 

 

 

 

 

 

Initial and

1792

2048

3584

1408

3584

2048

 

Maximum

 

 

 

 

 

 

 

heap size

 

 

 

 

 

 

 

(Mbytes)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

 

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 11
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 Xmn1024mWeb Container Thread pool Size TimeoutSession Minutes 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 UsedInternet Explorer Support of Vary Header Caching Proxy TuningParameter Setting Used Additional Information # set cache-control public for various static content # uncommented these to enable statics to be cachedExpiresActive On Portlet CachingRelease DB Parameter Many Pages TuningDB2 Database Tuning 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.ApplicationRoleDescriptorCache Com.ibm.wps.ac.ChildResourcesCacheCom.ibm.wps.ac.ApplicationRoleOIDCache 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.pageinstance.OIDCache Com.ibm.wps.datastore.PortalIdCache.vpPerLpid.cacheCom.ibm.wps.datastore.PortalIdCache.explicitLpidPerVP 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.ContextsCacheWsrp.cache.portletdescription Com.ibm.wps.services.vpmapping.VirtualPortalIDToURLCacheCom.ibm.wps.services.vpmapping.URLToVirtualPortalIDCache 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.domino.DominoService Com.lotus.cs.services.directory.wmm.WMMDirectoryServiceCom.lotus.cs.services.UserEnvironment PortletMenuCache Wp.xml.configitemsCom.ibm.wps.pe.portletentity 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/session Session Services/cache/iwk/moduleServices/cache/iwk/processing Advanced and Resour ces Services/cache/iwk/missed Missed Items Services/cache/iwk/menu MenuServices/cache/iwk/nav Navigator Services/cache/iwk/abspath Absolute pathUser cache Services/cache/iwk/libparent Library ParentServices/cache/iwk/draftSummary Draft Summary 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