Change r2q parametr

Hello, I need to change r2q parameter from default 10 to 100. I can do it manually as below but is there any option to change it for the whole OpenNebula cluster? Somewhere in config files?

tc qdisc del dev $i root
tc qdisc add dev $i root handle 1: htb r2q 100 default 1

Best Regards,
Rafał Dziwiński

Hi, this is set by libvirt when traffic control is enabled on interface. Probably not even by libvirt but qemu-kvm. So you have to investigate if this is even possible in underlayers. You can probably make workaround by automatize your command running network driver hook

https://docs.opennebula.io/6.8/integration_and_development/infrastructure_drivers_development/devel-nm.html#driver-customization

1 Like