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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2017/01/26 13:43:24 UTC

[jira] [Comment Edited] (OAK-5222) Optimize the multiplexing node store

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

Tomek Rękawek edited comment on OAK-5222 at 1/26/17 1:42 PM:
-------------------------------------------------------------

Further improvements - the children states/builders are now resolved lazily.

Commit: [r1780391|https://svn.apache.org/r1780391].

Test results:
{noformat}
java -jar oak-run.jar benchmark ReadDeepTreeTest Oak-Multiplexing Oak-Segment-Tar --pathsPerMount=0 --mounts=0
# ReadDeepTreeTest                 C     min     10%     50%     90%     max       N 
Oak-Segment-Tar                    1      11      11      12      14      21    4747
Oak-Multiplexing                   1      15      16      17      19      26    3515
{noformat}




was (Author: tomek.rekawek):
Further improvements - the children states/builders are now resolved lazily. I haven't committed the patch yet, as it doesn't pass some of the integration test. Results:

{noformat}
java -jar oak-run.jar benchmark ReadDeepTreeTest Oak-Multiplexing Oak-Segment-Tar --pathsPerMount=0 --mounts=0
# ReadDeepTreeTest                 C     min     10%     50%     90%     max       N 
Oak-Segment-Tar                    1      11      11      12      14      21    4747
Oak-Multiplexing                   1      15      16      17      19      26    3515
{noformat}

Patch: [^OAK-5222-1.patch].

> Optimize the multiplexing node store
> ------------------------------------
>
>                 Key: OAK-5222
>                 URL: https://issues.apache.org/jira/browse/OAK-5222
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>             Fix For: 1.8
>
>         Attachments: OAK-5222-1.patch, results1.png
>
>
> I added support for the multiplexing node store for the oak-run benchmark fixtures. It seems that the performance in ReadDeepTreeTest is linearly dependent on the mount counts:
> {noformat}
> Mounts	N
> 0	729
> 1	402
> 2	287
> 3	209
> 4	188
> 5	154
> 6	133
> 7	126
> 8	104
> 9	100
> 10	85
> 20	46
> {noformat}
> {{N}} - throughput in 60 seconds. Following command was used:
> {noformat}
> $ java -jar target/oak-run-1.6-SNAPSHOT.jar benchmark ReadDeepTreeTest Oak-Multiplexing --mounts=10
> {noformat}
> It should be possible to improve this, so we won't have a noticeable performance decrease for 1000 mounts.
> //cc: [~rombert]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)