IBM WEBSPHERE 6.1.X User Manual

Browse online or download User Manual for General utility software IBM WEBSPHERE 6.1.X. IBM WEBSPHERE 6.1.X User's Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Performance Tuning Guide

IBM WebSphere Portal software family Your world. Your way. IBM WebSphere Portal 6.1.X Performance Tuning Guide IBM WPLC Performan

Page 2 - Contents

5 WE BSPHERE PORTAL V6.1 TUNING GUIDE Application Server Tuning There are many aspects to configuring and tuning an application s

Page 3

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

Page 4

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

Page 5 - Figures

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

Page 6 - ABOUT THIS DOCUMENT

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.

Page 7 - PERFORMANCE TUNING OVERVIEW

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

Page 8 - Environment Considerations

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

Page 9 - BASE PORTAL TUNING

12 WE BSPHERE PORTAL V6.1 TUNING GUIDE WebSphere Portal Services WebSphere Portal has a number of configurable “services”; each ser

Page 10 - Application Server Tuning

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

Page 11

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

Page 12

Contents PERFORMANCE TUNING OVERVIEW...

Page 13

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

Page 14

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

Page 15

17 WE BSPHERE PORTAL V6.1 TUNING GUIDE While the Portal databases are configured for high capacity performance, various tunin

Page 16

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

Page 17 - WebSphere Portal Services

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

Page 18 - RegistryService.properties

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, •

Page 19

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

Page 20 - Database Tuning

22 WE BSPHERE PORTAL V6.1 TUNING GUIDE Directory Server Tuning Our measurements used IBM Tivoli Directory Server versions 6.0 as the directo

Page 21 - DB 2 ON AI X SET U P

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

Page 22 - DB 2 ON Z/O S SE T UP

24 WE BSPHERE PORTAL V6.1 TUNING GUIDE MaxClient/ThreadsPerChild. MinSpareThreads 25 25 N/A 25 MaxSpareThreads 3750 4500 N/A 4500 S

Page 23

Web Server Tuning... 32 Portl

Page 24

25 WE BSPHERE PORTAL V6.1 TUNING GUIDE Operating System Tuning In any high-load environment, the network must be closely monitored

Page 25

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

Page 26

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

Page 27 - Directory Server Tuning

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

Page 28 - Web Server Tuning

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

Page 29

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

Page 30 - Operating System Tuning

31 WE BSPHERE PORTAL V6.1 TUNING GUIDE Internet Explorer Support of Vary Header When Internet Explorer 7 is sent a ‘vary’ h

Page 31

32 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Http server tuning for cacheability: # uncommented these to enable statics to be ca

Page 32

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

Page 33 - SO L AR I S C O NT AI NE R

34 WE BSPHERE PORTAL V6.1 TUNING GUIDE MANY PAGES TUNING The “Many Pages Scenario”, derived from the Base Portal Scenario, measures the eff

Page 34 - Required Fixes

WEBSPHERE PORTAL CACHES... 58 Gene

Page 35 - WEB 2.0 THEME TUNING

35 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Manager Service Table 19: Cache Manager Service Settings for Many Pages Parameter Setting Used

Page 36 - Caching Proxy Tuning

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

Page 37

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 –

Page 38 - Portlet Caching

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

Page 39 - MANY PAGES TUNING

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

Page 40 - Cache Manager Service

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

Page 41

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

Page 42 - Cache Name

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

Page 43 - WCM Object Cache

43 WE BSPHERE PORTAL V6.1 TUNING GUIDE COMPOSITE APPLICATIONS TUNING For the Composite Application Infrastructure scenario, we started with

Page 44 - JCR Text Search

44 WE BSPHERE PORTAL V6.1 TUNING GUIDE cacheinstance.com.ibm.wps.ac.SingleEntitlementsCache.lifetime 28800 cacheinstance.com.ibm.wps.ac.Exp

Page 45

Figures Figure 1 Portal Access Control Cache Hierarchy...

Page 46

45 WE BSPHERE PORTAL V6.1 TUNING GUIDE • To paraphrase Albert Einstein, “keep teamspaces as simple as possible, but no simpler”.

Page 47

46 WE BSPHERE PORTAL V6.1 TUNING GUIDE CLUSTER TUNING The Base Portal Scenario is measured in a three-node horizontal cluster environment, w

Page 48

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

Page 49

48 WE BSPHERE PORTAL V6.1 TUNING GUIDE Web Server Tuning Table 26: Web Server Tuning for Clusters Parameter Setting Used ThreadLimit 25 Ser

Page 50

49 WE BSPHERE PORTAL V6.1 TUNING GUIDE Session Persistence To Database Tuning To enable Session Persistence to Database, a data source with

Page 51 - CLUSTER TUNING

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

Page 52

51 WE BSPHERE PORTAL V6.1 TUNING GUIDE IBM Tivoli Directory Server Tuning The following table shows the tuning values used for the directory

Page 53

