Page 2 - Contents
Contents PERFORMANCE TUNING OVERVIEW ............................................................................................................... 2 Environment Considerations ................................................................................................................ 3 32-bit ...
Page 6 - ABOUT THIS DOCUMENT
ABOUT THIS DOCUMENT This white paper provides a basis for parameter and application tuning for IBM WebSphere Portal for Multiplatform V6.1. Remember that both tuning and capacity are affected by many factors, including the workload scenario and the performance measurement environment. For tuning, th...
Page 7 - PERFORMANCE TUNING OVERVIEW
2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E PERFORMANCE TUNING OVERVIEW Tuning a WebSphere Portal environment involves tuning and configuring the various systems and components of the environment. This chapter discusses some general concepts and details the specifics of the configu...
Page 8 - Environment Considerations; Choosing between 32-bit and 64-bit JVMs; 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
3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 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...
Page 9 - BASE PORTAL TUNING
4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E BASE PORTAL TUNING The Base Portal Scenario covers user login, page navigation, and interaction with simple portlets. Users can see a small set of pages, some of which are visible to all authenticated users, with access to others based on...
Page 10 - Application Server Tuning; Start Portal and use port 10027; J V M I N I T I A L A N D M A X I M U M H E A P S I Z E; How-To Set: In the WebSphere Administrative Console: Servers; JVM Max Heap Size Limits
5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Application Server Tuning There are many aspects to configuring and tuning an application server in WebSphere Application Server. We found that those aspects presented here were critical to a correctly functioning and optimally performing...
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
6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 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, p...
Page 12 - J V M H E A P L A R G E P A G E; Application Servers
7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E J V M H E A P L A R G E P A G E Large pages can reduce the CPU overhead needed to keep track of heap. With this setting we have seen 10% throughput improvement in our measurements. This setting does improve performance on Windows, we did ...
Page 13 - J V M H E A P N E W A R E A S I Z E; A D D I T I O N A L S U N J V M A R G U M E N T S; Print timestamps at garbage collection. See above.
8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E J V M H E A P N E W A R E A S I Z E The Generational Garbage Collector introduced in Java 5.0 is efficient to Portal application JVM memory management, and it is set as default by installation with the –Xgcpolicy:gencon command-line optio...
Page 14 - S E S S I O N T I M E O U T; W E B C O N T A I N E R T H R E A D P O O L S I Z E; How To Set: In the WebSphere Administrative Console: Servers
9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E S E S S I O N T I M E O U T Session timeout: The default value of Session Timeout is 30 minutes. Reducing this value to a lower number can help reduce memory consumption requirements, allowing a higher user load to be sustained for longer...
Page 15 - S E C U R I T Y A T T R I B U T E P R O P A G A T I O N; These settings apply to all platforms.; Name; In our WAS 7 environment, we add
1 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E S E C U R I T Y A T T R I B U T E P R O P A G A T I O N To reduce the Security Attribute Propagation (SAP) overhead, please use a custom property 'disable Callerlist'. If SAP is not used, you can disable that, to remove the extra overhe...
Page 16 - V M M C O N T E X T P O O L I N G; Context Pool Setting; O R B S E R V I C E T U N I N G F O R Z / O S
1 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E V M M C O N T E X T P O O L I N G Tune VMM Context Pooling to improve the performance of concurrent access to an LDAP server. We changed the following Context Pooling settings line in: <wp_profile_root>/config/cells/<cellname&g...
Page 17 - WebSphere Portal Services; N A V I G A T O R S E R V I C E; Parameter; Default
1 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E WebSphere Portal Services WebSphere Portal has a number of configurable “services”; each service has several parameters available to it. This section describes which services we tuned, the tuning values used, and the rationale for those...
Page 18 - R E G I S T R Y S E R V I C E
1 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E R E G I S T R Y S E R V I C E WebSphere Portal maintains information about many resource types in its databases. Some of these resources are replicated into memory for faster access; this is provided by the registry service. This replic...
Page 19 - C A C H E M A N A G E R S E R V I C E; Cache Name; Default Value
1 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E C A C H E M A N A G E R S E R V I C E The cache manager service in WebSphere Portal is used to cache a wide variety of types of information in memory. These caches are somewhat similar to the registries maintained by the registry servic...
Page 20 - Database Tuning; D A T A S O U R C E T U N I N G F O R D B 2; Database; D B 2 D A T A B A S E S E R V E R T U N I N G
1 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Database Tuning D A T A S O U R C E T U N I N G F O R D B 2 Multiple databases are used to hold information in WebSphere Portal V6.1. We used six separate DB2 databases, each representing a separate database domain and having their own ...
Page 21 - D B 2 O N A I X S E T U P
1 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E We built six separate databases within one database server to house the tables and data needed to support each domain. For the Base Portal and Many Pages measurements, the Release domain is the primary database being exercised. The data...
Page 22 - Remote Database’ section.; D B 2 O N Z / O S S E T U P; Perform a re-org check to improve performance.; R E C O M M E N D E D D A T A B A S E M A I N T E N A N C E F O R D B 2 L U W; db2 reorgchk update statistics on table all
1 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E While the Portal databases are configured for high capacity performance, various tuning adjustments may be necessary from time to time. Typically these tuning needs are based on the volume of database traffic and the size of table popul...
Page 23 - db2 reorg table tableschema.tablename; DB2 Information Center
1 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E optimizer to select an efficient access plan for complex SQL, particularly for queries of the JCR database. We have determined a technique that has the same convenience of the reorgchk command and provides the detailed statistics prefer...
Page 24 - O R A C L E D A T A B A S E S E R V E R T U N I N G; For our Solaris platform measurements we also used Oracle 10
1 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E O R A C L E D A T A B A S E S E R V E R T U N I N G WebSphere Portal V6.1 uses database servers for core functionality. In this measurement environment, we used Oracle database server for the Portal application. The LDAP server, IBM Tiv...
Page 25 - O R A C L E O N A I X S E T U P; We configure our Oracle database on AIX using the following setup,; smitty aio; O R A C L E E N T E R P R I S E E D I T I O N D A T A B A S E P A R A M E T E R T U N I N G
2 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E O R A C L E O N A I X S E T U P We configure our Oracle database on AIX using the following setup, • Set the filesystem which will hold the Portal databases to be a Enhanced Journal File System (JFS2). • Turn on concurrent I/O (CIO) for...
Page 26 - R E C O M M E N D E D O R A C L E D A T A B A S E M A I N T E N A N C E
2 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E R E C O M M E N D E D O R A C L E D A T A B A S E M A I N T E N A N C E Optimizer statistics are a collection of data about the database and the objects in the database, these statistics are used by the query optimizer to choose the bes...
Page 27 - Directory Server Tuning; db2 “update db config for idsldap using dbheap 4800”
2 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Directory Server Tuning Our measurements used IBM Tivoli Directory Server versions 6.0 as the directory server. These products use a database for storing user information; DB2 Enterprise Server was used for this database in our environm...
Page 28 - Web Server Tuning; off
2 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Web Server Tuning We used IBM HTTP Server 6.1 in our measurement environment. The cluster configuration and the Solaris configuration has a remote web server, find the tuning in Web Server Tuning in Cluster Tuning section. All other con...
Page 29 - MinSpareThreads; We also enabled the
2 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E MaxClient/ThreadsPerChild. MinSpareThreads 25 25 N/A 25 MaxSpareThreads 3750 4500 N/A 4500 Set it same as MaxClients. MaxClients 3750 4500 N/A 4500 We also enabled the server-status module so that we could monitor the number of running ...
Page 30 - Operating System Tuning; A I X; Then remember to ‘Save current parameters for Next Boot’.
2 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Operating System Tuning In any high-load environment, the network must be closely monitored to ensure that its performance is acceptable and consistent. Note that, the following is not to suggest that all network parameters are set to t...
Page 31 - L I N U X; N E T W O R K T U N I N G; Use the
2 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E L I N U X N E T W O R K T U N I N G For Red Hat Linux and z/Linux (Suse Linux on zOS), we add the following settings to file /etc/sysctl.conf, then run the command: sysctl -p To inspect current TCP parameters, run the command: sysctl -a...
Page 32 - S O L A R I S; For Solaris, use the; K E R N E L T U N I N G
2 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E S O L A R I S N E T W O R K T U N I N G For Solaris, use the ndd command to set the following TCP layer parameters. These will take effect immediately, improving the network layer performance in high-volume environments. We use the foll...
Page 33 - S O L A R I S C O N T A I N E R
2 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E S O L A R I S C O N T A I N E R Use Solaris Containers to better utilize your modern, powerful T2 server with hundreds of virtual processors. In our lab, we use Processor Sets to partition virtual processors. We create a vertical cluste...
Page 34 - S Y S T E M T U N I N G; Required Fixes
2 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Z / O S S Y S T E M T U N I N G In the PARMLIB member BPXPRMxx check the values of the following parameters: Table 15: z/OS System Tuning Parameter Value Additional Information MAXPROCSYS 15000 System will allow at most 15000 processes ...
Page 35 - WEB 2.0 THEME TUNING; JVM Initial and Maximum Heap Size
3 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E WEB 2.0 THEME TUNING In the Web 2.0 theme environment a reverse proxy was used to cache content outboard of WebSphere Portal. The reverse proxy was set up to take advantage of the fact that portlet fragments are fetchable and cacheable....
Page 36 - Internet Explorer Support of Vary Header
3 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Internet Explorer Support of Vary Header When Internet Explorer 7 is sent a ‘vary’ http header, it is unable to cache that reply effectively. To configure WebSphere portal to not send the vary header to IE 7, log in as portal administra...
Page 37 - Http server tuning for cacheability:; # set cache-control public for various static content
3 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Web Server Tuning Http server tuning for cacheability: # uncommented these to enable statics to be cached LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so # from http://www.contentwithsty...
Page 38 - ExpiresActive On; Portlet Caching
3 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E # expire images after a month in the client's cache. Note that one month expiration worked fine for a performance evaluation in a test lab. It should be set appropriately for your environment where images might be updated more frequentl...
Page 39 - MANY PAGES TUNING; DB2 Database Tuning; We applied the following tunings to our Release database.; Release DB
3 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E MANY PAGES TUNING The “Many Pages Scenario”, derived from the Base Portal Scenario, measures the effects of having larger numbers of pages visible to the users. Since it is derived from the Base Portal Scenario, the same tuning that was...
Page 40 - Cache Manager Service
3 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Cache Manager Service Table 19: Cache Manager Service Settings for Many Pages Parameter Setting Used com.ibm.wps.datastore.pageinstance.OIDCache.size 10000 com.ibm.wps.datastore.pageinstance.OIDCache.lifetime 28800 com.ibm.wps.datastore...
Page 41 - WEB CONTENT MANAGEMENT TUNING; Data Source Connection Pool – We used the following values:
3 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E WEB CONTENT MANAGEMENT TUNING In general, the same tuning that was used for the Base Portal Scenario was used for the WCM authoring, rendering and API Scenario. The main differences are to the cache tuning settings: W CM increases deman...
Page 42 - WebSphere Portal Service Properties; Value Used
3 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E WebSphere Portal Service Properties C A C H E M A N A G E R S E R V I C E Portal Caches sizes – Ignore the Base Portal values and set the following in CacheManagerService.properties: Table 20: Cache Manager Service Settings for WCM Cach...
Page 43 - N A V I G A T I O N S E R V I C E; false; WCM Object Cache
3 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E N A V I G A T I O N S E R V I C E Portal Navigator Service – In addition to the settings mentioned for Base Portal we set the following property to allow public sessions required for rendering portlets on anonymous pages: Table 21: Navi...
Page 44 - How-To Set: Login to the WAS Administration Console; WCM Configuration Service; Enable the user cache; JCR Text Search; icm.properties – Disable jcr textsearch
3 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E processing 10000 session 6000 menu 500 nav 500 strategy 8000 global 100 module 100 How-To Set: Login to the WAS Administration Console → Resources → Cache instances → Object cache instances. WCM Configuration Service Enable the user cac...
Page 46 - use of the Universal Driver type 4 database driver is recommended; T A B L E S P A C E S
4 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Z / O S The following section details the tunings that we made in our DB2 9 for z/OS backend database during our testing. To start here are a few general recommendations: • When the DB2 z/OS server is on a different server to the Portal...
Page 47 - ZPARM; D B 2 F O R Z / O S V 8 F I X E S; WCM/JCR database table usage information for WebSphere Portal v6
4 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E to BP0. In DB2 9 for z/OS, ZPARM’s can be set to specifiy default bufferpools. In our environment we used the following values. Table 24: DB2 z/OS Default Bufferpool Settings Default Bufferpool Settings ZPARM Value Used BP Size Descript...
Page 48 - COMPOSITE APPLICATIONS TUNING; Cache Manager Service Properties
4 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E COMPOSITE APPLICATIONS TUNING For the Composite Application Infrastructure scenario, we started with the tuning given in the Base Portal Scenario above. However, the Composite Application Infrastructure scenario accesses a large number ...
Page 49 - Composite Applications Best Practices
4 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E cacheinstance.com.ibm.wps.ac.SingleEntitlementsCache.lifetime 28800 cacheinstance.com.ibm.wps.ac.ExplicitEntitlementsCache.CONTENT_NODE. lifetime 28800 cacheinstance.com.ibm.wps.ac.ExplicitEntitlementsCache.WEB_MODULE.lifetime 28800 cac...
Page 50 - See also the section regarding
4 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E • To paraphrase Albert Einstein, “keep teamspaces as simple as possible, but no simpler”. In implementing this, consider both the number of pages as well as the number of portlets on each page. Adding additional pages or portlets to a t...
Page 51 - CLUSTER TUNING; D Y N A C A C H E C U S T O M P R O P E R T I E S; ) Under General Properties, add the following information:; Z / O S D Y N A C A C H E C U S T O M P R O P E R T Y; A custom property has been defined:; propogateInvalidationsNotShared; , which when set to true leads to invalidations
4 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E CLUSTER TUNING The Base Portal Scenario is measured in a three-node horizontal cluster environment, with or without session persistence, and six-members vertical cluster environment. In general, the same tuning that was used for the Bas...
Page 52 - T H R E A D P O O L S; VMM Context Pooling
4 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E T H R E A D P O O L S Increase Default Thread Pool size to help DRS traffic. How-To Set: Portal Server->Thread Pools ->DefaultPool=150/150 (default=5/20) T R A N S P O R T B U F F E R S I Z E Default Transport Buffer size is insuf...
Page 54 - Session Persistence To Database Tuning; Allow overflow
4 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Session Persistence To Database Tuning To enable Session Persistence to Database, a data source with non-XA JDBC driver must be created. We also configured DB2 Session Database with 32K page size to optimize performance for writing larg...
Page 55 - S E S S I O N D A T A B A S E T U N I N G; Vertical Cluster Tuning; Dynacache Custom Properties
5 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 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_ALTERNA...
Page 56 - IBM Tivoli Directory Server Tuning; eliminate renounce messages
5 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E IBM Tivoli Directory Server Tuning The following table shows the tuning values used for the directory servers. How-to-Set: These values are in the file /opt/IBM/ldap/V6.0/etc/SchemaV6.0/ibmslapd.conf. You must restart the LDAP server af...
Page 57 - OTHER PERFORMANCE TUNING OPTIONS; Improving Portal Startup Performance; performance
5 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E OTHER PERFORMANCE TUNING OPTIONS In addition to the scenarios discussed above, WebSphere Portal has some other tuning options which may be useful in specific scenarios. These options include: • Improving portal startup performance • Man...
Page 58 - Managing the Retrieval of User Attributes; Base set: the following attributes are in the base set:; . Assume that the user in question was looked up on; isn’t in the base
5 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Managing the Retrieval of User Attributes A user directory doesn’t just contain a user’s ID and password; it also contains a number of other pieces of information – attributes – about the user. A directory server can contain a lot of at...
Page 59 - I D E N T I F Y I N G A F U L L F E T C H O F U S E R A T T R I B U T E S
5 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E I D E N T I F Y I N G A F U L L F E T C H O F U S E R A T T R I B U T E S How can you identify a second request is made to the directory server to retrieve the full set of user attributes? This is best done in a test or staging environm...
Page 60 - M I N I M U M A T T R I B U T E S E T; Use of Dynamic Content Features; ConfigService.properties
5 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E M I N I M U M A T T R I B U T E S E T Generally, the minimum set of attributes does not need to be modified from the default provided by WebSphere Portal, as that attribute set is satisfactory for the user management applications provid...
Page 61 - Real-World Network Considerations; C O M P R E S S C O N T E N T O N T H E H T T P S E R V E R
5 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Real-World Network Considerations In our lab environment, we had the luxury of our clients and servers being on the same LAN segment, so that they could take advantage of a high-bandwidth, low-latency network connection. However, this i...
Page 62 - E N A B L I N G C L I E N T - S I D E C A C H I N G; in IBM HTTP Server to add the same headers to images and
5 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Don't co...
Page 63 - WEBSPHERE PORTAL CACHES; General Information; C A C H E C O N F I G U R A T I O N P R O P E R T I E S; cacheglobal
5 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 9 WEBSPHERE PORTAL CACHES In the preceding chapter we described the specific values we modified for the WebSphere Portal caches in our environments. This chapter describes the WebSphere Portal caches, the general parameters for those ca...
Page 64 - enabled
5 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E admit-threshold properties do not apply to all cache implementations. In general, only caches that are not shared will use these properties. There are other properties that should not be modified unless specifically instructed to do so ...
Page 65 - true; replacement; aggressive
6 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Supported values are true and false . The default values shipped in WebSphere Portal V6.1 should apply to most configurations. If you do not have a cluster there may be a small performance benefit to setting this property to false since...
Page 66 - Cache Usage Patterns; Pattern: invalidation checking
6 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Cache Usage Patterns Most WebSphere Portal caches follow the simple paradigm: if an entry already exists use it, otherwise add the entry. However, there are caches that behave differently. Each cache follows one of the following four pa...
Page 67 - Cache Instances; size; A C C E S S C O N T R O L
6 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Cache Instances This section describes the caches in WebSphere Portal V6.1 along with hints to best configure those caches. As you saw in the modifications we made in our measurement environments, the size and lifetime properties are th...
Page 72 - This cache is not used in WebSphere Portal V6.0.; P O R T A L U S E R M A N A G E M E N T
6 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E com.ibm.wps.ac.ApplicationRolesForPrincipalCache Default size: 5000, default lifetime: 8760, usage pattern: regular. This cache maps the available application roles to a portal user. It scales with the number of active users in the syst...
Page 73 - D A T A S T O R E
6 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E D A T A S T O R E The datastore caches contain data read from the portal database. It is not the goal of these caches to be a complete image of the DB content, but to have frequently-accessed but raw information available for all other ...
Page 74 - M O D E L
6 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 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...
Page 79 - U R L M A P P I N G S
7 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E com.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Default size: 1000, default lifetime: infinite, usage pattern: regular. This cache maps user agent strings, i.e. the identification strings sent by browsers in the HTTP header, to...
Page 80 - W S R P
7 5 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E virtual portal, you will see one entry in the cache and only little traffic on the cache. Creating a new cache entry requires one database query. An entry into the cache is fairly small. com.ibm.wps.services.vpmapping.VirtualPortalIDToU...
Page 82 - D Y N A M I C A S S E M B L Y / P R O C E S S I N T E G R A T I O N; processintegration.PendingTasksCache
7 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E wsrp.producer.portletpool.pops Default size: 1000, default lifetime: infinite, usage pattern: cascading object types. This cache stores the Producer Offered Portlets and hence scales with their number. The number of entries in this cach...
Page 83 - P O L I C Y; The WebSphere Portal policy manager uses the following caches.; C O L L A B O R A T I O N S E R V I C E S
7 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E entry to the cache involves one database query. One entry is fairly small. Typically there is no need to modify the settings for this cache. P O L I C Y The WebSphere Portal policy manager uses the following caches. com.ibm.wps.policy.s...
Page 84 - M I S C E L L A N E O U S; This group of caches does not fit in any of the other categories.
7 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E com.lotus.cs.services.directory.ldap.BasicLDAPDirectoryService.user Default size: 2000, default lifetime: 10780, usage pattern: regular. This cache stores user-specific information read from the LDAP. It scales with the number of users ...
Page 85 - PortletMenuCache
8 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E 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 defin...
Page 86 - RegistryService
8 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E RegistryService Default size: 32, default lifetime: infinite, usage pattern: regular. This cache is used in a cluster for portals to notify the other cluster members when one of the registries needs to be reloaded due to administrative ...
Page 87 - Example Scenarios; G E N E R A L C O M M E N T S; Most portal caches fall into one of four groups:
8 2 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Example Scenarios This section describes some example usage scenarios along with descriptions of possible cache settings and suggested cache sizes. This discussion may be useful as starting point for the caches in your environment. G E ...
Page 88 - S M A L L N U M B E R O F P A G E S A N D S M A L L N U M B E R O F U S E R S
8 3 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E If there is no or very little administration on your system and you have free memory in the Java heap available, it is safe to increase the lifetime of cache content to save the additional workload for reloading cached data. Now we shal...
Page 89 - We increased the lifetimes of all caches to at least one hour.; P O 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
8 4 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E com.ibm.wps.puma.OID_User_Cache com.ibm.wps.puma.DN_User_Cache com.ibm.wps.puma.OID_DN_Cache com.ibm.wps.puma.DN_Group_Cache com.ibm.wps.puma.OID_Group_Cache We increased the lifetimes of all caches to at least one hour. P O R T A L S W...
Page 91 - WEB CONTENT MANAGEMENT CACHES; WCM Cache Instances; W C M I T E M C A C H I N G
8 6 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E WEB CONTENT MANAGEMENT CACHES In the preceding chapter we described the specific values we modified for the Web Content Management (WCM) caches in our environments. This chapter describes the Web Content Management caches and the genera...
Page 92 - W C M B A S I C C A C H I N G; User: Stores a copy of an item in the cache for each user; S E S S I O N C A C H E
8 7 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E W C M B A S I C C A C H I N G services/cache/iwk/module Default size: 2000, default lifetime: infinite, usage pattern: regular. This cache is used for WCM Basic caching. See the InfoCenter on setting up Basic caching. The Basic cache st...
Page 93 - M E N U
8 8 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E M E N U services/cache/iwk/menu - Menu Default size: 2000, default lifetime: infinite, usage pattern: regular. This cache stores WCM Menu entries. An entry comprises of the Content IDs associated with a particular menu. The entries are ...
Page 94 - L I B R A R Y P A R E N T; User cache; Size is fixed to 2000. default is disabled.
8 9 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E L I B R A R Y P A R E N T services/cache/iwk/libparent – Library Parent Default size: 2000, default lifetime: infinite, usage pattern: regular. This cache stores a list of all children library ids to a given parent id. Introduced for Qu...
Page 95 - Appendix A. References
9 0 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Appendix A. References WebSphere Portal Information Center: http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/index.jsp The Tuning section of the WebSphere Application Server Information Center located at: http://www.ibm.com/softwar...
Page 96 - Appendix B. Credits
9 1 W E B S P H E R E P O R T A L V 6 . 1 T U N I N G G U I D E Appendix B. Credits Thanks to the following team members of the WebSphere Portal Performance Team for contributing to this document. Mark Alkins, Manager Lee Backstrom, Document Coordinator Andrew Citron Nathan Cook Sabine Forkel Uwe Ha...