[ https://issues.apache.org/jira/browse/OAK-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243774#comment-16243774 ]
Andrei Dulceanu commented on OAK-6915: -------------------------------------- [~frm], here's a couple of benchmark results when running {{BasicWriteTest}} on all three segment fixtures: |Oak 1.8-SNAPSHOT *without patch*|{noformat} # BasicWriteTest C min 10% 50% 90% max N Oak-Segment-Tar 1 19 21 22 25 77 2540 Oak-Segment-Tar-DS 1 57 61 64 70 124 908 Oak-Segment-Tar-Cold(Shared DS) 1 183 189 198 214 295 211 {noformat}| |Oak 1.8-SNAPSHOT *with patch*|{noformat} # BasicWriteTest C min 10% 50% 90% max N Oak-Segment-Tar 1 20 22 23 27 164 2414 Oak-Segment-Tar-DS 1 59 62 65 70 127 902 Oak-Segment-Tar-Cold(Shared DS) 1 57 62 65 70 116 891 {noformat}| > Minimize the amount of uncached segment reads > --------------------------------------------- > > Key: OAK-6915 > URL: https://issues.apache.org/jira/browse/OAK-6915 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: segment-tar > Reporter: Francesco Mari > Assignee: Francesco Mari > Fix For: 1.8, 1.7.12 > > Attachments: OAK-6915-01.patch, OAK-6915-diagnostics.patch > > > The current implementation of {{SegmentCache}} should make better use of the > underlying Guava cache by relying on the cached segments instead of > unconditionally performing an uncached segment read via the > {{Callable<Segment>}} passed to {{SegmentCache#getSegment}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)