xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* increasing the number of guests (NR_DYNIRQS)
@ 2010-02-20 10:53 Luke S Crawford
  2010-02-20 11:54 ` Tim Post
  2010-02-20 13:40 ` Keir Fraser
  0 siblings, 2 replies; 6+ messages in thread
From: Luke S Crawford @ 2010-02-20 10:53 UTC (permalink / raw)
  To: xen-devel


So I'm setting up a server to host many very small domains, and I ran
into a problem where after I create about 60 guests, any addtional guests
start, but hang at 0 cpu usage-  they never do anything.  

grep Dynamic-irq /proc/interrupts | wc -l
256


I did some digging and found some old discussion of the topic[1]
and but the patches discussed there didn't work, I assume because the
linux/xen codebase has evolved since then.  I dug around and made this 
change:

xen-3.4-testing.hg/linux-2.6.18-xen.hg/include/asm-x86_64/mach-xen/irq_vectors.h

I changed:

#define NR_DYNIRQS           1024

(it defaults to 256)

two questions:  first, is this stupid?  domains appear to be working, and
I'm currently running north of 200 guests on the server.  

second, if this is indeed the right way to fix the problem, if I 
submitted a CONFIG_NR_DYNIRQS patch as Kier suggested in the referenced
post, would that be considered for acceptance upstream?



[1]http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00353.html


-- 
Luke S. Crawford
http://prgmr.com/xen/         -   Hosting for the technically adept
http://nostarch.com/xen.htm   -   We don't assume you are stupid.  

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

end of thread, other threads:[~2010-02-20 16:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-20 10:53 increasing the number of guests (NR_DYNIRQS) Luke S Crawford
2010-02-20 11:54 ` Tim Post
2010-02-20 13:41   ` Keir Fraser
2010-02-20 15:43     ` Tim Post
2010-02-20 16:41       ` Dan Magenheimer
2010-02-20 13:40 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).