From: Tim Post <echo@echoreply.us>
To: Luke S Crawford <lsc@prgmr.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: increasing the number of guests (NR_DYNIRQS)
Date: Sat, 20 Feb 2010 19:54:41 +0800 [thread overview]
Message-ID: <1266666881.6555.48.camel@tpost-desktop> (raw)
In-Reply-To: <m3pr40tbyd.fsf@luke.xen.prgmr.com>
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
next prev parent reply other threads:[~2010-02-20 11:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 10:53 increasing the number of guests (NR_DYNIRQS) Luke S Crawford
2010-02-20 11:54 ` Tim Post [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1266666881.6555.48.camel@tpost-desktop \
--to=echo@echoreply.us \
--cc=lsc@prgmr.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).