On 10/8/26 10:33, lejeczek via Users wrote:
Hi guys.
I have a network like so:
<network> <name>10_1_1</name> <uuid>864fb78e-0fb0-4c32-bb47-0e5ac68d9491</uuid> <forward mode='bridge'/> <bridge name='nm-bridge1011'/> <bandwidth> <inbound average='610351' peak='620000'/> <outbound average='610351' peak='620000'/> </bandwidth> </network>
I'd expect this to limit network to 10Gbs - since this is in kibibytes - I assume these two add to make the max? But when I _iperf3_ in guests then I get speeds near host's native, which are much higher than expected limit. Am I missing something - no <bandwidth> in guests - or there actually might be an issue here? I'm on Centos10 with libvirt-12.8.0-1.el10
Be aware that this config sets QoS on nm-bridge1011 bridge (which you can verify by running `tc -s -d class show dev nm-bridge1011`). But the thing is, when the virtualization hosts wants to send a packet to a guest it bypasses bridge and talks to vnetX directly. Try running iperf from a different host. Michal