From: David Vrabel <dvrabel@cantab.net>
To: Anil Madhavapeddy <anil@recoil.org>
Cc: xen-users@lists.xen.org, George Dunlap <dunlapg@umich.edu>,
"cl-mirage@lists.cam.ac.uk List" <cl-mirage@lists.cam.ac.uk>,
xen-devel@lists.xen.org
Subject: Re: Request for input: Extended event channel support
Date: Wed, 27 Mar 2013 21:53:02 +0000 [thread overview]
Message-ID: <51536A3E.2020302@cantab.net> (raw)
In-Reply-To: <8E3B77A0-C082-4F98-995E-CC1514631D49@recoil.org>
On 27/03/2013 19:36, Anil Madhavapeddy wrote:
> On 27 Mar 2013, at 11:23, George Dunlap <dunlapg@umich.edu> wrote:
>>
>> The FIFO solution makes event delivery a matter of adding items to a
>> highly structured linked list. The number of event channels for the
>> interface design has a theoretical maximum of 2^28; the current
>> implementation is limimited at 2^17, which is over 100,000. The
>> number is the same for both 32-bit and 64-bit kernels.
>
> Is there any reason for such a low default? If I'm not mistaken,
> every guest needs at least 2 event channels (console, xenstore) and
> probably has two more for a net and disk device.
131,072 seemed high enough to me but I'd forgotten about the Mirage use
case.
This can be trivially raised to 2^19 (524,288). Beyond that, the
implementation becomes slightly more complex as the pointers to the
event array pages no longer fit in a single page.
> With stub-domains in the mix, we could easily imagine running 25,000
> VMs with a couple of megabytes of RAM each using Mirage (which can
> boot very low memory guests without too much trouble).
Having said that, with 25,000 VMs it would seem sensible to disaggregate
things like the console and xenstore (in addition to the network and
block backends). Thus reducing the need for event channels for any
single domain.
David
next prev parent reply other threads:[~2013-03-27 21:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 11:23 Request for input: Extended event channel support George Dunlap
2013-03-27 19:36 ` Anil Madhavapeddy
2013-03-27 21:53 ` David Vrabel [this message]
2013-03-27 22:28 ` Anil Madhavapeddy
2013-03-27 22:31 ` Wei Liu
2013-03-28 12:51 ` Felipe Franciosi
2013-03-28 12:54 ` Anil Madhavapeddy
2013-03-28 13:02 ` Felipe Franciosi
2013-04-10 10:45 ` [Xen-users] " Ian Campbell
2013-04-10 16:14 ` Anil Madhavapeddy
2013-04-10 10:45 ` Ian Campbell
2013-03-28 1:56 ` Konrad Rzeszutek Wilk
2013-03-28 11:10 ` George Dunlap
2013-03-28 11:34 ` Jan Beulich
2013-03-29 13:05 ` Konrad Rzeszutek Wilk
2013-04-02 7:44 ` Jan Beulich
2013-04-02 14:20 ` Konrad Rzeszutek Wilk
2013-04-04 13:31 ` George Dunlap
2013-04-10 10:49 ` [Xen-users] " Ian Campbell
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=51536A3E.2020302@cantab.net \
--to=dvrabel@cantab.net \
--cc=anil@recoil.org \
--cc=cl-mirage@lists.cam.ac.uk \
--cc=dunlapg@umich.edu \
--cc=xen-devel@lists.xen.org \
--cc=xen-users@lists.xen.org \
/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 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.