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

Michael Dürig updated OAK-4635:
-------------------------------
    Attachment: OAK-4635.pdf
                OAK-4635.m

[^OAK-4635.pdf] plots cache hit rate against number of nodes written for each 
of above cache variants. All except OAK-4635-6 show poor cache hit rates for 
big nodes (sub trees). Those are particular expensive as they cause a lot of 
actual write operations. 

[^OAK-4635.m] is the Matlab script containing the raw data from the log files 
and the code to generate the graphs. 

> Improve cache eviction policy of the node deduplication cache
> -------------------------------------------------------------
>
>                 Key: OAK-4635
>                 URL: https://issues.apache.org/jira/browse/OAK-4635
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: perfomance
>             Fix For: Segment Tar 0.0.12
>
>         Attachments: OAK-4635.m, OAK-4635.pdf
>
>
> {{NodeCache}} uses one stripe per depth (of the nodes in the tree). Once its 
> overall capacity (default 1000000 nodes) is exceeded, it clears all nodes 
> from the stripe with the greatest depth. This can be problematic when the 
> stripe with the greatest depth contains most of the nodes as clearing it 
> would result in an almost empty cache. 



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

Reply via email to