[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] XEN: accelerate guest tr search.
Guest has 8 I/D TR entries, when tlb miss happens, VMM will check these 8 TR entries to see whether corresponding tlb entry can be found. In fact, guest may not use all of these 8 entry, for example, linux only uses first 2 ITR and first 4 DTR(maybe not exact). I add two members in vcpu struct, itr_maxslot, dtr_maxslot to record max entry number of guest ITR and DTR which are used by guest. So when VMM searches guest TRs, it doesn't need to check all TRs, just those used by guest. Since searching guest TR is a frequent operation, this patch should improve performance of dom0 and domU in theory. I don't have data :-). Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx> Thanks, -Anthony Attachment:
accelerate_guest_tr_search.patch _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |