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

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

Some benchmarks showing the impact of this fix together with the fixes from 
OAK-4953 and OAK-4923:

{noformat}
$ uname -a
Darwin mduerig-MacBookPro1 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 
18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

$ java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

$ java -Xmx2g -Druntime=300 -jar oak-run-1.6-SNAPSHOT.jar benchmark 
ConcurrentReadWriteTest ConcurrentWriteTest ConcurrentCreateNodesTest Oak-Tar 
Oak-Segment-Tar

Apache Jackrabbit Oak 1.6-SNAPSHOT
# ConcurrentReadWriteTest          C     min     10%     50%     90%     max    
   N  
Oak-Tar                            1      41     125     145     167     489    
2047  
Oak-Segment-Tar (base)             1      64     164     190     214    2362    
1477
Oak-Segment-Tar (fix)              1      59     145     171     195     887    
1751
# ConcurrentWriteTest              C     min     10%     50%     90%     max    
   N  
Oak-Tar                            1      38      52      54      59     492    
5461  
Oak-Segment-Tar (base)             1     106     116     298     572    1570    
 931
Oak-Segment-Tar (fix)              1      91     108     115     130     908    
2506
# ConcurrentCreateNodesTest        C     min     10%     50%     90%     max    
   N  
Oak-Tar                            1     383     430     479     553     903    
 620  
Oak-Segment-Tar (base)             1     699     731    1099    1319    1873    
 275
Oak-Segment-Tar (fix)              1     699     737     893    1036    1733    
 324
{noformat}

> 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