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

Re: [Xen-devel] increasing the number of guests (NR_DYNIRQS)

To: Luke S Crawford <lsc@xxxxxxxxx>
Subject: Re: [Xen-devel] increasing the number of guests (NR_DYNIRQS)
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Sat, 20 Feb 2010 19:54:41 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 20 Feb 2010 03:55:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <m3pr40tbyd.fsf@xxxxxxxxxxxxxxxxxx>
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: <m3pr40tbyd.fsf@xxxxxxxxxxxxxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, 2010-02-20 at 05:53 -0500, Luke S Crawford wrote:
> 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)

I've done the same thing several times without breaking anything. What I
could not see is how much more expensive 1024 is than 256. Like you, I
had hosts with guests way north of 200 that did very little, so ...

Cheers,
--Tim


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