[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.
- To: Ian Campbell <ian.campbell@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
- From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
- Date: Fri, 5 Feb 2016 03:31:11 +0000
- Accept-language: en-US
- Cc: Wei Liu <wei.liu2@xxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>, Paul Durrant <Paul.Durrant@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxx>, "Lv, Zhiyuan" <zhiyuan.lv@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Zhang Yu <yu.c.zhang@xxxxxxxxxxxxxxx>, "Keir \(Xen.org\)" <keir@xxxxxxx>
- Delivery-date: Fri, 05 Feb 2016 03:31:33 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Thread-index: AQHRXzO0GYZZ2/WMzUmIfvb5dHRHGJ8cy4cg
- Thread-topic: [Xen-devel] [PATCH v3 3/3] tools: introduce parameter max_wp_ram_ranges.
> From: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> Sent: Thursday, February 04, 2016 6:06 PM
>
> On Wed, 2016-02-03 at 17:41 +0000, George Dunlap wrote:
> > But of course, since they they aren't actually ranges but just gpfns,
> > they're scattered randomly throughout the guest physical address
> > space.
>
> (Possibly) stupid question:
>
> Since, AIUI, the in-guest GPU driver is XenGT aware could it not allocate a
> contiguous range of pages at start of day to use as GPU PTs? Or even just N
> contiguous regions, e.g. i think the "8K" refers to pages, which is 16 2M
> allocations, which is a far more manageable number of ranges to track than
> 8096 individual pages.
>
We add XenGT awareness in guest driver at minimum requirement (e.g.
to handle address space ballooning due to graphics memory partitioning),
which only impacts hardware specific initialization code (thinking vgpu as
a new sku).
However we're hesitating to touch other general driver code, such as
allocation policy you mentioned earlier. Changing that part specifically
for one sku needs very strong reason to convince driver maintainer.
And we cannot assume above allocation policy can be always met.
Thanks
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|