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: new netfront and occasional receive path lockup

To: Gerald Turner <gturner@xxxxxxxxxx>
Subject: RE: [Xen-devel] Re: new netfront and occasional receive path lockup
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Mon, 13 Sep 2010 10:34:52 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 12 Sep 2010 19:35:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <877hiqcrxt.fsf@xxxxxxxxxxxxxxxxxxxx>
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: <1282495384.12843.11.camel@xxxxxxxxxxxxxxxxxxxx> <4C73166D.3030000@xxxxxxxx> <D5AB6E638E5A3E4B8F4406B113A5A19A2A44184D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100909185058.GR2804@xxxxxxxxxxx> <4C8981E5.6010000@xxxxxxxx> <D5AB6E638E5A3E4B8F4406B113A5A19A2A5ED71F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <87aannepx2.fsf@xxxxxxxxxxxxxxxxxxxx> <4C8C9594.1010501@xxxxxxxx> <87k4mqd1re.fsf@xxxxxxxxxxxxxxxxxxxx> <87bp82cxwn.fsf@xxxxxxxxxxxxxxxxxxxx> <D5AB6E638E5A3E4B8F4406B113A5A19A2A658C2F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <877hiqcrxt.fsf@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActS6SlwddM45ZqISbiU/p7B/8HWiAAAdqRA
Thread-topic: [Xen-devel] Re: new netfront and occasional receive path lockup
Gerald Turner wrote:
> "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx> writes:
> 
>> Does this bug only happen when you launch multiple domUs?  I tried a
>> single domU and could not catch the bug.
>> 
> 
> I've been working on this server for about two weeks, I hadn't
> noticed the problem for the first week when I only had 3 domUs.  It
> started happening when I added 10 more domUs.  The problem would
> happen quickly, within 10 minutes, always affecting at least two
> domUs at random, and affect more domUs over time.    
> 
> Saturday I installed the updated driver with Jeremy's use_smartpoll
> parameter, ran for 24 hours with smartpoll disabled, no problems. 
> 
> Today I've been trying with smartpoll enabled.  It took an hour to
> affect two domUs - noticibly longer than the behavior previous days
> before installing your patch.  I still have 9 other domUs running
> with smartpoll enabled, four hours uptime, I'm surprised they haven't
> been affected yet.  Could there be another less-frequent race in
> smart_poll_function?     

Hi Gerald, 

Thanks for your detail information.

Unfortunately I don't have such platform that could launch more than 10 guests 
in hand.

Here is another patch (see attached file) that fix another potential race.

Do you have bandwidth to have a try? Thanks in advance!

Best Regards,
-- Dongxiao

Attachment: 0001-Netfront-Fix-another-potential-race-condition.patch
Description: 0001-Netfront-Fix-another-potential-race-condition.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>