On Mon 05 Sep 2016 10:52:40 AM CEST, Pradeep Kiruvale wrote: >> > I am planning to implement throttling functionality for virtio-net >> > driver using the throttling APIs that exist inside qemu. >> >> the problem with implementing throttling for the network is that >> it's useless if you use the vhost_net kernel accelerator, because it >> bypasses QEMU entirely: >> >> https://access.redhat.com/documentation/en-US/Red_Hat_ >> Enterprise_Linux/7/html/Virtualization_Tuning_and_Optimization_Guide/sect- >> Virtualization_Tuning_Optimization_Guide-Networking- >> Virtio_and_vhostnet.html > > Thanks for this very valuable information. What if someone wants to > just use virtio-net without the vhost acceleration?
I think you can use tc just the same, as far as I'm aware that's what libvirt does. Berto
