Bug 1438517 - MTU setting on DPDK bonds
Summary: MTU setting on DPDK bonds
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch-dpdk
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Aaron Conole
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-03 15:38 UTC by Karthik Sundaravel
Modified: 2022-08-09 14:06 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-17 19:52:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NFV-2271 0 None None None 2021-09-09 12:16:41 UTC
Red Hat Issue Tracker OSP-8570 0 None None None 2022-08-09 14:06:38 UTC

Description Karthik Sundaravel 2017-04-03 15:38:36 UTC
Regarding jumbo frame support in DPDK ports and bonds, I need some clarity.

IIUC, for DPDK ports the MTU configuration is applied on the interface only. And it is not required to specify the mtu on the DPDK bridge. 

  ovs-vsctl add-port br-link dpdk0 -- set Interface dpdk0 type=dpdk -- set Interface dpdk0 mtu_request=9000

Please correct if my understanding is wrong.

When we create the DPDK Bond with below command, it is not clear on where and how to set the MTU value. Should we set the MTU value on both the interfaces dpdk0 and dpdk1 or we need it on bond?

  ovs-vsctl add-bond br-link dpdkbond0 dpdk0 dpdk1 -- set Interface dpdk0 type=dpdk -- set Interface dpdk1 type=dpdk

Comment 1 Vijay Chundury 2017-04-24 11:29:23 UTC
Karthik,
I think you should have a chat with the OVS team/Andrew and talk to them about handling mergeable buffers, keeping into context of when to turn-on/off of this feature when introducing the Jumbo setting.
It is learnt that QEMU mergeable buffers when turned off would bump up the perf numbers positively (recommended by OVS-DPDK community).
Ensure you get a clarity on end to end setting required for this feature from the installer perspective (HA as well).


Regards
Vijay

Comment 3 Aaron Conole 2017-05-17 18:32:59 UTC
(In reply to Karthik Sundaravel from comment #0)
> Regarding jumbo frame support in DPDK ports and bonds, I need some clarity.
> 
> IIUC, for DPDK ports the MTU configuration is applied on the interface only.
> And it is not required to specify the mtu on the DPDK bridge. 
> 
>   ovs-vsctl add-port br-link dpdk0 -- set Interface dpdk0 type=dpdk -- set
> Interface dpdk0 mtu_request=9000

This is correct.  OvS 'bridges' aren't the same as a linux bridge.  There's no concept of a datapath-wide mtu.

> When we create the DPDK Bond with below command, it is not clear on where
> and how to set the MTU value. Should we set the MTU value on both the
> interfaces dpdk0 and dpdk1 or we need it on bond?
> 
>   ovs-vsctl add-bond br-link dpdkbond0 dpdk0 dpdk1 -- set Interface dpdk0
> type=dpdk -- set Interface dpdk1 type=dpdk

You will need to set the MTU on all the interfaces to match, yes.

Comment 5 Karthik Sundaravel 2017-05-17 19:52:55 UTC
Thank Aaron.


Note You need to log in before you can comment on or make changes to this bug.