OVS DPDK Performance

This is a multi-part message in MIME format. --------------BDE85DB92A8FD76EF257B82B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello As some may have seen recently OVS DPDK has been introduced to oVirt (https://ovirt.org/blog/2017/09/ovs-dpdk/). This is very interesting feature which can make a huge performance difference in terms of network performance. Just wanted to ask if anyone has tested it in any environment and made any comparison, specially for packet forward (e.g: running Virtual Routers or Virtual Firewalls with virtio) or packet dropping as well. One doubt I have and if someone could clarify is: Should I enable DPDK in the Host any traffic forwarded to any VMs will automatically benefit from this performance gain of DPDK or there additional steps that need to be put in place inside the VM when sharing a physical Network Interface ? Thanks Fernando --------------BDE85DB92A8FD76EF257B82B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="arial, helvetica, sans-serif">Hello<br> <br> As some may have seen recently OVS DPDK has been introduced to oVirt (<a class="moz-txt-link-freetext" href="https://ovirt.org/blog/2017/09/ovs-dpdk/">https://ovirt.org/blog/2017/09/ovs-dpdk/</a>). This is very interesting feature which can make a huge performance difference in terms of network performance.<br> <br> Just wanted to ask if anyone has tested it in any environment and made any comparison, specially for packet forward (e.g: running Virtual Routers or Virtual Firewalls with virtio) or packet dropping as well.<br> <br> One doubt I have and if someone could clarify is: Should I enable DPDK in the Host any traffic forwarded to any VMs will automatically benefit from this performance gain of DPDK or there additional steps that need to be put in place inside the VM when sharing a physical Network Interface ?<br> <br> Thanks<br> Fernando<br> </font> </body> </html> --------------BDE85DB92A8FD76EF257B82B--

Hi Fernando, On Mon, Nov 27, 2017 at 9:25 PM, FERNANDO FREDIANI < fernando.frediani@upx.com> wrote:
Hello
As some may have seen recently OVS DPDK has been introduced to oVirt ( https://ovirt.org/blog/2017/09/ovs-dpdk/). This is very interesting feature which can make a huge performance difference in terms of network performance.
Just wanted to ask if anyone has tested it in any environment and made any comparison, specially for packet forward (e.g: running Virtual Routers or Virtual Firewalls with virtio) or packet dropping as well.
You can see Intel OVS DPDK performance results compared to OVS native in https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Perf... Performance results of OVS DPDK in oVirt setup will be published soon.
One doubt I have and if someone could clarify is: Should I enable DPDK in the Host any traffic forwarded to any VMs will automatically benefit from this performance gain of DPDK or there additional steps that need to be put in place inside the VM when sharing a physical Network Interface ?
Enabling DPDK is not enough. Since it's tightly coupled to system hardware a few steps are needed in order to achieve good performance results. For example: disabling interrupts, enabling hugepages, isolating CPU cores, allocating them to PMD threads and pinning vcpus. More information can be found here: http://docs.openvswitch.org/en/latest/intro/install/dpdk/ http://dpdk.org/doc/guides-16.04/linux_gsg/nic_perf_intel_platform.html
Thanks Fernando
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- IRIT GOIHMAN SOFTWARE ENGINEER EMEA VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> @redhatnews <https://twitter.com/redhatnews> Red Hat <https://www.linkedin.com/company/red-hat> Red Hat <https://www.facebook.com/RedHatInc>

This is a multi-part message in MIME format. --------------6B52B0FB93B70F51491843B4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Yes Irit, but you say in the Host side that has the OVS which is connected to the VMs. Or are there any further steps to be done also on the VMs in certain cases. In short it would be interesting if you don't have to do much inside the VM, only in the host to have some performance improvment gains. Do you think that is feasible ? Fernando On 28/11/2017 06:12, Irit Goihman wrote:
Hi Fernando,
On Mon, Nov 27, 2017 at 9:25 PM, FERNANDO FREDIANI <fernando.frediani@upx.com <mailto:fernando.frediani@upx.com>> wrote:
Hello
As some may have seen recently OVS DPDK has been introduced to oVirt (https://ovirt.org/blog/2017/09/ovs-dpdk/ <https://ovirt.org/blog/2017/09/ovs-dpdk/>). This is very interesting feature which can make a huge performance difference in terms of network performance.
Just wanted to ask if anyone has tested it in any environment and made any comparison, specially for packet forward (e.g: running Virtual Routers or Virtual Firewalls with virtio) or packet dropping as well.
You can see Intel OVS DPDK performance results compared to OVS native in https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Perf...
Performance results of OVS DPDK in oVirt setup will be published soon.
One doubt I have and if someone could clarify is: Should I enable DPDK in the Host any traffic forwarded to any VMs will automatically benefit from this performance gain of DPDK or there additional steps that need to be put in place inside the VM when sharing a physical Network Interface ?
Enabling DPDK is not enough. Since it's tightly coupled to system hardware a few steps are needed in order to achieve good performance results. For example: disabling interrupts, enabling hugepages, isolating CPU cores, allocating them to PMD threads and pinning vcpus.
More information can be found here: http://docs.openvswitch.org/en/latest/intro/install/dpdk/ http://dpdk.org/doc/guides-16.04/linux_gsg/nic_perf_intel_platform.html
Thanks Fernando
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--
IRIT GOIHMAN
SOFTWARE ENGINEER
EMEA VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
@redhatnews <https://twitter.com/redhatnews> Red Hat <https://www.linkedin.com/company/red-hat> Red Hat <https://www.facebook.com/RedHatInc>
--------------6B52B0FB93B70F51491843B4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Yes Irit, but you say in the Host side that has the OVS which is connected to the VMs. Or are there any further steps to be done also on the VMs in certain cases. In short it would be interesting if you don't have to do much inside the VM, only in the host to have some performance improvment gains. Do you think that is feasible ?<br> </p> <p>Fernando<br> </p> <br> <div class="moz-cite-prefix">On 28/11/2017 06:12, Irit Goihman wrote:<br> </div> <blockquote type="cite" cite="mid:CAA=i7HOhcsAO8DCzjpuKcyQn8Vw75BaLS2oi_rsDk_v+HgNLUg@mail.gmail.com"> <div dir="ltr">Hi Fernando,<br> <div class="gmail_extra"><br> <div class="gmail_quote">On Mon, Nov 27, 2017 at 9:25 PM, FERNANDO FREDIANI <span dir="ltr"><<a href="mailto:fernando.frediani@upx.com" target="_blank" moz-do-not-send="true">fernando.frediani@upx.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF"> <font face="arial, helvetica, sans-serif">Hello<br> <br> As some may have seen recently OVS DPDK has been introduced to oVirt (<a class="gmail-m_4050765780074698563moz-txt-link-freetext" href="https://ovirt.org/blog/2017/09/ovs-dpdk/" target="_blank" moz-do-not-send="true">https://ovirt.org/blog/2017/<wbr>09/ovs-dpdk/</a>). This is very interesting feature which can make a huge performance difference in terms of network performance.<br> <br> Just wanted to ask if anyone has tested it in any environment and made any comparison, specially for packet forward (e.g: running Virtual Routers or Virtual Firewalls with virtio) or packet dropping as well.</font></div> </blockquote> <div><br> </div> <div>You can see Intel OVS DPDK performance results compared to OVS native in <a href="https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Perf..." moz-do-not-send="true">https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Performance_Test_Report_Rev1.0.pdf</a></div> <div><br> </div> <div>Performance results of OVS DPDK in oVirt setup will be published soon.</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF"><br> <font face="arial, helvetica, sans-serif"> One doubt I have and if someone could clarify is: Should I enable DPDK in the Host any traffic forwarded to any VMs will automatically benefit from this performance gain of DPDK or there additional steps that need to be put in place inside the VM when sharing a physical Network Interface ?</font></div> </blockquote> <div><br> </div> <div>Enabling DPDK is not enough. Since it's tightly coupled to system hardware a few steps are needed in order to achieve good performance results. For example: disabling interrupts, enabling hugepages, isolating CPU cores, allocating them to PMD threads and pinning vcpus.</div> <div><br> </div> <div>More information can be found here:</div> <div><a href="http://docs.openvswitch.org/en/latest/intro/install/dpdk/" moz-do-not-send="true">http://docs.openvswitch.org/en/latest/intro/install/dpdk/<br> </a></div> <div><a href="http://dpdk.org/doc/guides-16.04/linux_gsg/nic_perf_intel_platform.html" moz-do-not-send="true">http://dpdk.org/doc/guides-16.04/linux_gsg/nic_perf_intel_platform.html<br> </a></div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF"><br> <br> <font face="arial, helvetica, sans-serif"> Thanks</font><span class="gmail-HOEnZb" style="font-family:arial,helvetica,sans-serif"><font color="#888888"><br> Fernando<br> </font></span> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" moz-do-not-send="true">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> <br clear="all"> <div><br> </div> -- <br> <div class="gmail_signature"> <div dir="ltr"> <div> <div dir="ltr"> <p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>IRIT</span> <span>GOIHMAN</span></p> <p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER</span></p> <p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>EMEA VIRTUALIZATION R&D</span></p> <p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank" moz-do-not-send="true">Red Hat <span>EMEA</span></a></p> <table style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium" border="0"> <tbody> <tr> <td width="100px"><a href="https://red.ht/sig" target="_blank" moz-do-not-send="true"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" moz-do-not-send="true" height="auto" width="90"></a></td> <td style="font-size:10px"> <div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank" moz-do-not-send="true">TRIED. TESTED. TRUSTED.</a></div> </td> </tr> </tbody> </table> <div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"> <div style="color:rgb(153,153,153)"><a href="https://twitter.com/redhatnews" title="twitter" style="background-image:url("https://www.redhat.com/files/brand/email/sm-twitter.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank" moz-do-not-send="true">@redhatnews</a> <a href="https://www.linkedin.com/company/red-hat" title="LinkedIn" style="background-image:url("https://www.redhat.com/files/brand/email/sm-linkedin.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank" moz-do-not-send="true">Red Hat</a> <a href="https://www.facebook.com/RedHatInc" title="Facebook" style="background-image:url("https://www.redhat.com/files/brand/email/sm-facebook.png");background-position:0px 50%;background-size:16px;background-repeat:no-repeat;background-origin:initial;background-clip:initial;background-color:transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank" moz-do-not-send="true">Red Hat</a></div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> </body> </html> --------------6B52B0FB93B70F51491843B4--
participants (2)
-
FERNANDO FREDIANI
-
Irit Goihman