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] RE: freezing when using GPLPV drivers (including Dom0)

To: 'James Harper' <james.harper@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: freezing when using GPLPV drivers (including Dom0)
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 31 Dec 2008 11:23:25 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 30 Dec 2008 19:24:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01550139@trantor>
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: <AEC6C66638C05B468B556EA548C1A77D01550137@trantor> <0A882F4D99BBF6449D58E61AAFD7EDD603BB4A32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01550139@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aclq8extx1AIvKo+Ql6WikxbNr/6rgAAnnFwAAA7aNAAAFVNQA==
Thread-topic: [Xen-devel] RE: freezing when using GPLPV drivers (including Dom0)
>From: James Harper [mailto:james.harper@xxxxxxxxxxxxxxxx] 
>Sent: Wednesday, December 31, 2008 11:16 AM
>
>> 
>> >From: James Harper
>> >Sent: Wednesday, December 31, 2008 10:46 AM
>> >
>> >I am suspecting that maybe the problem is disk starvation 
>but I don't
>> >quite understand why the lockup happens for so long. I'm also not
>sure
>> >why I'm only seeing the problem when using my GPLPV drivers - one
>> >possibility is that the increased performance puts more load on the
>> >storage system.
>> >
>> 
>> Maybe you can check cycles spent on kernel thread/event handler
>> in backend driver side. I'm not sure whether heavy communication
>> between be/fe could disturb dom0 scheduler if care is not taken in
>> current design. E.g. back kernel thread may eat too many cycles
>> before giving up, or your GPLPV fe driver may issue too many events
>> to break be side...
>> 
>
>I am running the restore again and monitoring using:
>. xentop running in dom0
>. arping to the DomU running from an external machine
>. ping to Dom0 running from an external machine
>
>With arping and ping running I have noticed that the freeze is not
>always long enough to cause the TCP connections to time out - 
>I was only
>noticing the ones that were long enough.
>
>During the freeze, xentop shows very low Dom0 and DomU CPU, 
>arping stops
>receiving replies to the arp requests, but the ping to Dom0 
>keeps going.
>The freeze that just occurred was not long enough for me to tell if the
>DomU xentop counters for network and disk were increasing or not.
>(xentop keeps running, lending weight to the freeze only concerning
>tasks that want to access the disk).
>
>Is there a way under Linux of monitoring disk queue length? I am using
>LVM on top of a low end HP 'Smart Array' (E200) running two RAID1
>volumes using SATA disks.
>

'sar' could provide such info, IMO.

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