Re: [Xen-devel] RFC: vNUMA project

2014-11-19 Thread George Dunlap
On Tue, Nov 11, 2014 at 5:36 PM, Wei Liu wrote: > Third stage: > >Basic PoD Ballooning Mem_relocation > PV/PVH Y na Y na > HVM Y YY X > > NUMA-aware PoD? Hmm, that will certainly be interesting. :-) The point of PoD is t

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Wei Liu
On Wed, Nov 12, 2014 at 09:23:58AM -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Nov 12, 2014 at 12:14:48PM +, Wei Liu wrote: > > On Tue, Nov 11, 2014 at 06:03:22PM +, David Vrabel wrote: > > > On 11/11/14 17:36, Wei Liu wrote: > > > > # What's already implemented? > > > > > > > > PV vNUMA

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Konrad Rzeszutek Wilk
On Wed, Nov 12, 2014 at 12:14:48PM +, Wei Liu wrote: > On Tue, Nov 11, 2014 at 06:03:22PM +, David Vrabel wrote: > > On 11/11/14 17:36, Wei Liu wrote: > > > # What's already implemented? > > > > > > PV vNUMA support in libxl/xl and Linux kernel. > > > > Linux doesn't have vnuma yet, altho

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Jan Beulich
>>> On 12.11.14 at 15:40, wrote: > So what's the "usual technique" in Linux to make sure if a specific > Xen feature is present? > > Jan, is it suitable to use a XENFEAT_* bit for this? Yes, that would be the canonical way. Jan ___ Xen-devel mailing

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Wei Liu
On Wed, Nov 12, 2014 at 02:29:56PM +, David Vrabel wrote: > On 12/11/14 14:27, Wei Liu wrote: > > On Wed, Nov 12, 2014 at 02:13:09PM +, Jan Beulich wrote: > > On 12.11.14 at 14:45, wrote: > >>> On Wed, Nov 12, 2014 at 09:35:01AM +, Jan Beulich wrote: > >>> On 11.11.14 at 19:03,

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread David Vrabel
On 12/11/14 14:27, Wei Liu wrote: > On Wed, Nov 12, 2014 at 02:13:09PM +, Jan Beulich wrote: > On 12.11.14 at 14:45, wrote: >>> On Wed, Nov 12, 2014 at 09:35:01AM +, Jan Beulich wrote: >>> On 11.11.14 at 19:03, wrote: > On 11/11/14 17:36, Wei Liu wrote: >> Option #1 requir

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Wei Liu
On Wed, Nov 12, 2014 at 02:13:09PM +, Jan Beulich wrote: > >>> On 12.11.14 at 14:45, wrote: > > On Wed, Nov 12, 2014 at 09:35:01AM +, Jan Beulich wrote: > >> >>> On 11.11.14 at 19:03, wrote: > >> > On 11/11/14 17:36, Wei Liu wrote: > >> >> Option #1 requires less modification to guest, be

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Jan Beulich
>>> On 12.11.14 at 14:45, wrote: > On Wed, Nov 12, 2014 at 09:35:01AM +, Jan Beulich wrote: >> >>> On 11.11.14 at 19:03, wrote: >> > On 11/11/14 17:36, Wei Liu wrote: >> >> Option #1 requires less modification to guest, because guest won't >> >> need to switch to new hypercall. It's unclear a

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Wei Liu
On Wed, Nov 12, 2014 at 09:35:01AM +, Jan Beulich wrote: > >>> On 11.11.14 at 19:03, wrote: > > On 11/11/14 17:36, Wei Liu wrote: > >> Option #1 requires less modification to guest, because guest won't > >> need to switch to new hypercall. It's unclear at this point if a guest > >> asks to pop

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Wei Liu
On Tue, Nov 11, 2014 at 06:03:22PM +, David Vrabel wrote: > On 11/11/14 17:36, Wei Liu wrote: > > # What's already implemented? > > > > PV vNUMA support in libxl/xl and Linux kernel. > > Linux doesn't have vnuma yet, although the last set of patches I saw > looked fine and were waiting for ac

Re: [Xen-devel] RFC: vNUMA project

2014-11-12 Thread Jan Beulich
>>> On 11.11.14 at 19:03, wrote: > On 11/11/14 17:36, Wei Liu wrote: >> Option #1 requires less modification to guest, because guest won't >> need to switch to new hypercall. It's unclear at this point if a guest >> asks to populate a gpfn that doesn't belong to any vnode, what Xen >> should do ab

Re: [Xen-devel] RFC: vNUMA project

2014-11-11 Thread David Vrabel
On 11/11/14 17:36, Wei Liu wrote: > # What's already implemented? > > PV vNUMA support in libxl/xl and Linux kernel. Linux doesn't have vnuma yet, although the last set of patches I saw looked fine and were waiting for acks from x86 maintainers I think. > # NUMA-aware ballooning > > It's agreed

[Xen-devel] RFC: vNUMA project

2014-11-11 Thread Wei Liu
# What's already implemented? PV vNUMA support in libxl/xl and Linux kernel. # What's planned but yet implemented? NUMA-aware ballooning, HVM vNUMA # How is vNUMA used in toolstack and Xen? On libxl level, user (xl and other higher level toolstack) can specify number of vnodes, size of a vnode