IBM 6.1.X manual Com.ibm.wps.pe.portletentity, Wp.xml.configitems, PortletMenuCache

Page 85

com.ibm.wps.pe.portletentity

Default size: 10000, default lifetime: 5800, usage pattern: regular.

This cache contains configuration for portlets on pages (portlet instances, shared and per-user). It scales with the number of pages defined in your portal, the number of portlets on the pages and the number of portlet instances that have been personalized by users. The cache is accessed many times during portal page rendering. In so far it is important that the most relevant portlet entities are cached. Creating a cache entry involves a single database lookup. An entry into the cache is fairly small.

Example: In a portal with 500 pages and on average three portlets per page, the optimal cache size would be 1500 to store all possible portlet entity data in the cache, if users are not allowed to personalize the portlets. If the portal has 100 users that are logged in concurrently and these users have personalized 50 portlets on average, the required cache size to cache all data would be 6500. These numbers give the maximum number of entries to the cache. Typically for this cache it is not required to have all portlet entities in memory, because most users will not view all pages so that not all personalized data must be loaded. The most frequently accessed un-personalized portlet entities should fit into the cache, though.

com.ibm.wps.services.cache.cachedstate.CachedStateServiceCache.cache

Default size: 50000, default lifetime: 7200, usage pattern: typically regular.

This cache stores session-scoped data in the portal context and is used by various portal components. This cache scales linearly with the number of active sessions in the system and the number of portal components using this cache for data retrieval. The usage pattern, access times, entry creation costs and entry memory sizes depend on the portal component using this cache and cannot be stated in general.

wp.xml.configitems

Default size: 1000, default lifetime: infinite, usage pattern: regular.

This cache stores XML Access configuration items. It is used only during XML Access processing. The entries resemble references between nodes in the XML Access document. Especially when working with complex XML files, usually used for imports or Release Builder processes, it can be beneficial to increase the cache size. The cache will be cleared after XML processing is completed. Reloading a cache entry involves one database query. Entries in the cache are medium-sized.

PortletMenuCache

Default size: 200, default lifetime: infinite, usage pattern: regular.

This cache contains portlet menu trees for all portlets that define their portal menu as global, meaning identical for all users. The portal functionality that utilizes this cache is deprecated with WebSphere Portal Version V6.0.

8 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 85
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 TuningLinux Solaris Windows Parameter2003 Initial 1792 2048POWER5 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 FixesNavigator Service Properties WEB 2.0 Theme TuningParameter Setting Used JVM Initial and Maximum Heap SizeParameter 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.ProtectedResourceCache Com.ibm.wps.ac.AccessControlUserContextCacheCom.ibm.wps.ac.OwnedResourcesCache Com.ibm.wps.ac.RolesCacheCom.ibm.wps.ac.ExternalOIDCache Com.ibm.wps.ac.ApplicationRoleOIDCache Com.ibm.wps.ac.ChildResourcesCacheCom.ibm.wps.ac.ApplicationRoleDescriptorCache Com.ibm.wps.ac.ContainedRolesCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCacheCom.ibm.wps.ac.ApplicationRoleChildrenCache Com.ibm.wps.puma.DNOIDCache / com.ibm.wps.puma.OIDDNCacheCom.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.URLMappingCache.isolated Com.ibm.wps.model.content.impl.DynamicLoadCacheCom.ibm.wps.model.factory.MultiModelCache.live Com.ibm.wps.model.factory.MultiModelCache.isolatedCom.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Com.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCacheWps.mappingurl.ContextsCache Wps.mappingurl.LookupCacheCom.ibm.wps.services.vpmapping.URLToVirtualPortalIDCache Com.ibm.wps.services.vpmapping.VirtualPortalIDToURLCacheWsrp.cache.portletdescription Wsrp.cache.portlet.instance Wsrp.cache.servicedescriptionWsrp.cache.producer.user Wsrp.cache.portlet.windowWsrp.producer.portletpool.ccps Wsrp.producer.portletpool.popsProcessintegration.PendingTasksCache Wp.te.transformationAssociationCacheCom.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 Services/cache/iwk/strategy WCM Item caching WEB Content Management CachesServices/cache/iwk/objectsummary WCM Summary WCM Cache InstancesServices/cache/iwk/processing Advanced and Resour ces Services/cache/iwk/moduleServices/cache/iwk/session Session Services/cache/iwk/nav Navigator Services/cache/iwk/menu MenuServices/cache/iwk/abspath Absolute path Services/cache/iwk/missed Missed ItemsServices/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