<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:29 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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-11163] CPT-bound allocations can fail if NUMA node is OOM</title>
                <link>https://jira.whamcloud.com/browse/LU-11163</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With a simple tcp/socklnd configuration there are memory allocation failures even for very small (sub-PAGE_SIZE allocations):&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[oss00 ~]# modprobe lustre -v
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/extra/libcfs.ko
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/extra/lnet.ko networks=tcp0(ens801)
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/extra/obdclass.ko
insmod /lib/modules/3.10.0-693.11.1.el7.x86_64/extra/ptlrpc.ko
modprobe: ERROR: could not insert &apos;lustre&apos;: Cannot allocate memory
[oss00 ~]# dmesg
[ 998.653695] libcfs: loading out-of-tree module taints kernel.
[ 998.654085] libcfs: module verification failed: signature and/or required key missing - tainting kernel
[ 998.658330] LNet: HW NUMA nodes: 2, HW CPU cores: 28, npartitions: 2
[ 998.660558] alg: No test for adler32 (adler32-zlib)
[ 998.660606] alg: No test for crc32 (crc32-table)
[ 999.418205] Lustre: Lustre: Build Version: 2.10.1
[ 999.447239] LNet: Added LNI 192.168.99.3@tcp [8/256/0/180]
[ 999.447295] LNet: Accept secure, port 988
[ 999.448457] SLUB: Unable to allocate memory on node 1 (gfp=0x8050)
[ 999.448460] cache: kmalloc-192, object size: 192, buffer size: 192, default order: 1, min order: 0
[ 999.448500] node 0: slabs: 597, objs: 25074, free: 8257
[ 1001.448048] Lustre: 150394:0:(ptlrpcd.c:640:ptlrpcd_stop()) Thread for pc ffff880074f00018 was not started
[ 1001.448066] Lustre: 150394:0:(ptlrpcd.c:659:ptlrpcd_free()) Thread for pc ffff880074f00018 was not started
[ 1003.446986] LustreError: 150394:0:(events.c:631:ptlrpc_init_portals()) rpcd initialisation failed
[ 1004.446991] LNet: Removed LNI 192.168.99.3@tcp 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This can happen if there are two NUMA nodes, but only one of them has memory:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[oss01 tmp]# numactl -H
available: 2 nodes (0-1)
node 0 cpus: 0 1 2 3 4 5 6 7
node 0 size: 32671 MB
node 0 free: 30820 MB
node 1 cpus: 8 9 10 11 12 13 14 15
node 1 size: 0 MB
node 1 free: 0 MB
node distances:
node 0 1
{{ 0: 10 20}}
{{ 1: 20 10}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;but can also happen during normal operations if there is a significant imbalance in allocations between the nodes (e.g. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5050&quot; title=&quot;cpu partitioning oddities&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5050&quot;&gt;&lt;del&gt;LU-5050&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="52781">LU-11163</key>
            <summary>CPT-bound allocations can fail if NUMA node is OOM</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Sat, 21 Jul 2018 04:56:13 +0000</created>
                <updated>Fri, 2 Nov 2018 10:54:27 +0000</updated>
                            <resolved>Fri, 2 Nov 2018 10:54:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="230692" author="gerrit" created="Sat, 21 Jul 2018 05:21:10 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32848&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32848&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11163&quot; title=&quot;CPT-bound allocations can fail if NUMA node is OOM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11163&quot;&gt;&lt;del&gt;LU-11163&lt;/del&gt;&lt;/a&gt; libcfs: fix CPT NUMA memory failures&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6f974a9772990e2532fa15b5f7cd60e836336550&lt;/p&gt;</comment>
                            <comment id="236206" author="gerrit" created="Fri, 2 Nov 2018 07:17:43 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32848/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32848/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11163&quot; title=&quot;CPT-bound allocations can fail if NUMA node is OOM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11163&quot;&gt;&lt;del&gt;LU-11163&lt;/del&gt;&lt;/a&gt; libcfs: fix CPT NUMA memory failures&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1ca7f6329833d551f69fd8aec29b66845bedb0c9&lt;/p&gt;</comment>
                            <comment id="236227" author="pjones" created="Fri, 2 Nov 2018 10:54:27 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33696">LU-7553</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24686">LU-5050</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzzjj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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