52 WE BSPHERE PORTAL V6.1 TUNING GUIDE OTHER PERFORMANCE TUNING OPTIONS In addition to the scenarios discussed above, WebSphere Portal

Page 54

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

Page 55 - Vertical Cluster Tuning

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

Page 56

ABOUT THIS DOCUMENT This white paper provides a basis for parameter and application tuning for IBM WebSphere Portal for Multiplatform V6.1. Rememb

Page 57

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

Page 58

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

Page 59

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

Page 60

58 WE BSPHERE PORTAL V6.1 TUNING GUIDE 9  WEBSPHERE PORTAL CACHES In the preceding chapter we described the specific values we modified for

Page 61

59 WE BSPHERE PORTAL V6.1 TUNING GUIDE admit-threshold properties do not apply to all cache implementations. In general, only caches that a

Page 62

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

Page 63 - WEBSPHERE PORTAL CACHES

61 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Usage Patterns Most WebSphere Portal caches follow the simple paradigm: if an entry already exi

Page 64

62 WE BSPHERE PORTAL V6.1 TUNING GUIDE Cache Instances This section describes the caches in WebSphere Portal V6.1 along with hint

Page 65

63 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 1 shows the relationships among the various caches. The small cylinders represent cache insta

Page 66 - Cache Usage Patterns

64 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.AccessControlUserContextCache Default size: 8000, default lifetime: 1200, usage patte

Page 67 - Cache Instances

2 WE BSPHERE PORTAL V6.1 TUNING GUIDE PERFORMANCE TUNING OVERVIEW Tuning a WebSphere Portal environment involves tuning and configur

Page 68

65 WE BSPHERE PORTAL V6.1 TUNING GUIDE corresponding entitlements are not already cached. Entries are invalidated from this cache

Page 69

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

Page 70

67 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.ac.ApplicationRolesForPrincipalCache Default size: 5000, default lifetime: 8760, usage pa

Page 71

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

Page 72

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

Page 73 - D A T A S T O R E

70 WE BSPHERE PORTAL V6.1 TUNING GUIDE Figure 29 describes the hierarchy of caches in the model component and depending portal components. T

Page 74 - M O D E L

71 WE BSPHERE PORTAL V6.1 TUNING GUIDE sets of access control rights on these pages. This cache contains very ‘valuable’ informa

Page 75

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

Page 76

73 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.factory.URLMappingCache.isolated Default size: 50, default lifetime: infinite, usag

Page 77

74 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.model.impl.RuntimeClientMap.userAgent2client Default size: 1000, default lifetime: infini

Page 78

3 WE BSPHERE PORTAL V6.1 TUNING GUIDE Environment Considerations Before beginning your install of WebSphere Portal you should consid

Page 79 - U R L M A P P I N G S

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

Page 80 - W S R P

76 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.cache.servicedescription Default size: 150, default lifetime: infinite, usage pattern: regular T

Page 81

77 WE BSPHERE PORTAL V6.1 TUNING GUIDE wsrp.producer.portletpool.pops Default size: 1000, default lifetime: infinite, usage pattern: cascadi

Page 82

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

Page 83 - P O L I C Y

79 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.lotus.cs.services.directory.ldap.BasicLDAPDirectoryService.user Default size: 2000, default lifet

Page 84 - M I S C E L L A N E O U S

80 WE BSPHERE PORTAL V6.1 TUNING GUIDE com.ibm.wps.pe.portletentity Default size: 10000, default lifetime: 5800, usage pattern: regular. Th

Page 85

81 WE BSPHERE PORTAL V6.1 TUNING GUIDE RegistryService Default size: 32, default lifetime: infinite, usage pattern: regular. This cache is u

Page 86

82 WE BSPHERE PORTAL V6.1 TUNING GUIDE Example Scenarios This section describes some example usage scenarios along with descriptions of poss

Page 87 - Example Scenarios

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

Page 88

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

Page 89

4 WE BSPHERE PORTAL V6.1 TUNING GUIDE BASE PORTAL TUNING The Base Portal Scenario covers user login, page navigation, and interaction with s

Page 90

85 WE BSPHERE PORTAL V6.1 TUNING GUIDE We increased the sizes of the following caches in our measurement environments so that all frequently

Page 91 - WCM Cache Instances

86 WE BSPHERE PORTAL V6.1 TUNING GUIDE WEB CONTENT MANAGEMENT CACHES In the preceding chapter we described the specific values we modified

Page 92

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

Page 93

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

Page 94

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

Page 95 - Appendix A. References

90 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix A. References WebSphere Portal Information Center: http://publib.boulder.ibm.com/infocent

Page 96 - Appendix B. Credits

91 WE BSPHERE PORTAL V6.1 TUNING GUIDE Appendix B. Credits Thanks to the following team members of the WebSphere Portal Performance T

Page 97

92 WE BSPHERE PORTAL V6.1 TUNING GUIDE ®  Copyright IBM Corporation 2008 IBM United States of America Produced in the United State

Comments to this Manuals

ChrisCaddy 27 Apr 2024 | 07:14:13

Hello, im noob :)