All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Bligh <alex@alex.org.uk>
To: "Pasi Kärkkäinen" <pasik@iki.fi>, "Wei Liu" <Wei.Liu2@citrix.com>
Cc: Rohit Damkondwar <genius.rsd@gmail.com>,
	Alex Bligh <alex@alex.org.uk>,
	xen-devel@lists.xen.org
Subject: Re: dynamically set bandwidth limits of a virtual interface
Date: Mon, 31 Dec 2012 14:14:25 +0000	[thread overview]
Message-ID: <8FFF92289CD7FCF3159DADCF@Ximines.local> (raw)
In-Reply-To: <20121227123839.GR8912@reaktio.net>



--On 27 December 2012 14:38:39 +0200 Pasi Kärkkäinen <pasik@iki.fi> wrote:

> Yes, You can use the generic Linux QoS tools in dom0 to shape the vifs.

Using tc for true shaping is slightly non-trivial as it shapes only on
egress (which confusingly is towards the VM), and will only police on
ingress. Using ifb is a way around this.

If tc alone won't do the job, I would have thought that rather than
reinvent the wheel and implement rate shaping in netback, it would be
better to hook into the kernel's existing qdisc infrastructure so tc like
tools can be used. This would give much more functionality than a simple
rate.

-- 
Alex Bligh

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2012-12-31 14:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-27  8:46 dynamically set bandwidth limits of a virtual interface Rohit Damkondwar
2012-12-27 12:33 ` Wei Liu
2012-12-27 12:38   ` Pasi Kärkkäinen
2012-12-31 14:14     ` Alex Bligh [this message]
2012-12-28  7:46   ` Rohit Damkondwar
2012-12-28 10:35     ` Wei Liu
2012-12-30 12:08       ` Rohit Damkondwar
2012-12-31 11:30         ` Wei Liu

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=8FFF92289CD7FCF3159DADCF@Ximines.local \
    --to=alex@alex.org.uk \
    --cc=Wei.Liu2@citrix.com \
    --cc=genius.rsd@gmail.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xen.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.