WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] Re: RFC: I/O bandwidth controller

To: taka@xxxxxxxxxxxxx
Subject: [Xen-devel] Re: RFC: I/O bandwidth controller
From: Ryo Tsuruta <ryov@xxxxxxxxxxxxx>
Date: 2008年8月08日 16:20:24 +0900 (JST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, uchida@xxxxxxxxxxxxx, fernando@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dave@xxxxxxxxxxxxxxxxxx, yoshikawa.takuya@xxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, agk@xxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, ngupta@xxxxxxxxxx, containers@xxxxxxxxxxxxxxxxxxxxxxxxxx, righi.andrea@xxxxxxxxx
Delivery-date: 2008年8月08日 00:20:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080808.152119.43521725.taka@xxxxxxxxxxxxx>
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: <1217870433.20260.101.camel@nimitz> <1217985189.3154.57.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080808.152119.43521725.taka@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
> > - 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().
Thanks,
Ryo Tsuruta
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: Allow compile with CONFIG_DEBUG_INFO=y, X86_PAE not set on gcc 3.4.5 , Jeremy Fitzhardinge
Next by Date: [Xen-ia64-devel] [IA64] Weekly benchmark results [ww31] , KUWAMURA Shin'ya
Previous by Thread: [Xen-devel] Re: RFC: I/O bandwidth controller , Hirokazu Takahashi
Next by Thread: [Xen-devel] Re: RFC: I/O bandwidth controller , Ryo Tsuruta
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /