xen-devel
[Xen-devel] Re: RFC: I/O bandwidth controller
To: |
fernando@xxxxxxxxxxxxx |
Subject: |
[Xen-devel] Re: RFC: I/O bandwidth controller |
From: |
Ryo Tsuruta <ryov@xxxxxxxxxxxxx> |
Date: |
Fri, 08 Aug 2008 19:05:12 +0900 (JST) |
Cc: |
yoshikawa.takuya@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, uchida@xxxxxxxxxxxxx, containers@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dave@xxxxxxxxxxxxxxxxxx, taka@xxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, agk@xxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, ngupta@xxxxxxxxxx, righi.andrea@xxxxxxxxx |
Delivery-date: |
Fri, 08 Aug 2008 03:05:38 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<1218183056.17648.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20080808.152119.43521725.taka@xxxxxxxxxxxxx> <20080808.162024.189720323.ryov@xxxxxxxxxxxxx> <1218183056.17648.6.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi Fernando,
> > > > - Implement a block layer resource controller. dm-ioband is a working
> > > > solution and feature rich but its dependency on the dm infrastructure is
> > > > likely to find opposition (the dm layer does not handle barriers
> > > > properly and the maximum size of I/O requests can be limited in some
> > > > cases). In such a case, we could either try to build a standalone
> > > > resource controller based on dm-ioband (which would probably hook into
> > > > generic_make_request) or try to come up with something new.
> > >
> > > I doubt about the maximum size of I/O requests problem. You can't avoid
> > > this problem as far as you use device mapper modules with such a bad
> > > manner, even if the controller is implemented as a stand-alone controller.
> > > There is no limitation if you only use dm-ioband without any other device
> > > mapper modules.
> >
> > The following is a part of source code where the limitation comes from.
> >
> > dm-table.c: dm_set_device_limits()
> > /*
> > * Check if merge fn is supported.
> > * If not we'll force DM to use PAGE_SIZE or
> > * smaller I/O, just to be safe.
> > */
> >
> > if (q->merge_bvec_fn && !ti->type->merge)
> > rs->max_sectors =
> > min_not_zero(rs->max_sectors,
> > (unsigned int) (PAGE_SIZE >> 9));
> >
> > As far as I can find, In 2.6.27-rc1-mm1, Only some software RAID
> > drivers and pktcdvd driver define merge_bvec_fn().
>
> Yup, exactly. The implication of this is that we may see a drop in
> performance in some RAID configurations.
The current device-mapper introduces a bvec merge function for device
mapper devices. IMHO, the limitation goes away once we implement this
in dm-ioband. Am I right, Alasdair?
Thanks,
Ryo Tsuruta
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subsystem into two parts, (continued)
- Message not available
- Message not available
- [Xen-devel] Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subsystem into two parts, Hirokazu Takahashi
- Message not available
- [Xen-devel] Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subsystem into two parts, Hirokazu Takahashi
- Message not available
- Message not available
- [Xen-devel] RE: Too many I/O controller patches, Satoshi UCHIDA
- [Xen-devel] Re: Too many I/O controller patches, Hirokazu Takahashi
- Message not available
- [Xen-devel] Re: Too many I/O controller patches, Ryo Tsuruta
- Message not available
- Message not available
- [Xen-devel] Re: RFC: I/O bandwidth controller, Ryo Tsuruta
- Message not available
- Message not available
- [Xen-devel] RE: I/O bandwidth controller (was Re: Too many I/O controllerpatches), Caitlin Bestler
- Message not available
- Message not available
- [Xen-devel] Re: RFC: I/O bandwidth controller, Hirokazu Takahashi
- [Xen-devel] Re: RFC: I/O bandwidth controller, Ryo Tsuruta
- Message not available
- [Xen-devel] Re: RFC: I/O bandwidth controller,
Ryo Tsuruta <=
- [Xen-devel] Re: RFC: I/O bandwidth controller, Hirokazu Takahashi
[Xen-devel] [PATCH 0/7] I/O bandwidth controller and BIO tracking, Ryo Tsuruta
Message not available[Xen-devel] Re: [PATCH 4/7] bio-cgroup: Split the cgroup memory subsystem into two parts, Ryo Tsuruta
|
|
|