<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=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<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;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.m-638019549437080976gmail-apple-tab-span
        {mso-style-name:m_-638019549437080976gmail-apple-tab-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">&lt;ovs-discuss-bounces@openvswitch.org&gt; on behalf of Hui Xiang &lt;xianghuir@gmail.com&gt;<br>
<b>Date: </b>Saturday, June 10, 2017 at 9:06 PM<br>
<b>To: </b>&quot;ovs-discuss@openvswitch.org&quot; &lt;ovs-discuss@openvswitch.org&gt;<br>
<b>Subject: </b>[ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Hi guys, <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">&nbsp; I got below results on my environment, but confusing with the cycles percents, it looks like the polling plus processing cycles per pmd is 100%, but as I recalled there are some improvment document that showed
 their processing cycles are 100% percents which means 0 for polling cycles? how should be the rate of polling and processing cycles take? should it be better for less polling and much processing for performance's benefits?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">“polling” is checking for packets, but there are none to process.
<o:p></o:p></p>
<p class="MsoNormal">input more packets -&gt; higher “processing” percentage.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">pmd thread numa_id 1 core_id 27:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">emc hits:141332792126<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">megaflow hits:263<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">avg. subtable lookups per hit:1.00<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">miss:59<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">lost:0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">polling cycles:19832152639760 (12.60%)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">processing cycles:137517517407771 (87.40%)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">avg cycles per packet: 1113.33 (157349670047531/141332792711)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">avg processing cycles per packet: 973.01 (137517517407771/141332792711)<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanks a lot.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">BR.<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>