lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.
>


\
 
 \ /
  Last update: 2013-01-18 16:21    [W:0.183 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site