From: Sander Eikelenboom Subject: xen dependant on pcpu 0 ? Date: Tue, 12 Oct 2010 18:28:13 +0200 Message-ID: <1452957126.20101012182813@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , Jeremy Fitzhardinge , Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Keir, Does xen and/or the xen console depend on physical cpu 0 ? I'm still trying to solve the mystery of my machine freezing when doing: - videograbbing in a domU with a usb3 pci-express controller passed throug= h (seems to cause quite a few interrupts) - compiling a linux kernel with "make -j 6" It's a 6 core AMD phenom x6. Without cpu pinning: I can freeze the machine easily within a minute after starting the compile,= at first xen serial console also slows down under the load (slow updates). When the machine freezes i can't do anything with xen serial console. With cpu pinning: By not using the pcpu 0 at all for any domain, and pinning the domain with = the videograbber to it's own pcpu (pcpu 5) it seems the machine keeps runn= ing after 20 "make -j6" iterations of kernel compilation. Xen serial console stays responsive and doesn't slow down during the kernel= compilation. The videograbber shows no problem grabbing video. Name ID VCPU CPU State Time(s) CPU Affi= nity Domain-0 0 0 3 r-- 2169.7 1-4 Domain-0 0 1 1 -b- 2339.3 1-4 Domain-0 0 2 2 -b- 2358.9 1-4 Domain-0 0 3 3 -b- 2298.2 1-4 Domain-0 0 4 1 -b- 2221.9 1-4 Domain-0 0 5 4 -b- 2287.7 1-4 backup 9 0 4 -b- 10.6 1-4 database 1 0 4 -b- 45.3 1-4 davical 5 0 3 -b- 8.7 1-4 git 8 0 2 -b- 7.9 1-4 mail 2 0 4 -b- 8.0 1-4 samba 3 0 3 -b- 11.1 1-4 security 7 0 5 r-- 1433.2 5 www 4 0 1 -b- 10.2 1-4 zabbix 6 0 3 -b- 21.2 1-4 Is there a way a deadlock could occur between hypervisor <-> dom0 <-> domU = especially related to passthrough/interrupts in the context of pcpu 0 ? -- Sander