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

Michael Dürig updated OAK-2801:
-------------------------------
    Attachment: without-OAK-2801.png
                with-OAK-2801.png

Graphs showing the file store size and the depth and width of the compaction 
map with and without the patch. 

The data has been collected through the {{SegmentCompactionITMBean}} while 
running {{SegmentCompactionIT}} with 10 readers, 10 references and 20 writers. 

Without  the patch there is no cleanup taking place. This is caused by too many 
concurrent writers keeping too many references around. With the patch cleanup 
takes place regularly. 

> Clear excess references before cleanup
> --------------------------------------
>
>                 Key: OAK-2801
>                 URL: https://issues.apache.org/jira/browse/OAK-2801
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: compaction, gc
>             Fix For: 1.3.0
>
>         Attachments: OAK-2801.patch, with-OAK-2801.png, without-OAK-2801.png
>
>
> {{FileStore#cleanup}} would be more efficient when getting rid of as much 
> references as possibly beforehand. Excess references are contributed by the 
> current {{TarWriter}} instance and segment cache in {{SegmentTracker}}. 



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

Reply via email to