From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Andrew Xu <xu.an@cloudex.cn>
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com
Subject: Re: [Xen-users] Re: VM disk I/O limit patch
Date: Wed, 22 Jun 2011 09:11:21 -0400 [thread overview]
Message-ID: <20110622131121.GB8216@dumpdata.com> (raw)
In-Reply-To: <20110622200623.8CE4.3A8D29D5@cloudex.cn>
On Wed, Jun 22, 2011 at 08:06:23PM +0800, Andrew Xu wrote:
>
> On Tue, 21 Jun 2011 09:33:37 -0400
> Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
>
> > On Tue, Jun 21, 2011 at 04:29:35PM +0800, Andrew Xu wrote:
> > > Hi all,
> > >
> > > I add a blkback QoS patch.
> >
> > What tree is this against?
> This patch is based on suse11.sp1(2.6.32) xen-blkback source.
> (2.6.18 "Xenlinux" based source trees?)
>
> > There is a xen-blkback in 3.0-rc4, can you rebase
> > it against that please.
> >
> Ok, I will rebase it.
Hold on, lets talk about the problem you are trying to solve first.
>
> > What is the patch solving?
> >
> With this path, you can set different speed I/O for different VM disk.
> For example, I set vm17-disk1 4MKB/s
> vm17-disk2 1MKB/s
> vm18-disk3 3MKB/s
> I/O speed, by writing follow xenstore key-values.
> /local/domain/17/device/vbd/768/tokens-rate = "4096"
> /local/domain/17/device/vbd/2048/tokens-rate = "1024"
> /local/domain/18/device/vbd/768/tokens-rate = "3096"
>
> > Why can't it be done with dm-ioband?
> Of cause, I/O speed limit also can be done with dm-ioband.
> But with my patch, there is no need to load dm-ioband any more.
> This patch do speed-limit more close disk, more lightweight.
I am not convienced this will be easier to maintain than
using existing code (dm-ioband) that Linux kernel provides already.
Are there other technical reasons 'dm-ioband' is not sufficient
enough? Could it be possible to fix 'dm-ioband' to not have those
bugs? Florian mentioned flush requests not passing through
the DM layers but I am pretty sure those have been fixed.
next prev parent reply other threads:[~2011-06-22 13:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 8:29 VM disk I/O limit patch Andrew Xu
2011-06-21 13:33 ` Konrad Rzeszutek Wilk
2011-06-22 12:06 ` [Xen-users] " Andrew Xu
2011-06-22 13:11 ` Konrad Rzeszutek Wilk [this message]
2011-06-22 14:12 ` Re[2]: " Andrew Xu
2011-06-22 14:39 ` Konrad Rzeszutek Wilk
2011-06-24 14:29 ` Re[2]: " Ian Jackson
2011-06-22 12:16 ` Re: [Xen-devel] " Florian Heigl
2011-06-22 13:07 ` [Xen-users] " Konrad Rzeszutek Wilk
2011-06-23 20:45 ` Shaun Reitan
2011-06-27 15:41 ` Konrad Rzeszutek Wilk
2011-06-27 19:22 ` Shaun Reitan
2011-06-28 11:32 ` Re: [Xen-devel] " Florian Heigl
2011-06-28 13:29 ` [Xen-users] " Konrad Rzeszutek Wilk
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=20110622131121.GB8216@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@lists.xensource.com \
--cc=xu.an@cloudex.cn \
/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.