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 2019/04/10 14:24:00 UTC

[jira] [Commented] (OAK-8215) Use CacheLIRS as default

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

Marcel Reutegger commented on OAK-8215:
---------------------------------------

E.g. with CacheLIRS:
{noformat}
java -Doak.documentstore.persistentCache= -Doak.documentMK.lirsCache=true -jar target/oak-benchmarks-1.14-SNAPSHOT.jar benchmark --cache 256 GetDeepNodeTest Oak-Mongo
Apache Jackrabbit Oak 1.14-SNAPSHOT
# GetDeepNodeTest                  C     min     10%     50%     90%     max       N 
Oak-Mongo                          1      79      83      87      95     171     680
{noformat}

With Guava cache:
{noformat}
java -Doak.documentstore.persistentCache= -Doak.documentMK.lirsCache=false -jar target/oak-benchmarks-1.14-SNAPSHOT.jar benchmark --cache 256 GetDeepNodeTest Oak-Mongo
Apache Jackrabbit Oak 1.14-SNAPSHOT
# GetDeepNodeTest                  C     min     10%     50%     90%     max       N 
Oak-Mongo                          1     109     115     132     155     166     449
{noformat}

> Use CacheLIRS as default
> ------------------------
>
>                 Key: OAK-8215
>                 URL: https://issues.apache.org/jira/browse/OAK-8215
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.14.0
>
>
> Some benchmarks indicate performance is slightly better when using the Oak CacheLIRS instead of the Guava Cache implementation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)