On Wed, Jul 20, 2022 at 02:38:44PM +0200, Ilya Maximets wrote: > > Hello, > > Hi, folks. Sorry for a late reply. > See some comments inline. >
Hello Ilya, indeed, this does resolve our issue! Thanks a lot to both of you guys! with best regards nikola ciprich > If above configuration is all that was actually performed, then > it means that only min-rate is specified for QoS, but max-rate > is not. In this situation OVS will use advertised link speed as > a max-rate value. I would guess that the link speed of the > vnet2 port is reported as 10Mbps, so the max-rate is equal to > that value. And since min-rate should not be higher than the > max-rate, the min-rate is also capped at 10Mbps. > > TC netlink interface requires the maximum rate to be specified, > IIUC, so OVS has to come up with some value. Advertised link > speed sounds like a good enough approximation. You should be > able to avoid the problem by setting the max-rate for the QoS > configuration, if you know the link speed better than kernel. > > > > > Now, looking into OpenVSwitch documentation, while not exactly specified > > It is documented in the man page along with other configuration > options. You should have it installed if you installed OVS. > The copy of it can be found here: > https://www.openvswitch.org/support/dist-docs/ovs-vswitchd.conf.db.5.html > > Best regards, Ilya Maximets. > > > anywhere I can deduct that min-rate units are in bits per second (must > > resist pointing out how badly the docs are written and how bad the choice > > of units is). Anyway, libvirt documents that average is in kilobytes per > > second. Therefore, 12800 KB/s = 12800 * 1000 * 8 bits per second = > > 102400000 which is exactly the value libvirt passes to OVS. > > Then, again because of lack of proper documentation for > > ingress_policing_rate I can only deduct from given examples that units for > > ingress_policing_rate are kilobits per second (yep, previous attribute used > > different units, so much for consistency). Again, libvirt documents > > 'average` is in kilobytes per second, hence 12800 KB/s = 128000 * 8 > > kilobits per second = 102400 which again is exactly the value that libvirt > > passes to OVS. > > Long story short, I believe you just helped me prove the bug is in OVS (I > > wouldn't be surprised is they cared only about Centos-8 or newer). > > Therefore, I'm inclined to close this. Please feel free to object. > > """ > > > > So we think there might be bug in openvswitch.. Would you have a look at it? > > > > If I could provide any further information, please let me know. > > > > with best regards > > > > nikola ciprich > -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28.rijna 168, 709 00 Ostrava tel.: +420 591 166 214 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: ser...@linuxbox.cz ------------------------------------- _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss