WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] increase evtchn limits

To: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] increase evtchn limits
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 21 May 2010 08:12:13 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 21 May 2010 00:13:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BF6151E.7050204@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr4o7PExLLua0FOQM2I/JWZcPzJFgAETvGY
Thread-topic: [Xen-devel] increase evtchn limits
User-agent: Microsoft-Entourage/12.24.0.100205
On 21/05/2010 06:07, "Zhigang Wang" <zhigang.x.wang@xxxxxxxxxx> 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.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel