xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: increase evtchn limits
@ 2010-05-21  8:14 Jan Beulich
  2010-05-21  9:25 ` Keir Fraser
  0 siblings, 1 reply; 11+ messages in thread
From: Jan Beulich @ 2010-05-21  8:14 UTC (permalink / raw)
  To: keir.fraser, mukesh.rathor; +Cc: xen-devel

>>> Keir Fraser  05/21/10 9:06 AM >>>
>How many CPUs do you have to bring up? How many event channels are we
>squandering per CPU in PV Linux right now (can you enumerate them)?

There are 5 event channels per CPU (timer, reschedule IPI, SMP call function IPI, SMP call function single IPI, and spinlock wakeup IPI).

While 4096 may seem plenty, I don't think it really is: With larger systems you not only have more CPUs, but you also generally have more devices (with e.g. MSI-X ones possibly requiring quite a number of event channels per device) plus you also expect to be able to run more guests, which in turn requires more event channels in Dom0. So I agree with Mukesh that we ought to find a reasonable way to overcome this limit.

Jan

^ permalink raw reply	[flat|nested] 11+ messages in thread
* increase evtchn limits
@ 2010-05-21  3:41 Mukesh Rathor
  2010-05-21  5:07 ` Zhigang Wang
  2010-05-21  7:01 ` Keir Fraser
  0 siblings, 2 replies; 11+ messages in thread
From: Mukesh Rathor @ 2010-05-21  3:41 UTC (permalink / raw)
  To: Xen-devel@lists.xensource.com

Hi,

I'm trying to boot up with lot more than 32 vcpus on this very large box.
I overcame vcpu_info[MAX_VIRT_CPUS] by doing vcpu placement hypercall
in guest, but now running into evt channel limit (lots of devices):

       unsigned long evtchn_pending[sizeof(unsigned long) * 8];

which limits to 512 max for my 64bit dom0. The only recourse seems to 
create a new struct shared_info_v2{}, and re-arrange it a bit with lot 
more event channels. Since, start_info has magic with version info, I 
can just check that in guest and use new shared_info...(doing the design 
on the fly here). I can create a new vcpuop saying the guest is using 
newer version.  Or forget new version of shared_info{}, I can just
put evtchn stuff in my own mfn and tell hypervisor to relocate it,
(just like vcpu_info does) via new VCPUOP_ call.

Keir, what do you think?

thanks,
Mukesh

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

end of thread, other threads:[~2010-05-21 20:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21  8:14 increase evtchn limits Jan Beulich
2010-05-21  9:25 ` Keir Fraser
2010-05-21  9:29   ` Keir Fraser
2010-05-21 11:09     ` Jan Beulich
2010-05-21 10:52   ` Jan Beulich
  -- strict thread matches above, loose matches on Subject: below --
2010-05-21  3:41 Mukesh Rathor
2010-05-21  5:07 ` Zhigang Wang
2010-05-21  7:12   ` Keir Fraser
2010-05-21 18:52     ` Mukesh Rathor
2010-05-21 20:15       ` Keir Fraser
2010-05-21  7:01 ` 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).