<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:05:33 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-44282] Set NUMAPolicy in systemd unit</title>
                <link>https://jira.mongodb.org/browse/SERVER-44282</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The legacy init scripts for mongod set the memory policy to interleave &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3574&quot; title=&quot;add numactl to init scripts &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3574&quot;&gt;&lt;del&gt;SERVER-3574&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
However the systemd units do not.&lt;/p&gt;

&lt;p&gt;New versions of systemd support the &lt;tt&gt;NUMAPolicy=interleave&lt;/tt&gt; directive. &lt;a href=&quot;https://www.freedesktop.org/software/systemd/man/systemd.exec.html#NUMAPolicy=&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.freedesktop.org/software/systemd/man/systemd.exec.html#NUMAPolicy=&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Adding this configuration would minimize the differences between the init scripts and systemd unit files.&lt;/p&gt;</description>
                <environment>Linux Systemd</environment>
        <key id="981201">SERVER-44282</key>
            <summary>Set NUMAPolicy in systemd unit</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-devplatform">[DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP)</assignee>
                                    <reporter username="kevin.arhelger@mongodb.com">Kevin Arhelger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Oct 2019 17:55:09 +0000</created>
                <updated>Fri, 27 Oct 2023 17:21:17 +0000</updated>
                            <resolved>Fri, 27 Oct 2023 17:21:16 +0000</resolved>
                                    <version>4.2.1</version>
                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="3386234" author="ryan.egesdahl" created="Thu, 10 Sep 2020 20:08:33 +0000"  >&lt;p&gt;It looks like our requested change has been merged, and now we are waiting it to be added to one or more releases. It&apos;s probably going to be a while before that happens.&lt;/p&gt;</comment>
                            <comment id="2562163" author="mathew.robinson" created="Fri, 22 Nov 2019 16:49:28 +0000"  >&lt;p&gt;So after testing this on a NUMA system we&apos;ve discovered a few things:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The NUMAMask variable is also required to be set for NUMAPolicy=interleave.&lt;/li&gt;
	&lt;li&gt;The NUMAMask must be a list or range of nodes, there is no shortcut &quot;all&quot; value&lt;/li&gt;
	&lt;li&gt;Upstream  &lt;a href=&quot;https://lists.freedesktop.org/archives/systemd-devel/2019-November/043743.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;recommends that the System Administrator of the NUMA system set these values not service authors&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;We have &lt;a href=&quot;https://github.com/systemd/systemd/issues/14113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;requested that a NUMAMask rvalue be added that is the equivalent to interleave=all&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Until the above linked Github issue is completed anything we we shipped w/regards to NUMAMask would either be incorrect or a hack. Given how sensitive these service files are and how spectacularly they can fail in a very user-facing way we&apos;re going to wait to add these until the RFE is completed. Until then, and if the RFE is rejected, &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13235&quot; title=&quot;Investigate changes in SERVER-44282: Set NUMAPolicy in systemd unit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13235&quot;&gt;&lt;del&gt;DOCS-13235&lt;/del&gt;&lt;/a&gt; will be the &quot;fix&quot; for NUMA and our SystemD service files.&lt;/p&gt;</comment>
                            <comment id="2554156" author="mathew.robinson" created="Wed, 20 Nov 2019 17:59:00 +0000"  >&lt;p&gt;I&apos;m going to add this directive to the service files. It seems older SystemD (at least version 237) will just ignore this directive. We&apos;ll know that it works with the rest of the versions we support when the package tests run on master.&lt;/p&gt;

&lt;p&gt;I&apos;m also going to open a DOCS ticket to add instructions for how to modify our SystemD file to use numactl on systems which don&apos;t have SystemD 243.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1015982">DOCS-13235</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25130"><![CDATA[Server Development Platform]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000hvU1YQAU]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 20 Nov 2019 17:56:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 21 weeks, 6 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>We need to create some documentation that explains how to properly modify our SystemD service file to include numactl for systems using NUMA. The original SysV init scripts used to do this but very few customers, if any, are still using those as most Linux distros have phased that out in favor of SystemD.&lt;br/&gt;
&lt;br/&gt;
The steps required are as follows:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;- copy /lib/systemd/system/mongod.service to /etc/systemd/system/mongod.service&lt;br/&gt;
&amp;nbsp;&amp;nbsp;- modify /etc/systemd/system/mongod.service such that the line &amp;quot;ExecStart=/usr/bin/mongod --config /etc/mongod.conf&amp;quot; is now &amp;quot;ExecStart=/usr/bin/numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;- run `systemctl stop mongod`&lt;br/&gt;
&amp;nbsp;&amp;nbsp;- run `systemctl daemon-reload`&lt;br/&gt;
&amp;nbsp;&amp;nbsp;- run `systemctl start mongod`&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure if the path to numactl is exactly correct (/usr/bin/numactl) or what the normal path for it is. That&amp;#39;s just an educated guess as I don&amp;#39;t have access to a NUMA enabled system.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DEVPROD-264</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>iryna.zhuravlova@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 21 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-devplatform</customfieldvalue>
            <customfieldvalue>kevin.arhelger@mongodb.com</customfieldvalue>
            <customfieldvalue>mathew.robinson@mongodb.com</customfieldvalue>
            <customfieldvalue>ryan.egesdahl@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvza2f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9iyf:</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_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></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|hvywbr:</customfieldvalue>

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