[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130118144648.GD9214@phenom.dumpdata.com>
Date: Fri, 18 Jan 2013 09:46:48 -0500
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To: Ian Campbell <Ian.Campbell@...rix.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"annie.li@...cle.com" <annie.li@...cle.com>,
"msw@...zon.com" <msw@...zon.com>
Subject: Re: [Xen-devel] [PATCH] xen/grant-table: Force to use v1 of grants.
On Thu, Jan 17, 2013 at 01:12:36PM +0000, Ian Campbell wrote:
> On Wed, 2013-01-16 at 21:22 +0000, Konrad Rzeszutek Wilk wrote:
> > Note: The hypervisor provides an over-ride for the default
> > of 32 frames (pages) per guest: gnttab_max_nr_frames=X
>
> Should we consider increasing this value?
The fuzzy math is that for a VIF, you end up using 512 grants. For a VBD
it is 352 grants. With V1 you have 512 grants in a page, with V2 you have
256. So roughly the math is that you can at max 31VIFs and 1VBD with V1
(PVHVM guests) and 15VIFs and 1VBD with V2 (so all PV guests).
I would increase the value, but I don't know what a good value is.
>
> Ian.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists