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

Andrei Dulceanu commented on OAK-6915:
--------------------------------------

[~mduerig], [~frm], here are some durations as recorded on {{BasicWriteTest}} 
for your latest version of the patches:

{{Oak-6915.patch}}:
{noformat}
# BasicWriteTest                   C     min     10%     50%     90%     max    
   N
Oak-Segment-Tar                    1      20      22      26      35     126    
2037
Oak-Segment-Tar-Cold               1      58      63      66      74     158    
 871
{noformat}

{{Oak-6915-03.patch}}:
{noformat}
# BasicWriteTest                   C     min     10%     50%     90%     max    
   N
Oak-Segment-Tar                    1      19      22      23      29     249    
2241
Oak-Segment-Tar-Cold               1      59      63      67      79     126    
 846
{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-02.patch, OAK-6915-03.patch, 
> OAK-6915-diagnostics-02.patch, OAK-6915-diagnostics.patch, OAK-6915.patch, 
> Screen Shot 2017-11-09 at 14.14.28.png, Screen Shot 2017-11-09 at 14.16.59.png
>
>
> 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)

Reply via email to