From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: increase evtchn limits Date: Fri, 21 May 2010 08:12:13 +0100 Message-ID: References: <4BF6151E.7050204@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BF6151E.7050204@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Zhigang Wang , Mukesh Rathor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 21/05/2010 06:07, "Zhigang Wang" wrote: >> unsigned long evtchn_pending[sizeof(unsigned long) * 8]; >> > I'm not sure, but it seems: 1024 for 32bit and 4096 for 64bit. > > 32bit: 4 * (4 * 8) * 8 = 1024 > 64bit: 8 * (8 * 8) * 8 = 4096 This is correct. Which is why I wonder how many CPUs you are dealing with, and how many event channels are being allocated per CPU. 4096 event channels ought to be plenty for dom0 bringup on even a very big system. K.