All of lore.kernel.org
 help / color / mirror / Atom feed
* xen dependant on pcpu 0 ?
@ 2010-10-12 16:28 Sander Eikelenboom
  2010-10-12 16:44 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 13+ messages in thread
From: Sander Eikelenboom @ 2010-10-12 16:28 UTC (permalink / raw)
  To: Keir Fraser, Jeremy Fitzhardinge, Konrad Rzeszutek Wilk; +Cc: xen-devel

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 through (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 running 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 Affinity
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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-10-13 16:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 16:28 xen dependant on pcpu 0 ? Sander Eikelenboom
2010-10-12 16:44 ` Konrad Rzeszutek Wilk
2010-10-12 17:13   ` Ian Campbell
2010-10-12 18:50   ` Sander Eikelenboom
2010-10-12 19:37   ` Sander Eikelenboom
2010-10-13 13:36   ` Sander Eikelenboom
2010-10-13 14:26     ` Sander Eikelenboom
2010-10-13 14:41       ` Jan Beulich
     [not found]         ` <31342487.20101013170345@eikelenboom.it>
     [not found]           ` <4CB5EBC3020000780001CEC6@vpn.id2.novell.com>
2010-10-13 15:41             ` Sander Eikelenboom
2010-10-13 16:08               ` Jan Beulich
2010-10-13 14:26     ` Jan Beulich
2010-10-13 15:00       ` Jiang, Yunhong
2010-10-13 15:31         ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.