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

[Xen-devel] Re: 1850/2850 hangs under I/O load

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: 1850/2850 hangs under I/O load
From: David H <davidh.davidh@xxxxxxxxx>
Date: Wed, 13 Jul 2005 12:39:26 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, barryf-lists@xxxxxxxxxxx, rob@xxxxxxxx
Delivery-date: Wed, 13 Jul 2005 19:38:53 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EiKmMkDkScQCg6B1hB7Jg5p9zfwFomTV8EJk20unVrfmqISsIWR+t9rnSQOfaC2EP1mlSvbKEYzKM3PCawOjUpxzoUhgP6RbRDStDTYpmgBRlM3WVUGBh7Tmk7W0PhrHDMcejLohwK3JIs5CmXIQ8ROUfRbiErg0LJ81556mmuw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1Dsja0-0004fn-00@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1Dsja0-0004fn-00@xxxxxxxxxxxxxxxxx>
Reply-to: David H <davidh.davidh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I have some supermicro systems with the same chipset/problem as the
1850/2850.  This patch appears to fix the problem for me.  I could
always hang the server by using scp to copy a large file.  I have been
able to scp this file 10 times without a hang!!  However, it looks
like we lose ACPI.  Is that the expected outcome?

cat /proc/interrups before and after:
          CPU0
 1:         10        Phys-irq  i8042
 9:          0        Phys-irq  acpi
 12:        101        Phys-irq  i8042
 15:    4412096        Phys-irq  ide1
 16:      94555        Phys-irq  uhci_hcd, uhci_hcd
 18:    6161124        Phys-irq  uhci_hcd
 19:          0        Phys-irq  uhci_hcd
 48:      84003        Phys-irq  3w-xxxx
 54:    3091939        Phys-irq  eth0
256:          0     Dynamic-irq  ctrl-if
257:   22704931     Dynamic-irq  timer0
258:          0     Dynamic-irq  console
259:          0     Dynamic-irq  net-be-dbg
NMI:          0
LOC:          0
ERR:          0
MIS:          0

          CPU0
 1:         10        Phys-irq  i8042
 12:        101        Phys-irq  i8042
 15:      24398        Phys-irq  ide1
 16:     288202        Phys-irq  uhci_hcd, uhci_hcd
 18:    7522500        Phys-irq  uhci_hcd
 19:          0        Phys-irq  uhci_hcd
 48:      92704        Phys-irq  3w-xxxx
 54:    7764230        Phys-irq  eth0
128:          1     Dynamic-irq  misdirect
129:          0     Dynamic-irq  ctrl-if
130:     239113     Dynamic-irq  timer
131:          0     Dynamic-irq  console
132:          0     Dynamic-irq  net-be-dbg
NMI:          0
ERR:          0

David



On 7/13/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
> Looking back over the emails on this topic, someone pointed out a
> patch for Linux 2.6.10 that disabled software IRQ affinity for
> 1850/2850 systems.
> 
> You can try a similar fix on Xen (either 2.0.x or unstable) by editing
> arch/x86/irq.c:pirq_guest_bind(), and remove the following lines:
> 
>     if ( desc->handler->set_affinity != NULL )
>         desc->handler->set_affinity(<blah>);
> 
> If this fixes the I/O hangs for you, it is a nicer fix than
> ignorebiostables. I can add a boot parameter to have the same effect,
> and also probably have the fix applied automatically for 1850/2850
> systems in the unstable tree (just like Linux).
> 
> Let me know how it works out.
> 
>  -- Keir
>

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