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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Writing fast in domU crashes entire xen system
From: moncojhr <moncojhr@xxxxxxxxx>
Date: Fri, 18 Feb 2011 23:10:57 +1100
Delivery-date: Fri, 18 Feb 2011 04:12:40 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hmlePhs5s/1tG3xjMgbTDdjrGpxxTjSBI11Ox6WjcL4=; b=LDyMN9bMcRx/VkEwKbcb+BBdn8OFmjIVn5Ap6WRvvm8q5k70kDJZypdrJgA7lPt6jo ZuBTY7oN8ilvMnEHMq49G6M72ksIknqxR+De2VIR9DkASsVpwls7VKXUgqbnxIjv2Xrw mU1KbCYaBMJOdF40pD1ITV7tgfeJSqtcXmPUM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fNXWVl0FZHQgc4hzMpDRbUvHRuy1RVgA2x8RtPy/LooSPnwWL9Vjl++TQ29YyDNztH BbwMs2tB56LL6WkQjOdNNL7R5znCGrnBdlpmtDVQWVG3Pi5irsKQtKO0Osha9ljr3Cue n30KKzGa9gjPVmuXrsaxzdYsbMx00TgsG2vG8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=5GpUSWLERY2NZJzzwGw5f6yLsE_g8=AhR-c=U@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> <AANLkTi=5GpUSWLERY2NZJzzwGw5f6yLsE_g8=AhR-c=U@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I thought using blktap might help it, but i've been unable to get it to work...

booting the kernel i just get eventually:

XENBUS: Waiting for devices to initialise: 295s.. then it just fails to boot.

In my config:

disk   = ['tap2:tapdisk:aio:/root/testvm/disks/test.img,xvda1,w']

cat /sys/class/blktap2/devices
0 aio:/root/testvm/disks/test.img

looks like it was working?


On Fri, Feb 18, 2011 at 10:55 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> 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