xen-devel
RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table fromP2M table
To: |
"Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table fromP2M table |
From: |
"Han, Weidong" <weidong.han@xxxxxxxxx> |
Date: |
Tue, 22 Apr 2008 23:02:40 +0800 |
Cc: |
Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Xu, Anthony" <anthony.xu@xxxxxxxxx> |
Delivery-date: |
Tue, 22 Apr 2008 08:04:08 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<18445.64386.150962.36655@xxxxxxxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<08DF4D958216244799FC84F3514D70F00145C007@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <18445.64386.150962.36655@xxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcikiHFAtO/zOjNlQ/2eoFd+tHQ/KQAADOug |
Thread-topic: |
[Xen-devel] [PATCH] [VTD] Separate VT-d page table fromP2M table |
Espen Skoglund wrote:
> [Weidong Han]
>> Keir Fraser wrote:
>>> On 22/4/08 13:17, "Han, Weidong" <weidong.han@xxxxxxxxx> wrote:
>>>
>>>>> Are you saying that the VT-d 2MB page format is different from
>>>>> the EPT 2MB page format? Or that VTd does not support 2MB pages?
>>>>>
>>>>
>>>> Now VTd does not support 2MB pages.
>>>
>>> Then don't allow EPT 2MB mappings for domains which have passthru
>>> devices?
>>>
>
>> No, EPT is 2MB, VT-d page table is 4KB.
>
> So EPT only supports 2MB mappings? Not 4KB? That doesn't sound
> right.
No, EPT can support both 4KB and 2MB pages.
>
> Another possible inompatibility: The VT-d chipset I'm using only
> allows 4-level page tables. Not sure if similar restrictions might
> apply to EPT. Also, in another project I worked on I found it
> advantageous to emulate superpages in the guest even if this was not
> supported by the VT hardware --- lower memory footprint, quicker table
> lookups. Such optimizations might be another reason for separating
> the tables.
>
> That said, I would really disfavor separating the tables. There are
> enough memory management structures as it is right now. If the tables
> really, really, really need to be separated then don't make it a boot
> time option. The capabilities of VT-d (and probably also EPT) is
> readily available at initialization time, and that's where the
> decision for sharing or not should be done.
I think the option for sharing or not will be a temporary thing. If
community considers shared table or separate table is useless, we can
remove the one easily.
Randy (Weidong)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Han, Weidong
- Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Keir Fraser
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Han, Weidong
- Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Keir Fraser
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Han, Weidong
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Ian Pratt
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Han, Weidong
- Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Keir Fraser
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Han, Weidong
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Espen Skoglund
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table fromP2M table,
Han, Weidong <=
- RE: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Li, Xin B
- Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Keir Fraser
- Re: [Xen-devel] [PATCH] [VTD] Separate VT-d page table from P2M table, Samuel Thibault
|
|
|