Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1632406

Summary: [RFE]OVS-DPDK traffic shaping and QoS with min bandwidth
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Anita Tragler <atragler>
Component: openvswitch2.13Assignee: Eelco Chaudron <echaudro>
Status: CLOSED ERRATA QA Contact: liting <tli>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 19.ECC: atragler, ctrautma, echaudro, fhallal, jean-mickael.guerin, jhsiao, Jing.C.Zhang, kfida, ktraynor, qding, ralongi, tli, tredaelli
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.13-2.13.0-0.20200117git8ae6a5f.el7fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1796497 (view as bug list) Environment:
Last Closed: 2020-07-15 13:02:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anita Tragler 2018-09-24 17:36:36 UTC
Description of problem:
For OVS-DPDK the ingress rate-limiting or egress policer do not provide any queuing or traffic shaping, so there is no way to do minimum bandwidth guarantee per VM? User can only do Max TX bandwidth per VM with Ingress Rate limiting. Egress policer uses token-bucket mechanism with no support for hierarchical queues based on TX port

OVS QoS supports linux queuing mechanisms linux-htb, linux-hfsc that allows user to create output queues based on TX port and set the min and max bandwidth.

DPDK supports Hierarchical Schduler using Token Bucket metering
RTE Traffic Metering

Traffic metering algorithms:

1. Single Rate Three Color Marker (srTCM): defined by IETF RFC 2697
2. Two Rate Three Color Marker (trTCM): defined by IETF RFC 2698

We need to bring these into OVS-DPDK for traffic shaping usecases, if we want to support minimum bandwidth
RHOSP 14 needs maximum bandwidth and RHOSP15 needs min bandwidth
The usecase is every server has a single 25Gb NIC for all traffic - datapath, storage, control-plane, Management/API
Datapath traffic rate should not be affected if there is a huge burst of traffic for storage or control plane. A minimum bandwidth should be guaranteed for datapath.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 13 Eelco Chaudron 2019-02-19 14:00:27 UTC
Sent RFC patch upstream:

https://mail.openvswitch.org/pipermail/ovs-dev/2019-February/356420.html

Comment 15 Eelco Chaudron 2019-06-26 07:11:21 UTC
Sent out a v2 RFC patch to the OVS mailing list:

https://mail.openvswitch.org/pipermail/ovs-dev/2019-June/360064.html

Comment 17 Eelco Chaudron 2019-10-01 14:19:09 UTC
Sent out a v3 (none RFC) to the OVS mailing list:

https://mail.openvswitch.org/pipermail/ovs-dev/2019-October/363172.html

Comment 18 Eelco Chaudron 2020-01-13 15:57:58 UTC
Sent out a v4 to the OVS mailing list:

https://mail.openvswitch.org/pipermail/ovs-dev/2020-January/366763.html

Comment 19 Eelco Chaudron 2020-01-16 10:54:13 UTC
v5 got accepted and is merged to master, will be available in upstream OVS 2.13

Comment 22 Eelco Chaudron 2020-04-02 08:33:49 UTC
I learned yesterday that DPDK is disabled for the OVS2.13 release in FDP for RHEL7, so I think this can be closed as not supported.

Comment 26 errata-xmlrpc 2020-07-15 13:02:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2944