[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Throttle in virtio-net
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-discuss] Throttle in virtio-net |
Date: |
Mon, 5 Sep 2016 10:33:55 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Sep 02, 2016 at 05:13:40PM +0200, Pradeep Kiruvale wrote:
> 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
Berto