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 22:55:04 +1100
Delivery-date: Fri, 18 Feb 2011 03:56:29 -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:content-transfer-encoding; bh=00RuO4lU5ntokOrA2b1U1xgDf0aSxs8Hqv1U8bagaeE=; b=vh55NqMeCKjrwpOTb+goor5cFily0R8mEcJqwdChAgi7rQAjuVT3wYRhkBw+TW6d6f Htn/hiXOv7N9Bw8ayvtow1XY+/VDwF9h4ifv6e5z2NkZbX93/a/vwtLbBwl4y2tTY7yn kSnBBSEPHLtN1blx51HXn+3cO1kbgwNAIqK60=
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:content-transfer-encoding; b=xcuGmsZwPM/HcBiVhAeB3SLV8RBwM2kCTffei717IHHwRDbntw8M4HRxx9IMxFaMFO RWK5EJGhjrvrydDXa3CQVm9TyELrm4nDwVjWXp1qQ78dEXkM4le3yywVja87mQ6QRIkO VPQTByUvnC8RQLJ8Hj9ZEV3CqcGwxaDDSqwpM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimYywCOfWyMuFg+JEfbBL2y6_=g40YWyX4NuTHg@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> <sig.1030795eef.AANLkTikA9TxWO_+i9HrFH6LQ=ppWd4rekdbefL4-MaFQ@xxxxxxxxxxxxxx> <AANLkTimYywCOfWyMuFg+JEfbBL2y6_=g40YWyX4NuTHg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
well I gave the vm more ram, and it didnt make any difference, my test
to see if it blows everything up is simply:

dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576
dd if=/dev/zero of=/test bs=1024 count=1048576

it always "crashes" before it completes all the dd's

> On Fri, Feb 18, 2011 at 10:06 PM, Rudi Ahlers <Rudi@xxxxxxxxxxx> wrote:
>> On Fri, Feb 18, 2011 at 12: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
>>>
>>> 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.
>>>
>>> Any help would be great!
>>>
>>> _______________________________________________
>>
>>
>>
>> It sounds like your domU doesn't have enough RAM  so it has to use a
>> lot of swap, which causes an I/O overload problem.
>>
>> Assign more RAM to the domU and see if it helps.
>>
>>
>> --
>> Kind Regards
>> Rudi Ahlers
>> SoftDux
>>
>> Website: http://www.SoftDux.com
>> Technical Blog: http://Blog.SoftDux.com
>> Office: 087 805 9573
>> Cell: 082 554 7532
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>

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