WebSphere Commerce default tunables

WebSphere Commerce has two instance profiles, Test and Production. Each profile contains its own tunable values for the WebSphere Commerce Java virtual machines (JVM) and WebSphere Application Server caches. These values are in place to provide a standard base level of performance from which to operate, or tweak for improvements to individual configurations.

WebSphere Commerce uses containerization. To ensure that your tuned settings persist in subsequent container instances, follow the procedure described in Building custom Docker images based on customization packages.


WebSphere IBM JVM Settings (for WebSphere Commerce and WebSphere Commerce Search)

Default values for WebSphere Commerce and WebSphere Commerce Search
Property Name Version 9 Test Profile Version 9 Production Profile
32 / 64-bit JDK 64-bit 64-bit
JVM arguments

WebSphere Commerce and WebSphere Commerce Search JVM arguments: -Xss1m -Xgcpolicy:gencon -Xmns256m -Xmnx512m -Xverbosegclog:WC_profiledir/logs/server1/verbosegc.m%d.7/9/17M%S.%pid.txt,10,10000

WebSphere Commerce and WebSphere Commerce Search JVM arguments: -Xss1m -Xgcpolicy:gencon -Xmn1536m -Xverbosegclog:WC_profiledir/logs/server1/verbosegc.m%d.7/9/17M%S.%pid.txt,10,50000

Initial heap size (-Xms) 512m 2048 m
Maximum heap size (-Xmx) 1536m 4096m
Disable JIT No No
Garbage collection policy (-Xgcpolicy) gencon gencon
Garbage collection threads (-Xgcthreads) Not specified Not specified
Fixed nursery (-Xmn) Not specified 1536m
Starting nursery (-Xmns) 256m Not specified
Max nursery (-Xmnx) 768m Not specified
Garbage collection logging

Enabled with log rotation*:

-Xverbosegclog[:<file>[,X,Y]]

Enabled with log rotation*:

-Xverbosegclog[:<file>[,X,Y]]

* For more information about this default, see, Boring but necessary: Rotate the GC log!.


WebSphere Commerce and WebSphere Commerce Search Cache Settings (DynaCache)

See, Enable the dynamic cache service and servlet caching. For more information about sizing cache effectively, see How Big is your Cache?.

Default values for WebSphere Commerce and WebSphere Commerce Search cache settings (DynaCache)
Property Name Version 9 Test Profile Version 9 Production Profile

    base Cache size

2000 2000

    enableDiskOffload

On On

    flushToDiskOnStop

Off Off

    diskCachePerformanceLevel

Balanced performance and balanced memory usage High performance and high memory usage


WebSphere Commerce Data Cache Settings (non-optional object caches): 22+12

See, Enable WebSphere Commerce data cache.

Default values for WebSphere Commerce cache settings
Property Name Version 9 Test Profile Version 9 Production Profile

    name="FlexFlowCache" 
    jndiName="services/cache/WCFlexFlowDistributedMapCache"

Define this property for both local and remote stores.

1,000 5,000

    name="InventoryCache"
    jndiName="dmap/IVCache"

20,000 100,000

    name="InventoryConfigurationCache"
    jndiName="dmap/IC_Cache"

5,000 25,000

    name="LayoutCache"
    jndiName="services/cache/WCLayoutDistributedMapCache"

Define this property for both local and remote stores.

1,000 5,000

    name="MarketingCache"
    jndiName="services/cache/DM_Cache"

2,500 10,000

    name="MarketingUserCache"
    jndiName="services/cache/DM_UserCache"

10,000 50,000

    name="PreviewTokenCache"
    jndiName="services/cache/PT_Cache" 

1,000 5,000

    name="PriceCache"
    jndiName="dmap/PriceCache"

20,000 100,000

    name="PriceRuleCache"
    jndiName="dmap/PR_Cache"

5,000 25,000

    name="SearchCache"
    jndiName="services/cache/WCSearchDistributedMapCache" 

5,000 25,000

    name="SearchAttributeCache"
    jndiName="services/cache/WCSearchAttributeDistributedMapCache"

5,000 25,000

    name="SearchCatHierarchyCache"
    jndiName="services/cache/WCSearchCatHierarchyDistributedMapCache"

2,000 10,000

    name="SearchFacetCache"
    jndiName="services/cache/WCSearchFacetDistributedMapCache"

2,000 10,000

    name="SearchMerchandisingCache"
    jndiName="services/cache/WCSearchMerchandisingDistributedMapCache"

1,000 5,000

    name="SearchNavigationCache"
    jndiName="services/cache/WCSearchNavigationDistributedMapCache"

1,000 5,000

    name="SearchSTACache"
    jndiName="services/cache/WCSearchSTADistributedMapCache"

100,000 500,000

    name="SEOURLCache"
    jndiName="services/cache/WCSEOURLDistributedMapCache"

Define this property for both local and remote stores.

5,000 25,000

    name="SEOURLKeyword2URLTokenCache"
    jndiName="services/cache/WCSEOURLKeyword2URLTokenDistributedMapCache"

Define this property for both local and remote stores.

3,000 15,000

    name="SEOURLToken2URLKeywordCache"
    jndiName="services/cache/WCSEOURLToken2URLKeywordDistributedMapCache"

Define this property for both local and remote stores.

3,000 15,000

    name="SEORedirectRulesCache"
    jndiName="services/cache/WCSEORedirectRulesDistributedMapCache"

Define this property for both local and remote stores.

1,000 5,000

    name="WidgetDefinitionCache"
    jndiName="services/cache/WCWidgetDefinitionDistributedMapCache"

1,000 5,000

    name="RESTTagCache" 
    jndiName="services/cache/WCRESTTagDistributedMapCache"

Define this property for both local and remote stores.

1,000 5,000

    cache.instance.0=/services/cache/WCSystemDistributedMapCache
    name="SystemCache"
    jndiName="services/cache/WCSystemDistributedMapCache"

2,000 10,000

    cache.instance.1=/services/cache/WCSessionDistributedMapCache
    name="SessionCache"
    jndiName="services/cache/WCSessionDistributedMapCache"

1,000 5,000

    cache.instance.4=/services/cache/WCMarketingDistributedMapCache
    name="WCMarketingCache"
    jndiName="services/cache/WCMarketingDistributedMapCache"

3,000 15,000

    cache.instance.5=/services/cache/WCUserDistributedMapCache
    name="UserCache"
    jndiName="services/cache/WCUserDistributedMapCache"

3,000 15,000

    cache.instance.6=/services/cache/WCSEOPageDefinitionDistributedMapCache
    name="SEOPageDefinitionCache"
    jndiName="services/cache/WCSEOPageDefinitionDistributedMapCache"

5,000 25,000

    cache.instance.7=/services/cache/WCCatalogGroupDistributedMapCache
    name="CatalogGroupCache" jndiName="services/cache/WCCatalogGroupDistributedMapCache"

3,000 15,000

    cache.instance.8=/services/cache/WCCatalogEntryDistributedMapCache
    name="CatalogEntryCache" jndiName="services/cache/WCCatalogEntryDistributedMapCache"

5,000 25,000

    cache.instance.9=/services/cache/WCPriceDistributedMapCache
    name="WCPriceCache"
    jndiName="services/cache/WCPriceDistributedMapCache"

5,000 25,000

    cache.instance.10=/services/cache/WCMiscDistributedMapCache
    name="MiscCache"
    jndiName="services/cache/WCMiscDistributedMapCache"

3,000 15,000

    cache.instance.11=/services/cache/WCDistributedMapCache
    name="WCCache"
    jndiName="services/cache/WCDistributedMapCache"

10 50


WebSphere Commerce Search Data Cache Settings (non-optional object caches): 13

See, Enable the WebSphere Commerce Search data cache.

Default values for WebSphere Commerce Search data cache settings
Property Name Version 9 Test Profile Version 9 Production Profile

    name="SearchAttributeDistributedMapCache"
    jndiName="services/cache/SearchAttributeDistributedMapCache"

5,000 25,000

    name="SearchCatHierarchyDistributedMapCache"
    jndiName="services/cache/SearchCatHierarchyDistributedMapCache"

2,000 10,000

    name="SearchCatalogEntryDistributedMapCache"
    jndiName="services/cache/SearchCatalogEntryDistributedMapCache"

5,000 25,000

    name="SearchCatalogGroupDistributedMapCache"
    jndiName="services/cache/SearchCatalogGroupDistributedMapCache"

3,000 15,000

    name="SearchContractDistributedMapCache"
    jndiName="services/cache/SearchContractDistributedMapCache"

5,000 25,000

    name="SearchDistributedMapCache"
    jndiName="services/cache/SearchDistributedMapCache"

5,000 25,000

    name="SearchFacetDistributedMapCache"
    jndiName="services/cache/SearchFacetDistributedMapCache"

2,000 10,000

    name="SearchFlexFlowDistributedMapCache"
    jndiName="services/cache/SearchFlexFlowDistributedMapCache"

100 500

    name="SearchMerchandisingDistributedMapCache"
    jndiName="services/cache/SearchMerchandisingDistributedMapCache"

1,000 5,000

    name="SearchMiscDistributedMapCache"
    jndiName="services/cache/SearchMiscDistributedMapCache"

3,000 15,000

    name="SearchNavigationDistributedMapCache"
    jndiName="services/cache/SearchNavigationDistributedMapCache"

5,000 25,000

    name="SearchSystemDistributedMapCache"
    jndiName="services/cache/SearchSystemDistributedMapCache"

2,000 10,000

    name="SearchUserDistributedMapCache"
    jndiName="services/cache/SearchUserDistributedMapCache"

3,000 15,000


Related concepts
WebSphere Commerce Search performance tuning
Database performance tuning


Related reference
Tuning best practices
JVM performance tuning
Promotion performance tuning
Marketing performance tuning