[
https://issues.apache.org/jira/browse/OAK-4936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574960#comment-15574960
]
Michael Dürig commented on OAK-4936:
------------------------------------
Results of some benchmarks comparing above patch vs. unpatched vs. Oak-Tar.
{{ConcurrentWriteTest}} and {{ConcurrentCreateNodesTest}} show clear
improvements. In other areas we are still behind Oak-Tar and need to further
investigate.
{noformat}
based on svn revision 1764402
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)
patched: java -Druntime=300 -jar oak-run-1.6-SNAPSHOT.jar benchmark
ReadPropertyTest GetDeepNodeTest SetPropertyTest SetMultiPropertyTest
ConcurrentReadWriteTest ConcurrentWriteReadTest ConcurrentWriteTest
ConcurrentCreateNodesTest Oak-Tar Oak-Segment-Tar
base: java -Druntime=300 -jar oak-run-1.6-SNAPSHOT.jar benchmark
ReadPropertyTest GetDeepNodeTest SetPropertyTest SetMultiPropertyTest
ConcurrentReadWriteTest ConcurrentWriteReadTest ConcurrentWriteTest
ConcurrentCreateNodesTest Oak-Tar Oak-Segment-Tar
Apache Jackrabbit Oak 1.6-SNAPSHOT
# ReadPropertyTest C min 10% 50% 90% max
N
Oak-Tar 1 -2527 5 5 6 15
54452
Oak-Segment-Tar base 1 5 5 5 6 13
54732
Oak-Segment-Tar patched 1 5 5 5 6 15
54684
# GetDeepNodeTest C min 10% 50% 90% max
N
Oak-Tar 1 37 37 38 42 84
7672
Oak-Segment-Tar base 1 51 52 54 58 77
5485
Oak-Segment-Tar patched 1 51 52 53 57 117
5561
# SetMultiPropertyTest C min 10% 50% 90% max
N
Oak-Tar 1 113 115 119 123 220
2508
Oak-Segment-Tar base 1 223 225 231 242 1681
1230
Oak-Segment-Tar patched 1 228 230 235 249 829
1245
# ConcurrentReadWriteTest C min 10% 50% 90% max
N
Oak-Tar 1 81 130 143 163 320
2057
Oak-Segment-Tar base 1 59 160 190 235 879
1533
Oak-Segment-Tar patched 1 109 177 194 212 913
1539
# ConcurrentWriteReadTest C min 10% 50% 90% max
N
Oak-Tar 1 3 5 17 26 563
19267
Oak-Segment-Tar base 1 5 12 25 36 947
11735
Oak-Segment-Tar patched 1 5 19 27 36 718
11098
# ConcurrentWriteTest C min 10% 50% 90% max
N
Oak-Tar 1 27 53 56 62 490
5252
Oak-Segment-Tar base 1 104 119 303 546 1553
924
Oak-Segment-Tar patched 1 105 116 121 140 1008
2352
# ConcurrentCreateNodesTest C min 10% 50% 90% max
N
Oak-Tar 1 404 449 485 565 746
608
Oak-Segment-Tar base 1 697 756 1116 1335 1928
271
Oak-Segment-Tar patched 1 706 735 865 941 1637
348
{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)