Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1242117
| From | Andrew Cooper <andrew.cooper3@citrix.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Xen-devel] [RFC PATCH] Use vAPIC when doing IPI for PVHVM guests. |
| Date | 2015-10-08 11:40 +0200 |
| Message-ID | <qhfQ5-7WO-7@gated-at.bofh.it> (permalink) |
| References | <qh3vA-78b-19@gated-at.bofh.it> <qhbCN-210-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/10/15 06:05, Juergen Gross wrote: > On 10/07/2015 10:21 PM, Konrad Rzeszutek Wilk wrote: >> Hey, >> >> I was running some tools in which we would heavily do rescheduling >> of events - and realized to my surprise that the event channels (and >> the hypercall) would slow things down. If I used the vAPIC with its >> IPI support (so no VMEXIT) I got much much better performance. >> >> Now this is an RFC because: >> 1). I hadn't verified from the xentrace how much less VMEXITS we get. >> But I remember Boris's patches and they gave at least 10%. >> I think this will get the same performance or even better. >> >> 2). I don't know what to do with migration. That is if the guest >> migrates to older hardware it needs to recheck this I presume? > > Same problem applies to many other features. In case you want to > migrate to a machine with less features you'd have to mask those > features in the cpuid data of the domain. Those leaves in particular are from the HV set rather than the plain featureset. One way or another there will be an APIC to use, but those features are expected to appear/disappear across migrate to indicate whether hardware assistance is in use or not. Therefore, they should be resampled and re-acted-upon in the resume path. ~Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC PATCH] Use vAPIC when doing IPI for PVHVM guests. Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2015-10-07 22:30 +0200
[RFC PATCH v1 2/2] xen_nopv: Combine a bunch of the PV features that can be disabled Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> - 2015-10-07 22:30 +0200
Re: [RFC PATCH v1 2/2] xen_nopv: Combine a bunch of the PV features that can be disabled Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2015-10-07 23:40 +0200
Re: [RFC PATCH] Use vAPIC when doing IPI for PVHVM guests. Juergen Gross <jgross@suse.com> - 2015-10-08 07:10 +0200
Re: [Xen-devel] [RFC PATCH] Use vAPIC when doing IPI for PVHVM guests. Andrew Cooper <andrew.cooper3@citrix.com> - 2015-10-08 11:40 +0200
csiph-web