All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alberto Garcia <berto@igalia.com>
To: Pradeep Kiruvale <pradeepkiruvale@gmail.com>
Cc: qemu-discuss@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-discuss] Throttle in virtio-net
Date: Mon, 5 Sep 2016 10:33:55 +0200	[thread overview]
Message-ID: <20160905083355.GA9598@igalia.com> (raw)
In-Reply-To: <CAJ2SuLkTbKOGxP7PEgvUri3F8PVrmNDh6oOC+v6iYs0ugTGrOw@mail.gmail.com>

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

  reply	other threads:[~2016-09-05  8:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02 15:13 [Qemu-devel] Throttle in virtio-net Pradeep Kiruvale
2016-09-05  8:33 ` Alberto Garcia [this message]
2016-09-05  8:52   ` [Qemu-devel] [Qemu-discuss] " Pradeep Kiruvale
2016-09-06 14:10     ` Alberto Garcia
2016-09-06 14:37     ` Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160905083355.GA9598@igalia.com \
    --to=berto@igalia.com \
    --cc=pradeepkiruvale@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.