<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:44:20 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-17411] 20% drop in Update perf for MMAPv1 vs 2.6 MMAP</title>
                <link>https://jira.mongodb.org/browse/SERVER-17411</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Problem&quot;&gt;&lt;/a&gt;Problem&lt;/h2&gt;
&lt;p&gt;This may be a more general case of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17342&quot; title=&quot;20% drop in throughput on a contended document update between 2.6 and 3.0 MMAP&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17342&quot;&gt;&lt;del&gt;SERVER-17342&lt;/del&gt;&lt;/a&gt;, but there appears to be a general drop on all mongo-perf Update tests in the order of 10-20%. This occurs on contested and uncontested updates, large and small document updates etc.&lt;/p&gt;</description>
                <environment></environment>
        <key id="186624">SERVER-17411</key>
            <summary>20% drop in Update perf for MMAPv1 vs 2.6 MMAP</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="alvin">Alvin Richards</reporter>
                        <labels>
                            <label>28qa</label>
                            <label>cap-ss</label>
                    </labels>
                <created>Fri, 27 Feb 2015 17:49:15 +0000</created>
                <updated>Tue, 6 Dec 2022 04:55:27 +0000</updated>
                            <resolved>Fri, 14 Sep 2018 19:52:23 +0000</resolved>
                                    <version>3.0.0-rc11</version>
                                                    <component>MMAPv1</component>
                                        <votes>1</votes>
                                    <watches>16</watches>
                                                                                                                <comments>
                            <comment id="845207" author="fdoray" created="Fri, 6 Mar 2015 20:26:31 +0000"  >&lt;p&gt;I generated flame graphs &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; of the execUpdate method of v2.6.7 and v3rc9 while running the MultiUpdate.v1.Contended.Doc.Seq.Indexed benchmark (-t 4 --trialCount 7 --trialTime 20). You can click on stack frames to get full function names. You can also click on the &quot;Filter&quot; link (bottom right of the page) to get a more detailed view of the calles of a function.&lt;/p&gt;

&lt;p&gt;To generate the flame graphs, call stacks samples were captured at 250 Hz using an experimental feature of LTTng &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; (detailed documentation available soon). This allows to approximate the total duration per call stack for the complete execution of the benchmark. Then, in order to allow a meaningfull comparison, all durations were divided by the number of executions of the WriteBatchExecutor::execUpdate method. In the flame graphs that I shared with you, off-cpu latency was not included (otherwise, the wait on Lock::DBWrite in v2.6.7 and Lock::CollectionLock in v3 would have dominated the data). Also, a ram disk was used to avoid io latency that can be very important with an HDD.&lt;/p&gt;

&lt;p&gt;I hope this data will help you solve this issue. I&apos;m currently writing documentation so that you can generate these comparison flame graphs by yourself.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;http://fdoray.github.io/tracecompare/demo/mongo-SERVER-17411/?data=mongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://fdoray.github.io/tracecompare/demo/mongo-SERVER-17411/?data=mongo&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://github.com/fdoray/lttng-profile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/fdoray/lttng-profile&lt;/a&gt; and &lt;a href=&quot;https://github.com/fdoray/lttng-profile-modules&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/fdoray/lttng-profile-modules&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="185413">SERVER-17341</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="185417">SERVER-17342</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="185417">SERVER-17342</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="65975" name="SERVER-17411-2.6.7-mmapv0-c1.tgz" size="20090367" author="alvin" created="Fri, 27 Feb 2015 17:55:03 +0000"/>
                            <attachment id="65976" name="SERVER-17411-3.0.0-rc11-mmapv1-c1.tgz" size="20594130" author="alvin" created="Fri, 27 Feb 2015 17:55:03 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 27 Feb 2015 21:40:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 49 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 49 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alvin</customfieldvalue>
            <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>fdoray</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlbon:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8h5r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>164359</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;/home/ec2-user/mongodb-linux-x86_64-3.0.0-rc11/bin/mongod --dbpath /data2/db --logpath /data3/logs/db/simple_update_mms/server.log --fork --syncdelay 14400 --storageEngine=mmapv1 --bind_ip 127.0.0.1&lt;/p&gt;

&lt;p&gt;python benchrun.py -f testcases/simple_update_mms.js -t 12 14 16 -l &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17342&quot; title=&quot;20% drop in throughput on a contended document update between 2.6 and 3.0 MMAP&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17342&quot;&gt;&lt;del&gt;SERVER-17342&lt;/del&gt;&lt;/a&gt;-2-3.0.0-rc11-mmapv1-c1 --rhost &quot;54.191.70.12&quot; --rport 27017 -s /home/ec2-user/mongo-perf-shell/mongo --writeCmd true --tria&lt;br/&gt;
lCount 7 --trialTime 20 --testFilter \&apos;update\&apos; -c 1 --dyno&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsg87b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>