<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=utf-8">
<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",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">FYI, I have also created a patchsets with rebased TSO and MBuf patches on recent master.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It also contains some fixes to tests.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Please have a look at ovs-dev mailing list:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362528.html">https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362528.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">https://mail.openvswitch.org/pipermail/ovs-dev/2019-September/362544.html<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Michal Obrembski<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></a></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ovs-discuss-bounces@openvswitch.org [mailto:ovs-discuss-bounces@openvswitch.org]
<b>On Behalf Of </b>Harsh Gondaliya<br>
<b>Sent:</b> Sunday, September 8, 2019 4:59 AM<br>
<b>To:</b> Stokes, Ian <ian.stokes@intel.com><br>
<b>Cc:</b> Fanny Wakizaka <fanny.wakizaka@zpesystems.com>; ovs-discuss@openvswitch.org; Murali Veluru <murali.veluru@zpesystems.com><br>
<b>Subject:</b> Re: [ovs-discuss] TSO changes with OVS-DPDK for higher throughput<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Ian,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">In May this year, through mailing list you had sent me pointers to patches to enable Multi-Segment mbuf & TSO. Yes, the patches apply to the adb3f0b ("python: Avoid flake8 warning for unused variables.") commit. It took me some time to
figure out that DPDK 18.11.2 stable version needs to be used for this version of OvS code.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have just created a repository <a href="https://github.com/harshgondaliya/ovs-dpdk-with-tso">https://github.com/harshgondaliya/ovs-dpdk-with-tso</a> having a patched version of OvS code and the compatible DPDK package. It includes a
wiki that explains in detail <span style="font-size:10.5pt;font-family:"Arial",sans-serif">― </span>how to setup OvS-DPDK bridge, how to configure VMs to connect to OvS-DPDK bridge. It will help new users like me to get started quickly with using OvS-DPDK
for Inter-VM communication.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks. Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Harsh Gondaliya<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jun 25, 2019 at 6:22 PM Ian Stokes <<a href="mailto:ian.stokes@intel.com">ian.stokes@intel.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On 6/25/2019 12:30 PM, Murali Veluru wrote:<br>
> Thank Ian Stokes,<br>
> <br>
> It is very helpful for us. I was trying to apply these patches on <br>
> openvswitch-2.11.1 repository, it was failing.<br>
> <br>
> Some of the files are not found.<br>
> <br>
> Could you, please let me know suitable version of ovs, where these <br>
> patches will get apply successfully.<br>
<br>
Hi Murali,<br>
<br>
the commit these patches can be applied to are listed in the cover <br>
letter for the patchsets.<br>
<br>
I believe you want to check out the following commit from the ovs master <br>
branch (this commit was pre 2.11 release)<br>
<br>
adb3f0b ("python: Avoid flake8 warning for unused variables.")<br>
<br>
You should then be able to apply the mutliseg patchset on top of this <br>
commit (Multiseg is a pre-requirement for enabling TSO, see link below)<br>
<br>
<a href="https://patchwork.ozlabs.org/project/openvswitch/list/?series=85802&state=*" target="_blank">https://patchwork.ozlabs.org/project/openvswitch/list/?series=85802&state=*</a><br>
<br>
Once these are applied you should be able to apply the TSO enablement <br>
patchset then (see link below).<br>
<br>
<a href="https://patchwork.ozlabs.org/project/openvswitch/list/?series=85807&state=*" target="_blank">https://patchwork.ozlabs.org/project/openvswitch/list/?series=85807&state=*</a><br>
<br>
When using the commit as outlined above do these apply for you?<br>
<br>
Regards<br>
Ian<br>
> <br>
> Along with which version of DPDK need to use for compilation?<br>
> <br>
> Regards<br>
> <br>
> Murali<br>
> <br>
> ------------------------------------------------------------------------<br>
> *From:* Ian Stokes <<a href="mailto:ian.stokes@intel.com" target="_blank">ian.stokes@intel.com</a>><br>
> *Sent:* Monday, June 24, 2019 10:56:34 PM<br>
> *To:* Murali Veluru; <a href="mailto:ovs-discuss@openvswitch.org" target="_blank">
ovs-discuss@openvswitch.org</a><br>
> *Subject:* Re: [ovs-discuss] TSO changes with OVS-DPDK for higher <br>
> throughput<br>
> On 6/24/2019 1:03 PM, Murali Veluru wrote:<br>
>> Hi All,<br>
>> <br>
>> I am testing ovs-dpdk performance test with the help of IPERF.<br>
>> <br>
>> I created VM using qemu command.<br>
>> <br>
>> I assigned IP 10.0.1.16 to VM and other device IP is 10.0.1.18 (Dev2). I <br>
>> am able to ping and able to run IPERF.<br>
>> <br>
>> It is giving average output ~3.5G form VM to DEV2 on 10G physical <br>
>> interface. form DEV2 to VM it is 5.7G throughput.<br>
>> <br>
>> I used below version.<br>
>> <br>
>> DPDK: dpdk-18.11.1.tar.xz<br>
>> <br>
>> OVS: openvswitch-2.11.1<br>
>> <br>
>> From Intel document I found TSO changes but it was for 2.6 version. <br>
>> somehow I managed to apply on openvswitch-2.11.1 file.<br>
>> <br>
>> With TSO disable I am able to do ssh other IP address of DEV2. After <br>
>> enable TSO with the help of qemu command IPERF and SSH is getting hanged.<br>
>> <br>
>> <a href="https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350834.html" target="_blank">
https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350834.html</a><br>
>> <br>
>> Is openvswitch-2.11.1 supports TSO enable by default?<br>
> <br>
> Hi,<br>
> <br>
> TSO is not available in OVS 2.11. There were patches submitted for that<br>
> release but unfortunately it did not make it upstream due to some<br>
> regression performance concerns for non TSO usecases. Intel is currently<br>
> planning to review rework the patchset to address the issues and will be<br>
> releasing a new patchset in the coming months.<br>
> <br>
> In the mean time if you wish to test TSO with the previous patchset that<br>
> was available you can follow the mails and patches outlined in the<br>
> following link (it was related to a similar question)<br>
> <br>
> <a href="https://mail.openvswitch.org/pipermail/ovs-discuss/2019-May/048671.html" target="_blank">
https://mail.openvswitch.org/pipermail/ovs-discuss/2019-May/048671.html</a><br>
> <br>
> It's complete with documentation on setup and usage so should be able to<br>
> get you going.<br>
> <br>
> Regards<br>
> Ian<br>
>> <br>
>> Is any patch availble for openvswitch-2.11.1 for TSO changes?<br>
>> <br>
>> Is qemu related changes are required for TSO enable?<br>
>> <br>
>> I used below changes using qemu command.<br>
>> <br>
>> csum=on,gso=on,host_tso4=on,host_tso6=on,host_ecn=on,host_ufo=on,guest_tso4=on,guest_csum=on,guest_tso6=on,guest_ecn=on,guest_ufo=on<br>
>> <br>
>> Thaks lot.<br>
>> <br>
>> Regards<br>
>> <br>
>> Murali<br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> discuss mailing list<br>
>> <a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
>> <a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" target="_blank">
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br>
>> <br>
> <br>
<br>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>