IBM 6.1.X - Manuals
IBM 6.1.X – Manual in PDF format online.
Manuals:
Manual IBM 6.1.X
Summary
Contents PERFORMANCE TUNING OVERVIEW ............................................................................................................... 2 Environment Considerations ................................................................................................................ 3 32-bit ...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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 ...
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....
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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 ...
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...
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 ...
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 ...
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...
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...
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...
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...
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 ...
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...
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...
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...
IBM Manuals
-
IBM SC41-5210-04
Manual
-
IBM TM7
Manual
-
IBM 8677
Manual
-
IBM EM78P809N
Manual
-
IBM 610
Manual
-
IBM AIX 4.3
Manual
-
IBM 8128
Manual
-
IBM PANEL1173-841
Manual
-
IBM L150
Manual
-
IBM E50
Manual
-
IBM 8319
Manual
-
IBM DS3300
Manual
-
IBM 9519-AG1
Manual
-
IBM 6.00E+04
Manual
-
IBM PD78082(A)
Manual
-
IBM S544-5343-03
Manual
-
IBM PPC-1510PT
Manual
-
IBM 37L1388
Manual
-
IBM V2.3
Manual
-
IBM DS4500
Manual