jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Marth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-2744) Change default cache distribution ratio if persistent cache is enabled
Date Wed, 27 Jan 2016 14:59:39 GMT

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

Michael Marth updated OAK-2744:
-------------------------------
    Fix Version/s:     (was: 1.4)
                   1.6

> 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
>             Fix For: 1.6
>
>
> 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)

Mime
View raw message