IBM WebSphere Portal software family Your world. Your way. IBM WebSphere Portal 6.1.X Performance Tuning Guide IBM WPLC Performan
5 WE BSPHERE PORTAL V6.1 TUNING GUIDE Application Server Tuning There are many aspects to configuring and tuning an application s
6 WE BSPHERE PORTAL V6.1 TUNING GUIDE JV M M AX I MU M HE AP SI ZE LI MI TS When setting the heap size for an application server, kee
7 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 o
8 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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
9 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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.
10 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 Propaga
11 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 concurr
12 WE BSPHERE PORTAL V6.1 TUNING GUIDE WebSphere Portal Services WebSphere Portal has a number of configurable “services”; each ser
13 WE BSPHERE PORTAL V6.1 TUNING GUIDE R E G I S T R Y S E R V I C E WebSphere Portal maintains information about many resource types in
14 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 c
Contents PERFORMANCE TUNING OVERVIEW...
15 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 ho
16 WE BSPHERE PORTAL V6.1 TUNING GUIDE We built six separate databases within one database server to house the tables and data needed to sup
17 WE BSPHERE PORTAL V6.1 TUNING GUIDE While the Portal databases are configured for high capacity performance, various tunin
18 WE BSPHERE PORTAL V6.1 TUNING GUIDE optimizer to select an efficient access plan for complex SQL, particularly for queries of the JCR dat
19 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 serve
20 WE BSPHERE PORTAL V6.1 TUNING GUIDE O R ACLE O N AI X SET UP We configure our Oracle database on AIX using the following setup, •
21 WE BSPHERE PORTAL V6.1 TUNING GUIDE REC O M M EN D ED O RAC LE D AT AB AS E MAI NT EN ANC E Optimizer statistics are a collection of
22 WE BSPHERE PORTAL V6.1 TUNING GUIDE Directory Server Tuning Our measurements used IBM Tivoli Directory Server versions 6.0 as the directo
23 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning We used IBM HTTP Server 6.1 in our measurement environment. The cluster configurati
24 WE BSPHERE PORTAL V6.1 TUNING GUIDE MaxClient/ThreadsPerChild. MinSpareThreads 25 25 N/A 25 MaxSpareThreads 3750 4500 N/A 4500 S
Web Server Tuning... 32 Portl
25 WE BSPHERE PORTAL V6.1 TUNING GUIDE Operating System Tuning In any high-load environment, the network must be closely monitored
26 WE BSPHERE PORTAL V6.1 TUNING GUIDE L I N U X NET W ORK T UN I NG For Red Hat Linux and z/Linux (Suse Linux on zOS), we add the follow
27 WE BSPHERE PORTAL V6.1 TUNING GUIDE S O L A R I S NET W ORK T UN I NG For Solaris, use the ndd command to set the following TCP layer
28 WE BSPHERE PORTAL V6.1 TUNING GUIDE SO L AR I S C O NT AI NE R Use Solaris Containers to better utilize your modern, powerful T2 server
29 WE BSPHERE PORTAL V6.1 TUNING GUIDE Z / O S SYS TEM TU NI N G In the PARMLIB member BPXPRMxx check the values of the following paramet
30 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB 2.0 THEME TUNING In the Web 2.0 theme environment a reverse proxy was used to cache content outbo
31 WE BSPHERE PORTAL V6.1 TUNING GUIDE Internet Explorer Support of Vary Header When Internet Explorer 7 is sent a ‘vary’ h
32 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Http server tuning for cacheability: # uncommented these to enable statics to be ca
33 WE BSPHERE PORTAL V6.1 TUNING GUIDE # expire images after a month in the client's cache. Note that one month expiration worked fine
34 WE BSPHERE PORTAL V6.1 TUNING GUIDE MANY PAGES TUNING The “Many Pages Scenario”, derived from the Base Portal Scenario, measures the eff
WEBSPHERE PORTAL CACHES... 58 Gene
35 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Manager Service Table 19: Cache Manager Service Settings for Many Pages Parameter Setting Used
36 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB CONTENT MANAGEMENT TUNING In general, the same tuning that was used for the Base Portal Scenario
37 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 –
38 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 mentione
39 WE BSPHERE PORTAL V6.1 TUNING GUIDE processing 10000 session 6000 menu 500 nav 500 strategy 8000 global 100 module 100 How-To Se
40 WE BSPHERE PORTAL V6.1 TUNING GUIDE DB2 Tuning (Authoring Environment) M U L T I P L A T F O R M ( L U W ) On top of the DB2 tunings f
41 WE BSPHERE PORTAL V6.1 TUNING GUIDE Z / O S The following section details the tunings that we made in our DB2 9 for z/OS bac
42 WE BSPHERE PORTAL V6.1 TUNING GUIDE to BP0. In DB2 9 for z/OS, ZPARM’s can be set to specifiy default bufferpools. In our envi
43 WE BSPHERE PORTAL V6.1 TUNING GUIDE COMPOSITE APPLICATIONS TUNING For the Composite Application Infrastructure scenario, we started with
44 WE BSPHERE PORTAL V6.1 TUNING GUIDE cacheinstance.com.ibm.wps.ac.SingleEntitlementsCache.lifetime 28800 cacheinstance.com.ibm.wps.ac.Exp
Figures Figure 1 Portal Access Control Cache Hierarchy...
45 WE BSPHERE PORTAL V6.1 TUNING GUIDE • To paraphrase Albert Einstein, “keep teamspaces as simple as possible, but no simpler”.
46 WE BSPHERE PORTAL V6.1 TUNING GUIDE CLUSTER TUNING The Base Portal Scenario is measured in a three-node horizontal cluster environment, w
47 WE BSPHERE PORTAL V6.1 TUNING GUIDE T H R E A D P O O L S Increase Default Thread Pool size to help DRS traffic. How-To Set: Portal
48 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Table 26: Web Server Tuning for Clusters Parameter Setting Used ThreadLimit 25 Ser
49 WE BSPHERE PORTAL V6.1 TUNING GUIDE Session Persistence To Database Tuning To enable Session Persistence to Database, a data source with
50 WE BSPHERE PORTAL V6.1 TUNING GUIDE SES S I ON D AT AB AS E TU NI N G In addition to creating bufferpool and tablespace to support 3
51 WE BSPHERE PORTAL V6.1 TUNING GUIDE IBM Tivoli Directory Server Tuning The following table shows the tuning values used for the directory
52 WE BSPHERE PORTAL V6.1 TUNING GUIDE OTHER PERFORMANCE TUNING OPTIONS In addition to the scenarios discussed above, WebSphere Portal
53 WE BSPHERE PORTAL V6.1 TUNING GUIDE Managing the Retrieval of User Attributes A user directory doesn’t just contain a user’s ID and passw
54 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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 id
ABOUT THIS DOCUMENT This white paper provides a basis for parameter and application tuning for IBM WebSphere Portal for Multiplatform V6.1. Rememb
55 WE BSPHERE PORTAL V6.1 TUNING GUIDE 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
56 WE BSPHERE PORTAL V6.1 TUNING GUIDE Real-World Network Considerations In our lab environment, we had the luxury of our clients and server
57 WE BSPHERE PORTAL V6.1 TUNING GUIDE BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch
58 WE BSPHERE PORTAL V6.1 TUNING GUIDE 9 WEBSPHERE PORTAL CACHES In the preceding chapter we described the specific values we modified for
59 WE BSPHERE PORTAL V6.1 TUNING GUIDE admit-threshold properties do not apply to all cache implementations. In general, only caches that a
60 WE BSPHERE PORTAL V6.1 TUNING GUIDE Supported values are true and false. The default values shipped in WebSphere Portal V6.1 should appl
61 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Usage Patterns Most WebSphere Portal caches follow the simple paradigm: if an entry already exi
62 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Instances This section describes the caches in WebSphere Portal V6.1 along with hint
63 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 1 shows the relationships among the various caches. The small cylinders represent cache insta
64 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.AccessControlUserContextCache Default size: 8000, default lifetime: 1200, usage patte
2 WE BSPHERE PORTAL V6.1 TUNING GUIDE PERFORMANCE TUNING OVERVIEW Tuning a WebSphere Portal environment involves tuning and configur
65 WE BSPHERE PORTAL V6.1 TUNING GUIDE corresponding entitlements are not already cached. Entries are invalidated from this cache
66 WE BSPHERE PORTAL V6.1 TUNING GUIDE or direct groups to which a user belongs. The size of this cache scales with the number of active use
67 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.ApplicationRolesForPrincipalCache Default size: 5000, default lifetime: 8760, usage pa
68 WE BSPHERE PORTAL V6.1 TUNING GUIDE D A T A S T O R E The datastore caches contain data read from the portal database. It is not the goa
69 WE BSPHERE PORTAL V6.1 TUNING GUIDE achieve best performance, in terms of cache hit rate, the size should be set to a value so that all p
70 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 29 describes the hierarchy of caches in the model component and depending portal components. T
71 WE BSPHERE PORTAL V6.1 TUNING GUIDE sets of access control rights on these pages. This cache contains very ‘valuable’ informa
72 WE BSPHERE PORTAL V6.1 TUNING GUIDE also adds to the time it takes to rebuild a cache entry. Building the content model is done increment
73 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.factory.URLMappingCache.isolated Default size: 50, default lifetime: infinite, usag
74 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Default size: 1000, default lifetime: infini
3 WE BSPHERE PORTAL V6.1 TUNING GUIDE Environment Considerations Before beginning your install of WebSphere Portal you should consid
75 WE BSPHERE PORTAL V6.1 TUNING GUIDE virtual portal, you will see one entry in the cache and only little traffic on the cache. C
76 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.cache.servicedescription Default size: 150, default lifetime: infinite, usage pattern: regular T
77 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.producer.portletpool.pops Default size: 1000, default lifetime: infinite, usage pattern: cascadi
78 WE BSPHERE PORTAL V6.1 TUNING GUIDE entry to the cache involves one database query. One entry is fairly small. Typically there is no need
79 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.lotus.cs.services.directory.ldap.BasicLDAPDirectoryService.user Default size: 2000, default lifet
80 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.pe.portletentity Default size: 10000, default lifetime: 5800, usage pattern: regular. Th
81 WE BSPHERE PORTAL V6.1 TUNING GUIDE RegistryService Default size: 32, default lifetime: infinite, usage pattern: regular. This cache is u
82 WE BSPHERE PORTAL V6.1 TUNING GUIDE Example Scenarios This section describes some example usage scenarios along with descriptions of poss
83 WE BSPHERE PORTAL V6.1 TUNING GUIDE If there is no or very little administration on your system and you have free memory in the Java heap
84 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.puma.OID_User_Cache com.ibm.wps.puma.DN_User_Cache com.ibm.wps.puma.OID_DN_Cache
4 WE BSPHERE PORTAL V6.1 TUNING GUIDE BASE PORTAL TUNING The Base Portal Scenario covers user login, page navigation, and interaction with s
85 WE BSPHERE PORTAL V6.1 TUNING GUIDE We increased the sizes of the following caches in our measurement environments so that all frequently
86 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB CONTENT MANAGEMENT CACHES In the preceding chapter we described the specific values we modified
87 WE BSPHERE PORTAL V6.1 TUNING GUIDE W C M B A S I C C A C H I N G services/cache/iwk/module Default size: 2000, default lifetime: in
88 WE BSPHERE PORTAL V6.1 TUNING GUIDE M E N U services/cache/iwk/menu - Menu Default size: 2000, default lifetime: infinite, usage pattern
89 WE BSPHERE PORTAL V6.1 TUNING GUIDE L I B R A R Y P A R E N T services/cache/iwk/libparent – Library Parent Default size: 2000, defaul
90 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix A. References WebSphere Portal Information Center: http://publib.boulder.ibm.com/infocent
91 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix B. Credits Thanks to the following team members of the WebSphere Portal Performance T
92 WE BSPHERE PORTAL V6.1 TUNING GUIDE ® Copyright IBM Corporation 2008 IBM United States of America Produced in the United State
Hello, im noob :)