On Tue, 2012-07-17 at 21:23 +0100, Ian Campbell wrote: > > I've been told that boxes with 16 NUMA nodes are coming out about > > now. > > > > This algorithm will start to have unreasonable performance with > > anything bigger than that. Eg choosing 16 NUMA nodes out of 32 would > > involve searching 601,080,390 combinations. 32 out of 64 gives 10^18. > > > > So I think we need a different approach :-(. > > If 16 are coming out now then 32 nodes are at least a little in the > future, and 16 won't be common just yet. > FWIW, I agree. Consider that 16 nodes systems exists right now only because AMD has an architecture where they're putting 2 nodes on one socket, which is something pretty special that might require some special thinking and consideration already. The point being assuming future 16, 32 and 64 nodes systems to just be like the machines we see now, only bigger, won't be something letting me sleep at night... :-D > The 4.2 freeze is starting to drag on and reworking this significantly > at this stage seems likely to take quite a while -- can we perhaps go > with the existing patches (with the known scalability limitation and > workaround of setting the explicit cpu affinity documented in the > release notes) and revisit for 4.3 and/or 4.2.1? > That would be fine by me. I already said in the other e-mail how I think we can and should address the potential scalability issue, at whatever time you think it's best. I'm fine with putting a limit on the maximum number of nodes a guest should span on (and that being more a feature than a workaround, and can definitely go in the release notes) wherever you like. If it's just a matter of putting a LIBXL__MAX_GUEST_NODES (or whatever) macro in libxl_internal.h, and enforce that, I'm fine doing it right now, as I'm reposting these last three patches either way. We just need to agree on a value to write besides it. :-) Thanks and Regards, Dario -- <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)