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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Limit I/O for individual disks of VM

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Limit I/O for individual disks of VM
From: Joseph Glanville <joseph.glanville@xxxxxxxxxxxxxx>
Date: Wed, 28 Sep 2011 17:38:10 +1000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Tõnis Bramanis <tonis@xxxxxxxxxx>
Delivery-date: Wed, 28 Sep 2011 00:39:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E82C017.1050803@xxxxxxxx>
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: <4E818A50.3050607@xxxxxxxxxx> <4E822AE3.6050601@xxxxxxxx> <4E82BDC0.7040604@xxxxxxxxxx> <4E82C017.1050803@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

To add to the above it looks like you have a device driver or hardware issue with your harddrive or raid controller.
I/O ratelimiting might hide the symptoms but not correct the problem. After you have addressed that you can look at implementing rate limiting via the methods described below:

cgroups blk-io controller:
You can find documentation etc in the linux git repo at /documentation/cgroups/blkio-controller.txt

dm-ioband:
Wiki is here http://sourceforge.net/apps/trac/ioband/wiki/dm-ioband

Both of these are external to Xen for the reasons outlined by previous posts.

Kind regards,
Joseph.

2011/9/28 Jeremy Fitzhardinge <jeremy@xxxxxxxx>
On 09/27/2011 11:25 PM, Tõnis Bramanis wrote:
> Hello
>
> and thank You for the answer. Has anyone of You tried to limit i/o on
> the VMs?
>
> I have about 40 containers and when the i/o gets too high, the host
> will crash with this error:
> [23959.739698] sd 4:0:0:0: rejecting I/O to offline device
> 5    [23959.771158] Buffer I/O error on device dm-0, logical block 40259
>
> This is not a support request! I am just referring why i would like to
> limit the disks i/o.

I think that IO error is a real problem that you should try to solve,
rather than work around it by rate-limiting IO.

   J

>
> Regards,
> Tõnis Bramanis
>
> On 27.09.2011 22:58, Jeremy Fitzhardinge wrote:
>> On 09/27/2011 01:33 AM, Tõnis Bramanis wrote:
>>> Hello!
>>>
>>> Will disk i/o limiting be added in any future versions? I see it in
>>> the 4.0 feature requests, but not in any changelogs.
>>
>> I think the hope is that we can use the generic Linux mechanisms for
>> this rather than having to add anything Xen-specific.
>>
>>      J
>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel



--
Founder | Director | VP Research
Orion Virtualisation Solutions
 | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel