Saturday, 21 March 2015

Portal8.0 tunning

Architecture :- Always try to have a combination of vertical and horizontal clustering for high performance.
Jvm  minimum and maximum size:- 3048MB
Jvm nursery memory  :- 1024MB
Session timeout: - 30 mins(Lowest the best)
Data source connection pooling: - Minimum 10 and maximum 50.

Avoid Refetching Static Content After Login
With the Portal 8.0 theme many resources do not change before and after logging in. These resources include the ra: collection URLs that are part of the theme. The same URL can safely be used for authenticated and unauthenticated users.
How to Set
1. In the WebSphere Integrated Solutions Console: Security → Global security
2. Expand Web and SIP security
3. Click on General Settings
4. Check 'Use available authentication data when an unprotected URI is accessed'
5. Save

VMM Caches
Tune VMM search results and attributes cache to improve the performance of VMM search.
How to Set in ISC
1. In the WebSphere Integrated Solutions Console Security → Global security
2. Under Available realm definitions ensure Federated Repositories is selected
3. Click the Configure button
4. Click on the LDAP Repository Identifier
5. Click Performance under Additional Properties

How to Set Manually
Edit <wp_profile_root>/config/cells/<cellname>/wim/config/wimconfig.xml.
Change the searchResultsCache settings to match the following:
<config:searchResultsCache cacheSize="12000" cacheTimeOut="600" enabled="true" searchResultSizeLimit="1000"/>
Change the attributesCache settings to match the following
<config:attributesCache attributeSizeLimit="2000" cacheSize="12000" cacheTimeOut="1200" enabled="true"/>


Internationalization Service Tuning
An internationalized (i18n) application can be configured to interact with users from different regions in culturally appropriate ways. The internationalization service enables you to configure and manage an internationalization context for an application.
This feature is needed by the WebSphere i18n classes. If your application code is not using the following classes, it is safe to disable this service.
 com.ibm.websphere.i18n.context.UserInternationalization
 com.ibm.websphere.i18n.context.Internationalization
 com.ibm.websphere.i18n.context.InvocationInternationalization

Note that Portal does not make use of these classes internally.
How to Set
In the WebSphere Integrated Solutions Console
Servers → Server Types → WebSphere application servers → WebSphere_Portal → Container Services: Internationalization service
Uncheck “Enable service at server startup”.

Disable Tagging and Rating
If you are not using the Tagging and Rating services they can be disabled. In our results, disabling this improved capacity by 3%.
How to Set
In the WebSphere Integrated Solutions Console
Resources → Resource Environment → Resource Environment Providers → WP CPConfigurationService → Custom properties
Modify the following custom properties:
 Name: com.ibm.wps.cp.tagging.isTaggingEnabled Value: false
Name: com.ibm.wps.cp.rating.isRatingEnabled Value: false
Base Portal Tuning
WebSphere Portal 8.0 Performance Tuning Guide 25

The module can also be removed from the theme profile. The module name is wp_tagging_rating; by default it is in the deferred section of profile_deferred.json. For performance benchmarks, this module was left enabled, but the deferred section of the profile was never loaded as part of the measured workload, so the performance impact of removing it is unknown.

Mashup Multipart Tuning
The Portal 8.0 theme multipart downloading can be disabled to improve performance. Be aware that disabling this may cause performance issues on client side aggregation themes from earlier Portal releases.
How to Set
In the WebSphere Integrated Solutions Console
Resources → Resource Environment → Resource Environment Providers → WP CommonComponentConfigService → Custom properties
Modify the following custom properties:
 Name: cc.multipart.enabled Value: false (the default)
 Name: cc.multipart.correlatehosts Value: false

Cache ra:collections
To allow caching of ra:collection URLs, set resourceaggregation.cache.markup to true in WP ConfigService.
How to Set
In the WebSphere Integrated Solutions Console
Resources → Resource Environment → Resource Environment Providers → WP ConfigService
Name: resourceaggregation.cache.markup
Value: true

Disable Portlet Capability Filter
The runtime portlet capabilities filter allows a portal developer to get friendly error messages on pages if the theme profile that is in place for a page does not contain all the capabilities that the portlets on the page require. This is very useful for development purposes, but has an undesirable overhead in a production environment. In production this filter should be disabled as the pages should be properly debugged before going into production.
More information about these settings can be found at http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Capability_Filters_wp8 and http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Configuration_settings_for_capability_filters_wp8
To disable, set resourceaggregation.enableRuntimePortletCapabilitiesFilter to false in WP ConfigService.
How to Set
In the WebSphere Integrated Solutions Console
Resources → Resource Environment → Resource Environment Providers → WP ConfigService → Custom properties
Name: resourceaggregation.enableRuntimePortletCapabilitiesFilter

Value: false

Note:- Will be updating this blog post weekly look for more updates

No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...