|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
RE: [Xen-devel] Re: VM hung after running sometime
 
| 
To:  | 
<jeremy@xxxxxxxx> | 
 
| 
Subject:  | 
RE: [Xen-devel] Re: VM hung after running sometime | 
 
| 
From:  | 
MaoXiaoyun <tinnycloud@xxxxxxxxxxx> | 
 
| 
Date:  | 
Wed, 29 Sep 2010 14:01:22 +0800 | 
 
| 
Cc:  | 
xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, keir.fraser@xxxxxxxxxxxxx | 
 
| 
Delivery-date:  | 
Tue, 28 Sep 2010 23:02:21 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxxx | 
 
| 
Importance:  | 
Normal | 
 
| 
In-reply-to:  | 
<4CA220D0.7070309@xxxxxxxx> | 
 
| 
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:  | 
<C8BE230D.239BA%keir.fraser@xxxxxxxxxxxxx>, ,	<4C98EB42.4020808@xxxxxxxx>,	<BAY121-W10DFCBC2F3B78D89381527DA600@xxxxxxx>, ,	<4C994B08.7050509@xxxxxxxx>	<BAY121-W688EF9F79369127219FB3DA600@xxxxxxx>,	,	<4C9A4B7A.3010308@xxxxxxxx>,	<BAY121-W31394CA05B46D94F7DC8F8DA610@xxxxxxx>, <4C9BE0A9.40709@xxxxxxxx>,	<BAY121-W4337007E1CA28BC7E72547DA660@xxxxxxx>	<BAY121-W2087D6896693255FFB54C2DA660@xxxxxxx>,	<4CA220D0.7070309@xxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
 
 
Well, I just go throught the source of irqbalance, it shows that it balances the irq through  
updating /proc/irq/$irq/smp_affinity.  That, in my understanding, set irq affinity is almost  
equal to irq migration. 
  
I later find the NIC  interrupt is not modified in dom0, so it is safe to set its  affinity,  
but  interrupt of xen event use handle_level_irq, set its affinity will subject to irq 
lost. 
  
Am I right?  
  > Date: Tue, 28 Sep 2010 10:07:28 -0700 > From: jeremy@xxxxxxxx > To: tinnycloud@xxxxxxxxxxx > CC: xen-devel@xxxxxxxxxxxxxxxxxxx; keir.fraser@xxxxxxxxxxxxx > Subject: Re: [Xen-devel] Re: VM hung after running sometime >  > On 09/28/2010 04:23 AM, MaoXiaoyun wrote: > > > > Is it safe to set irq affinity(including NIC, domain event, etc) manually? > > Will it cause irq lost? >  > There's only a very small chance of a lost interrupt, especially if the > device is mostly idle at the time. The event can only be lost if: >  > 1. it is handling a device interrupt > 2. you migrate it to another cpu > 3. another interrupt comes in before the first one has finished > processing >  > J >   		 	   		  
 |  
 _______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |