| 1 | --- |
| 2 | upgrade: |
| 3 | - | |
| 4 | A new config option has been added to the OpenvSwitch plugin |
| 5 | ``[os_vif_ovs]default_qos_type``. This option controls |
| 6 | the Default tc qdisc applied to a kernel interface attached to OpenvSwitch |
| 7 | on Linux hosts. As of this release, the default tc qdisc is ``linux-noop`` |
| 8 | other supported values are ``linux-htb``, ``linux-hfsc``, |
| 9 | ``linux-sfq``, ``linux-codel`` and ``linux-fq_codel``. |
| 10 | before this release the default qdisc was undefined. older kernels did not |
| 11 | apply /proc/sys/net/core/default_qdisc to tap devices. newer kernels such |
| 12 | as the one found in rhel 9 do. This can significantly impact performance. |
| 13 | See bug https://bugs.launchpad.net/os-vif/+bug/2017868 for more details. |
| 14 | The default ``linux-noop`` should perform well for all use-cases so no |
| 15 | explicit action is required on upgrade however it should be noted that |
| 16 | the default_qos_type is only set when a port is first created. As such |
| 17 | this fix will not take effect until the next time the vm interface is |
| 18 | recreated. If you change this value for an existing port it will only |
| 19 | take effect after a hard reboot of the VM or a move operation. |
| 20 | |
| 21 | fixes: |
| 22 | - | |
| 23 | A significant performance regression was observed on a subset of Linux |
| 24 | kernels and sysctl configurations resulting in a reduction of throughput |
| 25 | to between 10% of the prior performance for small packets and 50% for |
| 26 | large packets. This has now been resolved by setting a default |
| 27 | qos_type on ovs interfaces when they are first created. To mimic libvirt's |
| 28 | undocumented behavior the ``linux-noop`` type is set on the ovs port when |
| 29 | it is first created. This will be overridden by neutron if a qos policy |
| 30 | is defined for a port and is simply the initial value to use when first |
| 31 | adding a port to OpenvSwitch. The default QoS type applied can be |
| 32 | controlled by the ``[os_vif_ovs]default_qos_type`` config operation. |
| 33 | See bug https://bugs.launchpad.net/os-vif/+bug/2017868 for more details. |