|
From: | Pradeep Kiruvale |
Subject: | Re: [Qemu-discuss] Throttle in virtio-net |
Date: | Mon, 5 Sep 2016 10:52:40 +0200 |
> I am planning to implement throttling functionality for virtio-net
> driver using the throttling APIs that exist inside qemu.
Hi Pradeep,
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
libvirt implements this using tc:
https://libvirt.org/formatdomain.html# elementDomain
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm# ceiling
[Prev in Thread] | Current Thread | [Next in Thread] |