From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgpMa-0000fT-Qx for qemu-devel@nongnu.org; Mon, 05 Sep 2016 04:34:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgpMZ-0004Vx-QR for qemu-devel@nongnu.org; Mon, 05 Sep 2016 04:34:44 -0400 Date: Mon, 5 Sep 2016 10:33:55 +0200 From: Alberto Garcia Message-ID: <20160905083355.GA9598@igalia.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Qemu-discuss] Throttle in virtio-net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pradeep Kiruvale Cc: qemu-discuss@nongnu.org, qemu-devel@nongnu.org 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