[ovs-discuss] TSO changes with OVS-DPDK for higher throughput

Ian Stokes ian.stokes at intel.com
Tue Jun 25 12:52:18 UTC 2019


On 6/25/2019 12:30 PM, Murali Veluru wrote:
> Thank Ian Stokes,
> 
> It is very helpful for us. I was trying to apply these patches on 
> openvswitch-2.11.1 repository, it was failing.
> 
> Some of the files are not found.
> 
> Could you, please let me know suitable version of ovs, where these 
> patches will get apply successfully.

Hi Murali,

the commit these patches can be applied to are listed in the cover 
letter for the patchsets.

I believe you want to check out the following commit from the ovs master 
branch (this commit was pre 2.11 release)

adb3f0b ("python: Avoid flake8 warning for unused variables.")

You should then be able to apply the mutliseg patchset on top of this 
commit (Multiseg is a pre-requirement for enabling TSO, see link below)

https://patchwork.ozlabs.org/project/openvswitch/list/?series=85802&state=*

Once these are applied you should be able to apply the TSO enablement 
patchset then (see link below).

https://patchwork.ozlabs.org/project/openvswitch/list/?series=85807&state=*

When using the commit as outlined above do these apply for you?

Regards
Ian
> 
> Along with which  version of DPDK need to use for compilation?
> 
> Regards
> 
> Murali
> 
> ------------------------------------------------------------------------
> *From:* Ian Stokes <ian.stokes at intel.com>
> *Sent:* Monday, June 24, 2019 10:56:34 PM
> *To:* Murali Veluru; ovs-discuss at openvswitch.org
> *Subject:* Re: [ovs-discuss] TSO changes with OVS-DPDK for higher 
> throughput
> On 6/24/2019 1:03 PM, Murali Veluru wrote:
>> Hi All,
>> 
>> I am testing ovs-dpdk performance test with the help of IPERF.
>> 
>> I created VM using qemu command.
>> 
>> I assigned IP 10.0.1.16 to VM and other device IP is 10.0.1.18 (Dev2). I 
>> am able to ping and able to run IPERF.
>> 
>> It is giving average output ~3.5G form VM to DEV2 on 10G physical 
>> interface. form DEV2 to VM it is 5.7G throughput.
>> 
>> I used below version.
>> 
>> DPDK: dpdk-18.11.1.tar.xz
>> 
>> OVS: openvswitch-2.11.1
>> 
>>  From Intel document I found TSO changes but it was for 2.6 version. 
>> somehow I managed to apply on openvswitch-2.11.1 file.
>> 
>> With TSO disable I am able to do ssh other IP address of DEV2. After 
>> enable TSO with the help of qemu command IPERF and SSH is getting hanged.
>> 
>> https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/350834.html
>> 
>> Is openvswitch-2.11.1 supports TSO enable by default?
> 
> Hi,
> 
> TSO is not available in OVS 2.11. There were patches submitted for that
> release but unfortunately it did not make it upstream due to some
> regression performance concerns for non TSO usecases. Intel is currently
> planning to review rework the patchset to address the issues and will be
> releasing a new patchset in the coming months.
> 
> In the mean time if you wish to test TSO with the previous patchset that
> was available you can follow the mails and patches outlined in the
> following link (it was related to a similar question)
> 
> https://mail.openvswitch.org/pipermail/ovs-discuss/2019-May/048671.html
> 
> It's complete with documentation on setup and usage so should be able to
> get you going.
> 
> Regards
> Ian
>> 
>> Is any patch availble for openvswitch-2.11.1 for TSO changes?
>> 
>> Is qemu related changes are required for TSO enable?
>> 
>> I used below changes using qemu command.
>> 
>> 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
>> 
>> Thaks lot.
>> 
>> Regards
>> 
>> Murali
>> 
>> 
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>> 
> 



More information about the discuss mailing list