<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Can you share the clients cpt configuration?<br>
<br>
$ lctl get_param cpu_partition_table cpu_partition_distance<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Chris Horn<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on behalf of Gwen Dawes via lustre-discuss &lt;lustre-discuss@lists.lustre.org&gt;<br>
<b>Date: </b>Wednesday, February 14, 2024 at 11:19 AM<br>
<b>To: </b>lustre-discuss@lists.lustre.org &lt;lustre-discuss@lists.lustre.org&gt;<br>
<b>Subject: </b>Re: [lustre-discuss] LNet Multi-Rail config<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">Hi Chris,<br>
<br>
Thanks for the pointers - apologies about kicking up an old thread, but<br>
I'm running out of ideas for how to solve this one.<br>
<br>
I switched everything out to 2.15.4 and carefully documented the build<br>
process, then turned one of my machines into a VM host with PCI<br>
passthrough to eliminate any NUMA issues and additional complexity.<br>
<br>
So now I have a much simpler layout - one client, multi-rail, four<br>
interfaces, with four servers (1 interface each), one of which put<br>
aside for coordinating lnet_selftest runs. Everything sees everything<br>
else as a Multi-Rail peer, with 1 interface for my servers and 4 for my<br>
client.<br>
<br>
My client has two CPTs set up - with the cards on each CPU set up into<br>
differing 'dev cpt' numbers - 0 and 1 - as per their bus.<br>
<br>
Running an lnet selftest of 'read', though (concurrency 32, simple<br>
check) - even with distribute 1:3 set, I always see exactly two<br>
interfaces in use. I can block them with net_drop_add which eventually<br>
forces the traffic off to the others, but it only ever seems to use two<br>
interfaces.<br>
<br>
Is this a bug with lnet_selftest? Some kind of non-network bottleneck?<br>
<br>
Am I misunderstanding CPTs?<br>
<br>
Gwen<br>
<br>
<br>
On Wed, 2024-01-17 at 17:53 +0000, Horn, Chris wrote:<br>
&gt; NRS only affects Lustre traffic, so it will not factor into<br>
&gt; lnet_selftest (LST) results.<br>
&gt; &nbsp;<br>
&gt; I gave some talks on troubleshooting multi-rail that you may want to<br>
&gt; review.<br>
&gt; Overview:<br>
&gt; <a href="https://youtu.be/j3m-mznUdac?feature=shared">https://youtu.be/j3m-mznUdac?feature=shared</a>
<br>
&gt; Demo:<br>
&gt; <a href="https://youtu.be/TLN56cw9Zgs?feature=shared">https://youtu.be/TLN56cw9Zgs?feature=shared</a>
<br>
&gt; &nbsp;<br>
&gt; You should probably start by verifying that the client and server see<br>
&gt; each other as multi-rail peers, and by checking the send and receive<br>
&gt; counts for each interface on your client and server to ensure that<br>
&gt; traffic is being spread across them.<br>
&gt; &nbsp;<br>
&gt; Chris Horn<br>
&gt; &nbsp;<br>
&gt; From:lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on<br>
&gt; behalf of Gwen Dawes via lustre-discuss<br>
&gt; &lt;lustre-discuss@lists.lustre.org&gt;<br>
&gt; Date: Wednesday, January 17, 2024 at 5:48 AM<br>
&gt; To: lustre-discuss@lists.lustre.org &lt;lustre-discuss@lists.lustre.org&gt;<br>
&gt; Subject: Re: [lustre-discuss] LNet Multi-Rail config - with BODY!<br>
&gt; Hi Andreas,<br>
&gt; <br>
&gt; Thanks for the pointer. I have a second server set up running 2.15.3<br>
&gt; as<br>
&gt; well specifically to check this, and can set it up with<br>
&gt; lnet_selftest,<br>
&gt; same as the client. After taking a bit to convince the fabric manager<br>
&gt; to accept the moved IPs, I get the exact same results between the<br>
&gt; two.<br>
&gt; <br>
&gt; Good to know that it is possible, though - I wonder what needs to be<br>
&gt; modified to achieve that. It's completely stock - the UDSP is just<br>
&gt; blank, and the default NRS config is in play.<br>
&gt; <br>
&gt; I don't suppose there's any chance the NRS config is what I'm<br>
&gt; missing?<br>
&gt; <br>
&gt; Gwen<br>
&gt; <br>
&gt; On Wed, 2024-01-17 at 03:14 +0000, Andreas Dilger wrote:<br>
&gt; &gt; Hello Gwen,<br>
&gt; &gt; I'm not a networking expert, but it seems entirely possible that<br>
&gt; &gt; the<br>
&gt; &gt; MR discovery in 2.12.9<br>
&gt; &gt; isn't doing as well as what is in 2.15.3 (or 2.15.4 for that<br>
&gt; &gt; matter).<br>
&gt; &gt; &nbsp;It would make more sense<br>
&gt; &gt; to have both nodes running the same (newer) version before digging<br>
&gt; &gt; too deeply into this.<br>
&gt; &gt; <br>
&gt; &gt; We have definitely seen performance &gt; 1 IB interface from a single<br>
&gt; &gt; node in our testing,<br>
&gt; &gt; though I can't say if that was done with lnet_selftest or with<br>
&gt; &gt; something else.<br>
&gt; &gt; <br>
&gt; &gt; Cheers, Andreas<br>
&gt; &gt; <br>
&gt; &gt; &gt; On Jan 16, 2024, at 08:14, Gwen Dawes via lustre-discuss<br>
&gt; &gt; &gt; &lt;lustre-discuss@lists.lustre.org&gt; wrote:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Hi folks,<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Let's try that again.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I'm in the luxury position of having four IB cards I'm trying to<br>
&gt; &gt; &gt; squeeze the most performance out of for Lustre I can.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I have a small test setup - two machines - a client (2.12.9) and<br>
&gt; &gt; &gt; a<br>
&gt; &gt; &gt; server (2.15.3) with four IB cards each. I'm able to set them up<br>
&gt; &gt; &gt; as<br>
&gt; &gt; &gt; Multi-Rail and each one can discover the other as such. However,<br>
&gt; &gt; &gt; I<br>
&gt; &gt; &gt; can't seem to get lnet_selftest to give me more speed than a<br>
&gt; &gt; &gt; single<br>
&gt; &gt; &gt; interface, as reported by ib_send_bw.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Am I missing some config here? Is LNet just not capable of doing<br>
&gt; &gt; &gt; more<br>
&gt; &gt; &gt; than one connection per NID?<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Gwen<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; lustre-discuss mailing list<br>
&gt; &gt; &gt; lustre-discuss@lists.lustre.org<br>
&gt; &gt; &gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
<br>
&gt; &gt; <br>
&gt; &gt; Cheers, Andreas<br>
&gt; &gt; --<br>
&gt; &gt; Andreas Dilger<br>
&gt; &gt; Lustre&nbsp;Principal Architect<br>
&gt; &gt; Whamcloud<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; lustre-discuss mailing list<br>
&gt; lustre-discuss@lists.lustre.org<br>
&gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
<o:p></o:p></p>
</div>
</div>
</body>
</html>