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-users

Re: [Xen-users] Writing fast in domU crashes entire xen system

To: moncojhr <moncojhr@xxxxxxxxx>
Subject: Re: [Xen-users] Writing fast in domU crashes entire xen system
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Fri, 18 Feb 2011 18:55:42 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Feb 2011 03:59:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikcp9hGvHtE9KwEz9K0T+Y6kdXfn5_fT+Ey6S30@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikcp9hGvHtE9KwEz9K0T+Y6kdXfn5_fT+Ey6S30@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Feb 18, 2011 at 5:58 PM, moncojhr <moncojhr@xxxxxxxxx> wrote:
> Having a problem here where, if I write quickly in a domU, dom0
> freezes up and I cant do anything but reboot, you can still type, just
> nothing will ever do anything.
>
> I noticed that I am able to get much faster speeds writing in the domU
> then in dom0:
>
> dom0: 1073741824 bytes (1.1 GB) copied, 27.3189 s, 39.3 MB/s
> domU: 1073741824 bytes (1.1 GB) copied, 6.80832 s, 158 MB/s

That's because dom0 is buffering the writes.

>
> I do not get the freeze/lockup when writing in dom0, only when writing
> quickly a lot of data in domU.
>
> I am using file: for my vm's , using the 2.6.32.27 dom0 from git.

Don't use file:.
Use:
- tap2:tapdisk:aio: (if you're using Xen >= 4.0.1)
- tap:tapdisk:aio: (if you're using Xen = 4.0.0)
- tap:aio (anything older than 4.0.0)

-- 
Fajar

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