The default cache size is sufficient for most of the installations. Depending on the requirements, you can customize the cache sizes. To determine the ideal cache size, monitor the cache statistics. Cache statistics provide information about the average cache size and the memory that is consumed for each role type.
Follow these steps:
Note: After you enable the statistics, a summary message is written to the log on every 1,000 calls that are recorded on the cache.
Example:
>>>Cache 1:AdminRoleMembership; Size: 1,234, Memory: 555 kb >>>Cache 1:AdminRoleAdministration; Size: 1,024, Memory: 450 kb >>>Cache 1:AdminRoleOwner; Size: 123, Memory: 5 kb >>All Caches; Size: 14,232, Memory: 54,654 kb
Defines the Environment ID.
Specifies the cache name. For example, Admin Membership Role Cache.
Specifies the number of entries that the cache includes.
Specifies the currently occupied cache memory.
If the cache size for a role type reaches the upper limit or that size remains close to the upper limit, increase the cache size depending on the memory limit. If the cache does not use the entire cache size, reduce the cache size for the role type. If there is any change to the cache size in the properties file, restart the application server.
For each admin, access, and provisioning cache, the total cache size that is used for the tuning is the sum of the individual authorization caches for that role. The admin and access roles include membership, administration, and ownership caches. The provisioning role includes the administration and ownership caches. The total cache is the aggregate of all the admin, access, and provisioning role caches.
The total cache size in the example is 2,381 and memory footprint is 1,010 KB.
|
Copyright © 2013 CA.
All rights reserved.
|
|