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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/11/28 10:15:59 UTC

[jira] [Commented] (OAK-5166) Change default cache distribution

    [ https://issues.apache.org/jira/browse/OAK-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15701531#comment-15701531 ] 

Marcel Reutegger commented on OAK-5166:
---------------------------------------

My proposal is to use the following defaults, with a remaining 16% for the document cache:

- nodeCachePercentage=35
- childrenCachePercentage=15
- diffCachePercentage=30
- prevDocCachePercentage=4

> Change default cache distribution
> ---------------------------------
>
>                 Key: OAK-5166
>                 URL: https://issues.apache.org/jira/browse/OAK-5166
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.6
>
>
> Feedback from users of the DocumentNodeStore indicate the default cache distribution for the DocumentNodeStore should be changed. The diff cache is usually set to a higher percentage to improve node state comparison used for event listeners. Increasing the overall cache size also leads to a rather big share for the document cache.



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