You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/03 08:59:59 UTC

[jira] [Resolved] (OAK-2744) Change default cache distribution ratio if persistent cache is enabled

     [ https://issues.apache.org/jira/browse/OAK-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-2744.
----------------------------------
       Resolution: Not A Problem
    Fix Version/s:     (was: 1.6)

Ack. Resolving this as Not a Problem

> Change default cache distribution ratio if persistent cache is enabled
> ----------------------------------------------------------------------
>
>                 Key: OAK-2744
>                 URL: https://issues.apache.org/jira/browse/OAK-2744
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk, rdbmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>              Labels: performance
>
> By default the cache memory in DocumentNodeStore is distributed in following ratio
> * nodeCache - 25%
> * childrenCache - 10%
> * docChildrenCache - 3%
> * diffCache - 5%
> * documentCache - Is given the rest i.e. 57%
> However off late we have found that with persistent cache enabled we can lower the cache allocated to Document cache. That would reduce the time spent in invalidating cache entries in periodic reads. So far we are using following ration in few setup and that is turning out well
> * nodeCachePercentage=35
> * childrenCachePercentage=20
> * diffCachePercentage=30
> * docChildrenCachePercentage=10
> * documentCache - Is given the rest i.e. 5%
> We should use the above distribution by default if the persistent cache is found to be enabled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)