<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#467886;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1465149916;
        mso-list-template-ids:-448465274;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<p style="font-family:Calibri;font-size:10pt;color:#0000FF;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
AMD General<br>
</p>
<br>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-IN">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">During performance validation of DPDK 26.11-RC3, we observed a reproducible throughput regression in the crypto_aesni_mb PMD when it is built against Intel IPsec Multi-Buffer 3.0.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">The issue was reproduced on both AMD EPYC and Intel Xeon platforms. This indicates that the behaviour is not specific to one CPU vendor or platform.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-IN"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-IN">Summary<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-IN"><o:p> </o:p></span></b></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">DPDK 26.11 with IPsec-MB 2.0/2.0.1 performs close to our established baseline.<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">With the DPDK version and test configuration held constant, changing to IPsec-MB 3.0 results in lower throughput.<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">The regression is most visible at small buffer sizes, especially 64 bytes. <o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">The impact reduces as the buffer size increases.<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">The behaviour is reproducible across multiple runs and several AES-CBC and AES-CTR workloads.<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-IN">We did not observe failed enqueue or dequeue operations or functional failures.<o:p></o:p></span></li></ul>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">In the representative 64-byte cases examined, the throughput reduction was approximately 4% to 7%, depending on the processor and workload. Some configurations in the broader validation matrix showed larger deviations.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Initial profiling indicates that most of the additional cost is in the DPDK PMD dequeue job-setup path, particularly around set_mb_job_params(). The IPsec-MB crypto execution itself accounts for a smaller part of the
 measured increase.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">We have not yet determined whether the appropriate fix belongs in the DPDK PMD implementation, the IPsec-MB 3.0 integration interface, compiler-sensitive code organization, or a combination of these.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Interim recommendation<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Users who depend on crypto_aesni_mb performance, particularly for small-buffer AES workloads, may want to evaluate IPsec-MB 3.0 against their workloads before upgrading. Where IPsec-MB 3.0 functionality is not required, retaining IPsec-MB
 2.0/2.0.1 may be a temporary workaround.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We can provide the exact reproduction commands, software revisions, compiler configuration, and representative performance and profiling data to the relevant maintainers.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A DPDK Bugzilla issue has been opened to track the investigation and supporting results:
<a href="https://bugs.dpdk.org/show_bug.cgi?id=2166" target="_blank" title="https://bugs.dpdk.org/show_bug.cgi?id=2166">
Bug 2166</a>.<span lang="EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone else observed similar behavior with DPDK 26.11 and IPsec-MB 3.0?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span style="font-family:"Calibri",sans-serif;color:#242424">Thanks & Regards,</span></b><b><span style="font-family:"Calibri",sans-serif"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><b><span style="font-family:"Calibri",sans-serif;color:black">Johnathen.P</span></b><span style="font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-family:"Calibri",sans-serif;color:#242424">Project Manager</span></b><span style="font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-family:"Calibri",sans-serif;color:#242424">Ph:+91 8056224784<o:p></o:p></span></b></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif;color:black"><img border="0" width="66" height="36" style="width:.6833in;height:.375in" id="Picture_x0020_1" src="cid:image001.png@01DD8275.BFDA6B50" alt="AMD logo"></span><span style="font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;color:#242424"><a href="mailto:Johnathen.P@amd.com"><span style="color:#467886">Johnathen.P@amd.com</span></a></span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>