IBM 6.1.X manual Com.ibm.wps.datastore.pageinstance.DerivationCache

Page 74

achieve best performance, in terms of cache hit rate, the size should be set to a value so that all pages defined in the system fit into the cache. This corresponds to the row count of the database table PAGE_INST.

com.ibm.wps.datastore.pageinstance.DerivationCache

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

This cache stores the mappings between pages and their derivation children, or empty mappings if no such children exist. Like the pageinstance.OIDCache cache this one also is accessed very frequently during page rendering and administration. Creating a cache entry involves one multi-row database query. This cache also scales with the number of pages in the system. Hence, you can use the same sizes for the previous cache and this one. In most portal usage scenarios the actual size of this cache will be somewhat lower than with the page instance cache. An average entry in the cache is rather small. Only if all your pages have long lists of derivation children will the entries become larger. To achieve best performance, in terms of cache hit rate, the size should be set to a value so that all pages defined in the system fit into the cache. This corresponds to the row count of the database table PAGE_INST.

com.ibm.wps.datastore.pageinstance.DynamicNodeCache

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

This cache stores one list per domain. These lists contain all pages in the corresponding domain that are flagged as dynamic nodes, i.e. dynamic assembly content nodes can be added below these pages. Since the number of domains does not grow, the size as well as other properties of this cache should not be modified. The size of one entry into the cache ranges from small in a portal with very few dynamic nodes up to medium with many dynamic nodes in the system.

com.ibm.wps.datastore.services.Identification.SerializedOidString.cache

Default size: 2500, default lifetime: infinite, usage pattern: cascading object types.

This cache stores serialized ObjectIDs used in request parameters or XML Access files. It contains a subset of all the loaded ObjectIDs in memory. In so far it scales with the number of ObjectIDs in the system, but not for all of these IDs the serialized version is requested, hence the actual size is impossible to predict. The cache is used during every request. Creating a cache entry is rather cheap. Typically all information can be retrieved in memory, database lookups are scarcely necessary. A cache entry is fairly small.

M O D E L

The model caches can be categorized into two groups: One group of caches is accessed during every portal request during page rendering. The second group of caches is especially important for administrative actions. Hence those caches are especially important in those environments where content and portal administration is done. Most run-time caches have the name suffix live; the administrative caches have the suffix isolated.

6 9

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 74
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 Console2003 ParameterLinux Solaris Windows 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 MaxthreadtasksParameter Setting Used WEB 2.0 Theme TuningNavigator Service Properties 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.OwnedResourcesCache Com.ibm.wps.ac.AccessControlUserContextCacheCom.ibm.wps.ac.ProtectedResourceCache 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.ApplicationRoleChildrenCache Com.ibm.wps.ac.ApplicationRolesForPrincipalCacheCom.ibm.wps.ac.ContainedRolesCache 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.factory.MultiModelCache.live Com.ibm.wps.model.content.impl.DynamicLoadCacheCom.ibm.wps.model.factory.URLMappingCache.isolated Com.ibm.wps.model.factory.MultiModelCache.isolatedWps.mappingurl.ContextsCache Com.ibm.wps.services.vpmapping.VirtualPortalIDToRealmCacheCom.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Wps.mappingurl.LookupCacheWsrp.cache.portletdescription Com.ibm.wps.services.vpmapping.VirtualPortalIDToURLCacheCom.ibm.wps.services.vpmapping.URLToVirtualPortalIDCache Wsrp.cache.producer.user Wsrp.cache.servicedescriptionWsrp.cache.portlet.instance Wsrp.cache.portlet.windowProcessintegration.PendingTasksCache Wsrp.producer.portletpool.popsWsrp.producer.portletpool.ccps 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 Services/cache/iwk/objectsummary WCM Summary WEB Content Management CachesServices/cache/iwk/strategy WCM Item caching WCM Cache InstancesServices/cache/iwk/session Session Services/cache/iwk/moduleServices/cache/iwk/processing Advanced and Resour ces Services/cache/iwk/abspath Absolute path Services/cache/iwk/menu MenuServices/cache/iwk/nav Navigator 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