Portal 6.1.x Performance Tuning Recommendations 页面 1 Portal

Portal 6.1.x Performance Tuning Recommendations 页面 1 Portal
Portal 6.1.x Performance Tuning Recommendations
DMGR HostName
Portal Server hostname
Portal Server Port Number
WAS Tuning
Settings
Where to Change
Default
Tuning Guide
recommended values
Admin console – Servers > Application
Servers > WebSphere Portal > Server
Infrastructure: Java and Process
Management > Process Definition > Java
Virtual Machine
Initial Heap Size
Maximum Heap Size
Admin console – Servers > Application Servers >
WebSphere Portal > Server Infrastructure: Java
and Process Management > Process Definition >
Java Virtual Machine > Generic JVM Argument
>add -Xlp
N/A
-Xlp
Admin console – Servers > Application Servers >
WebSphere Portal > Server Infrastructure: Java
and Process Management > Process Definition >
Java Virtual Machine > Generic JVM Argument
>add -Xmn256m
N/A
-Xmn320m
Session timeout (minutes)
Admin console –Servers > Application
Servers > WebSphere Portal > Container
Settings: Web Container Settings > Web
Container > Additional Properties: Session
Management >Session timeout: Set timeout
value
30
10
Web Container Thread pool size
Admin console –Servers > Application
Servers > WebSphere Portal > Additional
Properties: Thread Pools > Web Container
General Properties
Minimum Size
Maximum Size
JVM Heap Size (Initial//Max)
JVM Heap Large page
JVM Heap New Area Size
页面 1
1536/1536
This also depends on
total amount of memory
on the machine
50
Initial
Customer
value
Portal 6.1.x Performance Tuning Recommendations
Session Tuning (min / max)
Default Threadpool (min / max)
Default transport buffer
Security Attribute Propagation
com.ibm.CSI.disablePropagationCallerList
50 / 50
150 / 150
200 mb
WAS Admin console V6.x – Security > Secure
Administration, Applications, and Infrastructure >
Custom properties it maybe necessary to add
com.ibm.CSI.disablePropagationCallerList
WAS Admin console V7.x – Security > Global
Security > Custom Properties new
com.ibm.CSI.disablePropagationCallerList Value:
true
N/A
TRUE
WAS Admin console V6.x – Security > Secure
Administration, Applications, and Infrastructure >
com.ibm.CSI.rmiOutboundPropagationEnabl
Custom properties
ed
WAS Admin console V7 – Security > Global
Security > Custom Properties
TRUE
FALSE
WAS Admin console V6.x – Security > Secure
Administration, Applications, and Infrastructure >
com.ibm.CSI.rmiInboundPropagationEnabled Custom properties
WAS Admin console V7 – Security > Global
Security > Custom Properties
TRUE
FALSE
TRUE
FALSE
WAS Admin console V6.x – Security > Secure
Administration, Applications, and Infrastructure >
com.ibm.ws.security.webInboundPropagation
Custom properties
Enabled
WAS Admin console V7 – Security > Global
Security > Custom Properties
VMM Context Pool Setting
页面 2
Portal 6.1.x Performance Tuning Recommendations
initPoolSize
<wp_profile_root>/config/cells/<cellname>/wim/c
onfig/wimconfig.xml <config:contextPool enabled="true"
initPoolSize="10" maxPoolSize="0"
poolTimeOut="0" poolWaitTime="3000"
prefPoolSize="30"/>
WAS Admin console 6.x Security > Secure
administration, applications, and infrastructure
>Available Realm Definitions > Federated
repositories >Configure >Related Items> Manage
repositories >select repository >Additional
properties >Performance > Configuration tab
>Initial size
WAS Admin console V7.x Security > Global
Security>User account repository >Available
realm definitions > Select Federated repositories
> click Configure > Related Items >Manage
repositories >Click the repostory >Additional
Properties > Performance >Context pool >
Enable context pool > Initial Size
1
页面 3
10
Portal 6.1.x Performance Tuning Recommendations
prefPoolSize
<wp_profile_root>/config/cells/<celname>/wim/co
nfig/wimconfig.xml <config:contextPool enabled="true"
initPoolSize="10" maxPoolSize="0"
poolTimeOut="0" poolWaitTime="3000"
prefPoolSize="30"/>
WAS Admin console 6.x Security > Secure
administration, applications, and infrastructure
>Available Realm Definitions > Federated
repositories >Configure >Related Items> Manage
repositories >select repository >Additional
properties >Performance > Configuration tab
>Initial size
WAS Admin console V7.x Security > Global
Security>User account repository >Available
realm definitions > Select Federated repositories
> click Configure > Related Items >Manage
repositories >Click the repostory >Additional
Properties > Performance >Context pool >
Enable context pool > Peferred Size
页面 4
3
30
Portal 6.1.x Performance Tuning Recommendations
maxPoolSize
NavigatorService.Properties
public.expires
public.reload
public.session
<wp_profile_root>/config/cells/<celname>/wim/co
nfig/wimconfig.xml <config:contextPool enabled="true"
initPoolSize="10" maxPoolSize="0"
poolTimeOut="0" poolWaitTime="3000"
prefPoolSize="30"/>
WAS Admin console 6.x Security > Secure
administration, applications, and infrastructure
>Available Realm Definitions > Federated
repositories >Configure >Related Items> Manage
repositories >select repository >Additional
properties >Performance > Configuration tab
>Initial size
WAS Admin console V7.x Security > Global
Security>User account repository >Available
realm definitions > Select Federated repositories
> click Configure > Related Items >Manage
repositories >Click the repostory >Additional
Properties > Performance >Context pool >
Enable context pool > Maximum size
20
0 since this is a shared
ldap we should limit this
to say 40 and see if we
go above this
60
3600
60
3600
FALSE
TRUE
wp_profile_root/PortalServer/config/NavigatorServi
ce.properties
Modify
<wp_profiel_root>/ConfigEngine/config/wkplc.prop
erties for WasAdminUser and password and
PortalAdminId and PortalAdminPwd run
ConfigEngine update-properties
WAS Admin console Resources > Resource
Environment Provider > WP NavigatorService new
Properiities
uncomment public.expires=60 and change 60 to
3600 from NavigatorService.properties run
ConfigEngine update-properties
uncomment public.reload=60 and change 60 to
3600 from NavigatorService.properties run
ConfigEngine update-properties
Add to NavigatorService properties in the admin
console
页面 5
Portal 6.1.x Performance Tuning Recommendations
remote.cache.expiration
uncomment remote.cache.expiration=60 and
change 60 to 28800 from
NavigatorService.properties run ConfigEngine
update-properties
60
28800
remote.cache.expiration.feed.cm
uncomment remote.cache.expiration.feed.cm=60
60
600
remote.cache.expiration.feed.nm
uncomment remote.cache.expiration.feed.nm=60
60
600
remote.cache.expiration.feed.lm
uncomment remote.cache.expiration.feed.lm=60
60
600
remote.cache.expiration.feed.pm
uncomment remote.cache.expiration.feed.pm=60
60
600
RegistryService.Properties
wp_profile_root/PortalServer/config/RegistryServic
e.properties
Modify
<wp_profiel_root>/ConfigEngine/config/wkplc.prop
erties for WasAdminUser and password and
PortalAdminId and PortalAdminPwd run
ConfigEngine update-properties
or
WAS Admin console Resources > Resource
Environment Provider > WP RegistryService new
Properiities
1800
28800
600
28800
600
28800
3000
28800
default.interval
bucket.application.interval
bucket.portlet.interval
bucket.theme.interval
uncomment default.interval=1800 and change
1800 to 28800 from RegistryService.properties
run ConfigEngine update-properties
uncomment bucket.application.interval=600 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
uncomment bucket.portlet.interval=600 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
uncomment bucket.theme.interval=3000 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
页面 6
Portal 6.1.x Performance Tuning Recommendations
bucket.markup.interval
uncomment bucket.skin.interval=3500 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
uncomment bucket.client.interval=19000 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
uncomment bucket.markup.interval=20000 and
change to 28800 in RegistryService.properties
run ConfigEngine update-properties
bucket.transformationapplication.interval
uncomment
bucket.transformationapplication.interval=600
and change to 28800 in
RegistryService.properties run ConfigEngine
update-properties
600
28800
bucket.transformation.interval
uncomment bucket.transformation.interval=600
and change to 28800 in
RegistryService.properties run ConfigEngine
update-properties
600
28800
1000
2500
TRUE
TRUE
bucket.skin.interval
bucket.client.interval
Cache Manager Settings
3500
28800
19000
28800
20000
28800
wp_profile_root/PortalServer/config/CacheManager
Service.properties
Modify
<wp_profiel_root>/ConfigEngine/config/wkplc.prop
erties for WasAdminUser and password and
PortalAdminId and PortalAdminPwd run
ConfigEngine update-properties
or
WAS Admin console Resources > Resource
Environment Provider > WP CacheManagerService
new Properiities
add new line under
cacheinstance.com.ibm.wps.model.factory.Conte
ntModelcache.live.enable=true as follows
cacheinstance.com.ibm.wps.model.factory.C cacheinstance.com.ibm.wps.model.factory.Conte
ontentModelCache.live.size
ntModelcache.live.size=2500
uncomment
cacheinstance.com.ibm.wps.ac.ExplicitEntitle cacheinstance.com.ibm.wps.ac.ExplicitEntitleme
ments Cache.USER_GROUP.enabled
nts Cache.USER_GROUP.enabled=true
页面 7
Portal 6.1.x Performance Tuning Recommendations
uncomment
cacheinstance.com.ibm.wps.ac.ExplicitEntitle cacheinstance.com.ibm.wps.ac.ExplicitEntitleme
ments Cache.USER_GROUP.lifetime
nts Cache.USER_GROUP.lifetime=9440
uncomment
cacheinstance.com.ibm.wps.ac.ExplicitEntitleme
cacheinstance.com.ibm.wps.ac.ExplicitEntitle nts Cache.USER_GROUP.size and change 1000
ments Cache.USER_GROUP.size
to 2000
created the following lines
cacheinstance.com.ibm.wps.model.factory.Navig
ationSelectionModelCache.live.enabled=true
cacheinstance.com.ibm.wps.model.factor
y.NavigationSelectionModelCache.live.si
cacheinstance.com.ibm.wps.model.factory.N ze=2500 under section # Navigation
Model
avigationSelectionModelCache.live.size
uncomment
cacheinstance.com.ibm.wps.ac.OwnedResou cacheinstance.com.ibm.wps.ac.OwnedResource
rcesCache.enabled
sCache.enabled=true and change it to false
uncomment
cacheinstance.com.ibm.wps.ac.ProtectedRe cacheinstance.com.ibm.wps.ac.ProtectedResour
sourceCache.enabled
ceCache.enabled=true
uncomment
cacheinstance.com.ibm.wps.ac.ProtectedRe cacheinstance.com.ibm.wps.ac.ProtectedResour
sourceCache.size
ceCache.size=5000 and change to 12500
uncomment
cacheinstance.com.ibm.wps.ac.ProtectedRe cacheinstance.com.ibm.wps.ac.ProtectedResour
sourceCache.lifetime
ceCache.lifetime=10143
cacheinstance.com.ibm.wps.datastore.servic uncomment
es.Identification.SerializedOidString.cache.en com.ibm.wps.datastore.services.Identification.Se
abled
rializedOidStringCache.enable=true
uncomment
cacheinstance.com.ibm.wps.datastore.servic cacheinstance.com.ibm.wps.datastore.services.I
es.Identification.SerializedOidString.cache.si dentification.SerializedOidStringCache.size=250
ze
0 and change to 5000
uncomment
cacheinstance.com.ibm.wps.puma.DN_OID_ cacheinstance.com.ibm.wps.puma.DN_OID_Cac
Cache.enabled
he.enabled=true
页面 8
9440
9440
1000
2000
1000
2500
TRUE
FALSE
TRUE
TRUE
5000
12500
10143
14400?
TRUE
TRUE
2500
5000
TRUE
TRUE
Portal 6.1.x Performance Tuning Recommendations
uncomment
cacheinstance.com.ibm.wps.puma.DN_OID_ cacheinstance.com.ibm.wps.puma.DN_OID_Cac
Cache.size
he.size=1500 and change to 5000
uncomment
cacheinstance.com.ibm.wps.puma.DN_User cacheinstance.com.ibm.wps.puma.DN_User_Ca
_Cache.enabled
che.enabled=true
uncomment
cacheinstance.com.ibm.wps.puma.DN_User cacheinstance.com.ibm.wps.puma.DN_User_Ca
_Cache.size
che.size=1500 and change to 3000
uncomment
cacheinstrance.com.ibm.wps.puma.DN_Grou com.ibm.wps.puma.DN_Group_Cache.enabled=t
p_Cache.enabled
rue
Uncomment
cacheinstance.com.ibm.wps.puma.DN_Grou cacheinstance.com.ibm.wps.puma.DN_Group_C
p_Cache.size
ache.size=500 and change to 1500
uncomment
cacheinstance.com.ibm.wps.puma.OID_DN_ cacheinstance.com.ibm.wps.puma.OID_DN_Cac
Cache.enabled
he.enabled
uncomment
cacheinstance.com.ibm.wps.puma.OID_DN_ cacheinstance.com.ibm.wps.puma.OID_DN_Cac
Cache.size
he.size=1500 and change to 3000
uncomment
cacheinstance.com.ibm.wps.puma.OID_User cacheinstance.com.ibm.wps.puma.OID_User_Ca
_Cache.enabled
che.enabled=true
uncomment
cacheinstance.com.ibm.wps.puma.OID_User cacheinstance.com.ibm.wps.puma.OID_User_Ca
_Cache.size
che.size=1500 and change to 3000
uncomment
cacheinstance.com.ibm.wps.puma.OID_Grou cacheinstance.com.ibm.wps.puma.OID_Group_
p_Cache.enabled
Cache.enabled=true
uncomment
cacheinstance.com.ibm.wps.puma.OID_Grou cacheinstance.com.ibm.wps.puma.OID_Group_
p_Cache.size
Cache.size=500 and change to 5000
页面 9
1500
5000
TRUE
TRUE
1500
3000
TRUE
TRUE
500
1500
TRUE
TRUE
1500
3000
TRUE
TRUE
1500
3000
TRUE
TRUE
500
5000
Portal 6.1.x Performance Tuning Recommendations
uncomment
cacheinstance.com.ibm.wps.ac.groupmanageme
cacheinstance.com.ibm.wps.ac.groupmanag nt.NestedGroupCache.enabled=true and change
ement.NestedGroupCache.enabled
to false
uncomment
cacheinstance.com.ibm.wps.ac.RolesCache.ena
cacheinstance.com.ibm.wps.ac.RolesCache. bled=true and change to false With WCM We
enabled
shoul enable this
uncomment
cacheinstance.com.ibm.wps.ac.ChildResourc cacheinstance.com.ibm.wps.ac.ChildResourcesC
esCache.enabled
ache.enabled=true
uncomment
cacheinstance.com.ibm.wps.ac.ChildResourc cacheinstance.com.ibm.wps.ac.ChildResourcesC
esCache.lifetime
ache.lifetime=7200 and change to 28800
uncomment
cacheinstance.com.ibm.wps.policy.services. cacheinstance.com.ibm.wps.policy.services.Polic
PolicyCacheManager.enabled
yCacheManager.enabled=true
uncomment
cacheinstance.com.ibm.wps.policy.services. cacheinstance.com.ibm.wps.policy.services.Polic
PolicyCacheManager.size
yCacheManager.size=1000
uncomment
cacheinstance.com.ibm.wps.policy.services.Polic
cacheinstance.com.ibm.wps.policy.services. yCacheManager.lifetime=7780 and change to
PolicyCacheManager.lifetime
43200
cacheinstance.com.ibm.wps.datastore.pagei
nstance.OIDCache.size
cacheinstance.com.ibm.wps.datastore.pagei
nstance.OIDCache.lifetime
cacheinstance.com.ibm.wps.datastore.pagei
nstance.DerivationCache.size
cacheinstance.com.ibm.wps.datastore.pagei
nstance.DerivationCache.lifetime
WCM Tuning - WP CacheManagerService
Properties
页面 10
TRUE
FALSE
TRUE
FALSE
TRUE
TRUE
7200
28800
TRUE
TRUE
1000
1000
7780
43200
?
10000
?
28800
?
10000
?
28800
Portal 6.1.x Performance Tuning Recommendations
cacheinstance.com.ibm.workplace.searchme
nu.helper.SearchMenuCacheHelper.size
cacheinstance.com.ibm.wps.ac.ContainedRo
lesCache.size
cacheinstance.com.ibm.wps.ac.AccessContr
olUserContextCache.size
cacheinstance.com.ibm.wps.ac.ApplicationR
olesForPrincipalCache.size
cacheinstance.com.ibm.wps.ac.AccessContr
olUserContextCache.lifetime
cacheinstance.com.ibm.wps.ac.ExplicitEntitle
mentsCache.size
cacheinstance.com.ibm.wps.ac.ExplicitEntitle
mentsCache.ICM_CONTENT.size
cacheinstance.com.ibm.wps.ac.ExplicitEntitle
mentsCache.VIRTUAL.size
cacheinstance.com.ibm.wps.ac.ExternalOID
Cache.size
cacheinstance.com.ibm.wps.ac.RolesCache.
size
cacheinstance.com.ibm.wps.ac.ApplicationR
oleChildrenCache.size
cacheinstance.com.ibm.wps.ac.ApplicationR
oleDescriptorCache.size
cacheinstance.com.ibm.wps.ac.ApplicationR
oleOIDCache.size
cacheinstance.com.ibm.wps.ac.ChildEntitlem
entsCache.size
cacheinstance.com.ibm.wps.ac.ExplicitEntitle
mentsCache.APPLICATION_ROLE.size
cacheinstance.com.ibm.wps.model.content.i
mpl.ResourceCache.size
cacheinstance.com.ibm.wps.model.content.i
mpl.ResourceCache.lifetime
页面 11
?
5000
?
500
?
5000
?
12500
?
10800
?
500
?
12000
?
500
?
12000
?
7500
?
500
?
500
?
500
?
500
?
500
?
500
?
14400
Portal 6.1.x Performance Tuning Recommendations
cacheinstance.com.ibm.wps.model.content.i
mpl.TopologyCache.size
cacheinstance.com.ibm.wps.pe.portletentity.s
ize
cacheinstance.com.ibm.wps.services.cache.c
achedstate.CachedStateServiceSessionBou
nd.cache.size
Dynacache Custom properties
com.ibm.ws.cache.CacheConfig.ignoreValueI
nInvalidationEvent
com.ibm.ws.cache.CacheConfig.filterTimeOu
tInvalidation
com.ibm.ws.cache.CacheConfig.filterLRUInv
alidation
WCM Object Cache settings
session.cachesize
processing.cachesize
menu.cachesize
nav.cachesize
strategy.cachesize
abspath.cachesize
global.cachesize
abspathreverse.cachesize
页面 12
?
500
?
250
?
250
N/A
TRUE
N/A
TRUE
N/A
TRUE
?
?
?
?
?
?
?
?
6000
10000
500
500
8000
8000
100
8000
Portal 6.1.x Performance Tuning Recommendations
Portal Databases – Db2 Datasource
settings
180 (2.5 * # of
WebContainer threads
for WCM)
50
50
JcrdbDS connection pool maxConnections
ReldbDS connection pool naxConnections
CustdbDS connection pool maxConnections
CommdbDS connection pool
maxConnections
50
FdbkdbDS connection pool maxConnections
LmdbDS connection pool maxConnections
50
50
OS Tuning (AIX)
Network Tuning
tcp_sendspace
tcp_recvspace
udp_sendspace
udp_recvspace
Somaxconn
tcp_nodelayack
rfc1323
Default values
smitty > Performance and Resource Scheduling
> Tuning Kernel and Network Parameters >
Tuning Network Option Parameters >
Change/Show Current
131072
131072
65536
655360
10000
1
1
OS Tuning (linux)
Network Tuning
net.ipv4.ip_forward
Recommend values
from Tuning Guides
vi /etc/sysctl.conf set the below values
Execute the command sysctl -p /etc/sysctl.conf
To Validate execute the command sysctl -a |
fgrep tcp
#Turns off ip forwarding
sysctl -w net.ipv4.ip.forward=0
页面 13
Default values
Recommend values
from Tuning Guides
0
0
Portal 6.1.x Performance Tuning Recommendations
net.ipv4.conf.default.rp_filter
net.ipv4.conf.default.accept_source_route
net.core.rmem_max
net.core.wmem_max
net.ipv4.tcp_rmem
net.ipv4.tcp_wmem
net.ipv4.tcp_fin_timeout
net.core.netdev_max_backlog
net.core.somaxconn
net.ipv4.tcp_keepalive_intvl
net.ipv4.tcp_keepalive_probes
Tivoli directory server tuning
Ibm-slapdACLCacheSize
Ibm-slapdEntryCacheSize
Ibm-slapdFilterCacheSize
Ibm-slapdFilterCacheBypassLimit
#Enables Source route verification
Sysctl -w net.ipv4.conf.default.rp_filter=1
#Don't accept source routes
net.ipv4.conf.default.accept_source_route=0
# Increase maximum receive windows size
sysctl -w net.core.rmem_max=16777216
# Increase maximum send windows size
sysctl -w net.core.wmem_max=16777216
edit and set the valuse in the file <tds
install>/etc/SchemaV6.0/ibmslapd.conf and
restart the ldap server <ldapinstallroot>\sbin
Idsslapd <instance name>
1
0
16777216
16777216
4096 87380 16777216
4096 87380 16777216
30
3000
10000
15
5
Default values
db2cmd
Db2 connect to idsldap user <db2admin>
using <db2adminpwd>
Db2 get db config for idsdb (this displays
current values for dbheap, num_ioservers,
and num_iocleaners)
Db2 select bpname,npages from
syscat.bufferpools to display current values
for LDAPBP and IBMDEFAULTBP
Tivoli directory server DB2 tuning
Default value
页面 14
Recommend values
from Tuning Guides
250000
250000
250000
7500
Portal 6.1.x Performance Tuning Recommendations
dbheap
num_ioservers
num_iocleaners
LDAPBP Bufferpool
IBMDEFAULTBP Buffer pool
db2 update db config for idsldap using dbheap
<value>
db2 update db config for idsldap using
num_ioservers <value>
db2 update db config for idsldap using
num_iocleaners <value>
db2 alter bufferpool LDAPBP immediate size
<value>
db2 alter bufferpool IBMDEFAULTBP immediate
size <value>
页面 15
1139
4800
Automatic
10
Automatic
5
1230
3690
29500
88500
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising