From: "Jan Beulich" Subject: Re: NUMA TODO-list for xen-devel Date: Thu, 02 Aug 2012 15:07:07 +0100 Message-ID: <501AA5AB0200007800092399@nat28.tlf.novell.com> References: <1343837796.4958.32.camel@Solace> <501A67C502000078000921FF@nat28.tlf.novell.com> <1343914490.4873.18.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343914490.4873.18.camel@Solace> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Andre Przywara , Anil Madhavapeddy , George Dunlap , xen-devel , Andrew Cooper , Yang Z Zhang List-Id: xen-devel@lists.xenproject.org >>> On 02.08.12 at 15:34, Dario Faggioli wrote: > On Thu, 2012-08-02 at 10:43 +0100, Jan Beulich wrote: >> >>> On 01.08.12 at 18:16, Dario Faggioli wrote: >> > - Virtual NUMA topology exposure to guests (a.k.a guest-numa). If a >> > guest ends up on more than one nodes, make sure it knows it's >> > running on a NUMA platform (smaller than the actual host, but >> > still NUMA). This interacts with some of the above points: >> >> The question is whether this is really useful beyond the (I would >> suppose) relatively small set of cases where migration isn't >> needed. >> > Mmm... Not sure I'm getting what you're saying here, sorry. Are you > suggesting that exposing a virtual topology is not a good idea as it > poses constraints/prevents live migration? Yes. > If yes, well, I mostly agree that this is an huge issue, and that's why > I think wee need some bright idea on how to deal with it. I mean, it's > easy to make it optional and let it automatically disable migration, > giving users the choice what they prefer, but I think this is more > dodging the problem than dealing with it! :-P Indeed. >> > * consider this during automatic placement for >> > resuming/migrating domains (if they have a virtual topology, >> > better not to change it); >> > * consider this during memory migration (it can change the >> > actual topology, should we update it on-line or disable memory >> > migration?) >> >> The question is whether trading functionality for performance >> is an acceptable choice. >> > Indeed. Again, I think it is possible to implement things flexibly > enough, but then we need to come out with a sane default, so we're not > allowed to avoid discussing and deciding on this. > > One can argue that it is an issue only for big-enough guests (and/or > nearly overcommitted hosts) that don't fit in only one node (as, if they > do, there is no virtual topology to export), but I'm not sure we can > neglect them on this basis. We certainly can't, the more that the "big enough" case may not be that infrequent going forward. Jan