On 28/09/18 09:24, Simon Kuenzer wrote: > Hey, > > for some research we are currently looking into mapping big memory > regions to PV guests. With big I mean 100s to 1000s of mega bytes. > Using one grant for each 4K page seems to be expensive although we got > it working so far. > Is there another mechanism we could look into? Is changing the > granularity to huge pages promising? What would we need to do roughly > to support it?
There is no provision in the Grant API for >4k grants at the moment. In principle, one could be added. That said, PV guests are allocated using exclusively 4k pages. They don't in general end up physically contiguous, so superpage grants won't be of any help. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel