<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:16:38 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-48272] Reduce startup time for dynamically linked server binaries and shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-48272</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46296&quot; title=&quot;Migrate non-windows ! builders to --link-model=dynamic &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46296&quot;&gt;&lt;del&gt;SERVER-46296&lt;/del&gt;&lt;/a&gt; we had attempted to roll several builders over to run in fully dynamic mode. However, we discovered that this had a adverse effect on test execution time. It appears that a dynamically linked &lt;tt&gt;mongod&lt;/tt&gt; is roughly 100 times slower than a statically linked &lt;tt&gt;mongod&lt;/tt&gt; to start up.&lt;/p&gt;

&lt;p&gt;It is probably impossible to get to complete parity with the static build, but we can almost certainly do better.&lt;/p&gt;

&lt;p&gt;We need to figure out why the startup cost is so high, and bring it down to a level where we feel that the increased startup time is small enough that the benefits (much faster compiles) outweigh any residual test slowdown due to slower startup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1354464">SERVER-48272</key>
            <summary>Reduce startup time for dynamically linked server binaries and shell</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 May 2020 17:05:18 +0000</created>
                <updated>Sun, 29 Oct 2023 22:08:04 +0000</updated>
                            <resolved>Mon, 15 Jun 2020 15:51:05 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3197665" author="xgen-internal-githook" created="Tue, 9 Jun 2020 17:37:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48272&quot; title=&quot;Reduce startup time for dynamically linked server binaries and shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48272&quot;&gt;&lt;del&gt;SERVER-48272&lt;/del&gt;&lt;/a&gt; Use of vector clock can be private to metadata&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/80884df534d2fb033c6ec60d0672f5c45395ec28&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/80884df534d2fb033c6ec60d0672f5c45395ec28&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3163375" author="xgen-internal-githook" created="Mon, 1 Jun 2020 23:51:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48272&quot; title=&quot;Reduce startup time for dynamically linked server binaries and shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48272&quot;&gt;&lt;del&gt;SERVER-48272&lt;/del&gt;&lt;/a&gt; wiredtiger library dependencies are private&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/30e4d258bf6fbb9229b6d2d945f9625695edac73&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/30e4d258bf6fbb9229b6d2d945f9625695edac73&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3123737" author="xgen-internal-githook" created="Wed, 27 May 2020 16:12:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48272&quot; title=&quot;Reduce startup time for dynamically linked server binaries and shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48272&quot;&gt;&lt;del&gt;SERVER-48272&lt;/del&gt;&lt;/a&gt; Reduce startup time for dynamically linked binaries&lt;/p&gt;

&lt;p&gt;Minimizing the list of NEEDED entries directly attached to the core&lt;br/&gt;
programs reduces startup time for dynamically linked binaries by&lt;br/&gt;
approximately 40 percent.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/17d9094752fec7dd29c9eedac9bd7cccb8cf8f6e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/17d9094752fec7dd29c9eedac9bd7cccb8cf8f6e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3123706" author="xgen-internal-githook" created="Wed, 27 May 2020 16:11:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48272&quot; title=&quot;Reduce startup time for dynamically linked server binaries and shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48272&quot;&gt;&lt;del&gt;SERVER-48272&lt;/del&gt;&lt;/a&gt; Reduce startup time for dynamically linked binaries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/a77628d80d57cc1b6237de9d673ed74c05e11ad2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/a77628d80d57cc1b6237de9d673ed74c05e11ad2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3098125" author="xgen-internal-githook" created="Wed, 20 May 2020 19:33:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;acm@mongodb.com&apos;, &apos;username&apos;: &apos;acmorrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48272&quot; title=&quot;Reduce startup time for dynamically linked server binaries and shell&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48272&quot;&gt;&lt;del&gt;SERVER-48272&lt;/del&gt;&lt;/a&gt; Rename generated mongo.cpp to mongojs.cpp&lt;/p&gt;

&lt;p&gt;Avoid a potential future collision when renaming shell.cpp to mongo.cpp&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/37b72d0c250401529ebe2f5929d2b03ec614e763&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/37b72d0c250401529ebe2f5929d2b03ec614e763&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3093270" author="william.schultz" created="Mon, 18 May 2020 17:29:56 +0000"  >&lt;p&gt;Sounds good. Thanks for making a note of it.&lt;/p&gt;</comment>
                            <comment id="3093057" author="william.schultz" created="Mon, 18 May 2020 17:13:49 +0000"  >&lt;p&gt;Just to add a note here, keeping an eye on the startup and total execution times in the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/dc0456d4c656c386e0f3a9c4c720b030cd4bd277/jstests/replsets/replsettest_control_1_node.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replsettest_control_1_node.js&lt;/a&gt; test and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/dc0456d4c656c386e0f3a9c4c720b030cd4bd277/jstests/replsets/replsettest_control_12_nodes.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replsettest_control_12_nodes.js&lt;/a&gt; would be a good metric to get a rough idea of how mongod startup times might be impacting test durations. We log how long it takes to complete the startup of nodes in the ReplSetTest &lt;a href=&quot;https://github.com/mongodb/mongo/blob/dc0456d4c656c386e0f3a9c4c720b030cd4bd277/src/mongo/shell/replsettest.js#L671-L672&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;, which is a duration that should be affected by mongod startup time.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1169500">SERVER-46296</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 May 2020 17:13:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 35 weeks, 1 day 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-847</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 35 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxlrdz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3910">Dev Platform 2020-06-01</customfieldvalue>
    <customfieldvalue id="3947">Dev Platform 2020-06-15</customfieldvalue>
    <customfieldvalue id="4006">Dev Platform 2020-06-29</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|hxldnb:</customfieldvalue>

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