[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] add flag to enforce hugepage backing of guest RAM



On Tue, Feb 04, 2014 at 05:26:31PM +0000, Daniel P. Berrange wrote:
> On Tue, Feb 04, 2014 at 12:22:00PM -0500, Marcelo Tosatti wrote:
> > 
> > You're OK with StrictHugePageSize=N element ?
> 
> I'm not entirely sure what that would do ? Is that for when people want
> to have a specific size of hugepages ? If so, then I guess we might
> actually need some kind of granularity here.
> 
> eg if the user has a 1200 MB guest, and they want to use 1 GB huge
> pages, then there's a choice between 2 * 1GB huge pages, or 1 x 1GB
> and n * 4M huge pages, or an error requiring that their guest RAM is
> a multiple of requested huge page size.

Yes, they want to fail VM initialization if it cannot be backed by a specific
hugepage size.

> So perhaps we do need some "policy" attribute on the <hugepages/>
> element to indicate desired behaviour here.

OK, thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]