From: Jeremy Fitzhardinge <jeremy@goop.org>
To: John McCullough <jmccullo@cs.ucsd.edu>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir.fraser@eu.citrix.com>,
Yuvraj Agarwal <yuvraj@cs.ucsd.edu>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: XEN 4.0 + 2.6.31.13 pvops kernel : system crashes on starting 155th domU
Date: Wed, 28 Apr 2010 11:13:32 -0700 [thread overview]
Message-ID: <4BD87ACC.8010107@goop.org> (raw)
In-Reply-To: <4BD7DA02.3030107@cs.ucsd.edu>
On 04/27/2010 11:47 PM, John McCullough wrote:
> I did a little testing.
>
> With no kernel option:
> # dmesg | grep -i nr_irqs
> [ 0.000000] nr_irqs_gsi: 88
> [ 0.000000] NR_IRQS:4352 nr_irqs:256
>
> w/nr_irqs=65536:
> # dmesg | grep -i nr_irqs
> [ 0.000000] Command line: root=/dev/sda1 ro quiet console=hvc0
> nr_irqs=65536
> [ 0.000000] nr_irqs_gsi: 88
> [ 0.000000] Kernel command line: root=/dev/sda1 ro quiet
> console=hvc0 nr_irqs=65536
> [ 0.000000] NR_IRQS:4352 nr_irqs:256
>
> tweaking the NR_IRQS macro in the kernel will change the NR_IRQS
> output, but unfortunately that doesn't change nr_irqs and I run into
> the same limit (36 domus on a less-beefy dual core machine).
Yes, NR_IRQS is the hard limit (for any statically defined irq arrays,
which are deprecated now), but nr_irqs is the amount it decides to
actually allocate for dynamic irq arrays, and so represents the actual
runtime limit.
nr_irqs is computed in arch_probe_nr_irqs(), and its a function of the
number of cpus, with a bump to deal with dynamically allocated MSI
interrupts. I should probably add something to specifically add more if
we're running under Xen, at least as a workaround (ultimately the plan
is to make all irqs completely dynamically allocated so there is no hard
limit).
>
> I did find this:
> http://blogs.sun.com/fvdl/entry/a_million_vms
> which references NR_DYNIRQS, which is in 2.6.18, but not in the pvops
> kernel.
I'm pretty sure that's referring to Solaris dom0, so the fact that
there's a similarly named symbol is coincidence. (But the root problem
is the same.)
J
prev parent reply other threads:[~2010-04-28 18:13 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 7:41 XEN 4.0 + 2.6.31.13 pvops kernel : system crashes on starting 155th domU Yuvraj Agarwal
2010-04-27 9:02 ` Pasi Kärkkäinen
2010-04-27 17:14 ` Yuvraj Agarwal
2010-04-27 17:18 ` Pasi Kärkkäinen
2010-04-27 18:58 ` Yuvraj Agarwal
2010-04-27 19:29 ` Pasi Kärkkäinen
2010-04-27 13:59 ` Konrad Rzeszutek Wilk
2010-04-27 17:18 ` Yuvraj Agarwal
2010-04-27 18:51 ` Jeremy Fitzhardinge
2010-04-27 19:10 ` Yuvraj Agarwal
2010-04-27 19:27 ` Jeremy Fitzhardinge
2010-04-27 19:38 ` Yuvraj Agarwal
2010-04-28 0:43 ` Keir Fraser
2010-04-28 1:02 ` Yuvraj Agarwal
2010-04-28 3:45 ` Keir Fraser
2010-04-28 6:47 ` John McCullough
2010-04-28 3:53 ` Keir Fraser
2010-04-28 14:04 ` Konrad Rzeszutek Wilk
2010-04-28 16:57 ` Ian Campbell
2010-04-28 18:18 ` Jeremy Fitzhardinge
2010-04-28 22:51 ` Yuvraj Agarwal
2010-04-29 14:56 ` Konrad Rzeszutek Wilk
2010-04-30 3:12 ` Yuvraj Agarwal
2010-04-28 18:13 ` Jeremy Fitzhardinge [this message]
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=4BD87ACC.8010107@goop.org \
--to=jeremy@goop.org \
--cc=jmccullo@cs.ucsd.edu \
--cc=keir.fraser@eu.citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=xen-devel@lists.xensource.com \
--cc=yuvraj@cs.ucsd.edu \
/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).