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

Michael Dürig commented on OAK-4936:
------------------------------------

Switching from LIRS to a Guava caches greatly improves the cache's hit rate: 
https://github.com/mduerig/jackrabbit-oak/commit/cf24625c05ebd20acd3b34e702f9ef5b9af7ea5a
 Will run a couple of benchmarks with and without the cache and share the 
numbers once I have them. 

> Too many segment cache misses
> -----------------------------
>
>                 Key: OAK-4936
>                 URL: https://issues.apache.org/jira/browse/OAK-4936
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: performance
>             Fix For: Segment Tar 0.0.16
>
>         Attachments: OAK-4936-monitoring.patch
>
>
> Running the {{ConcurrentWriteTest}} benchmark and monitoring the hits and 
> misses of the segment cache (LIRS), I noticed that some segments are loaded 
> over and over again (up to 3000 times). 



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

Reply via email to