[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 0/2] xen: vnuma introduction for pv guest
On Tue, Nov 19, 2013 at 1:29 PM, Dario Faggioli <dario.faggioli@xxxxxxxxxx> wrote: > On mar, 2013-11-19 at 10:38 -0500, Konrad Rzeszutek Wilk wrote: >> On Mon, Nov 18, 2013 at 03:25:48PM -0500, Elena Ufimtseva wrote: >> > The patchset introduces vnuma to paravirtualized Xen guests >> > runnning as domU. >> > Xen subop hypercall is used to retreive vnuma topology information. >> > Bases on the retreived topology from Xen, NUMA number of nodes, >> > memory ranges, distance table and cpumask is being set. >> > If initialization is incorrect, sets 'dummy' node and unsets >> > nodemask. >> > vNUMA topology is constructed by Xen toolstack. Xen patchset is >> > available at https://git.gitorious.org/xenvnuma/xenvnuma.git:v3. >> >> Yeey! >> > :-) > >> One question - I know you had questions about the >> PROT_GLOBAL | ~PAGE_PRESENT being set on PTEs that are going to >> be harvested for AutoNUMA balancing. >> >> And that the hypercall to set such PTE entry disallows the >> PROT_GLOBAL (it stripts it off)? That means that when the >> Linux page system kicks in (as it has ~PAGE_PRESENT) the >> Linux pagehandler won't see the PROT_GLOBAL (as it has >> been filtered out). Which means that the AutoNUMA code won't >> kick in. >> >> (see http://article.gmane.org/gmane.comp.emulators.xen.devel/174317) >> >> Was that problem ever answered? >> > I think the issue is a twofold one. > > If I remember correctly (Elena, please, correct me if I'm wrong) Elena > was seeing _crashes_ with both vNUMA and AutoNUMA enabled for the guest. > That's what pushed her to investigate the issue, and led to what you're > summing up above. > > However, it appears the crash was due to something completely unrelated > to Xen and vNUMA, was affecting baremetal too, and got fixed, which > means the crash is now gone. > > It remains to be seen (I think) whether that also means that AutoNUMA > works. In fact, chatting about this in Edinburgh, Elena managed to > convince me pretty badly that we should --as part of the vNUMA support-- > do something about this, in order to make it work. At that time I > thought we should be doing something to avoid the system to go ka-boom, > but as I said, even now that it does not crash anymore, she was so > persuasive that I now find it quite hard to believe that we really don't > need to do anything. :-P Yes, you were right Dario :) See at the end. pv guests do not crash, but they have user space memory corruption. Ok, so I will try to understand what again had happened during this weekend. Meanwhile posting patches for Xen. > > I guess, as soon as we get the chance, we should see if this actually > works, i.e., in addition to seeing the proper topology and not crashing, > verify that AutoNUMA in the guest is actually doing is job. > > What do you think? Again, Elena, please chime in and explain how things > are, if I got something wrong. :-) > Oh guys, I feel really bad about not replying to these emails... Somehow these replies all got deleted.. wierd. Ok, about that automatic balancing. At the moment of the last patch automatic numa balancing seem to work, but after rebasing on the top of 3.12-rc2 I see similar issues. I will try to figure out what commits broke and will contact Ingo Molnar and Mel Gorman. Konrad, as of PROT_GLOBAL flag, I will double check once more to exclude errors from my side. Last time I was able to have numa_balancing working without any modifications from hypervisor side. But again, I want to double check this, some experiments might have appear being good :) > Regards, > Dario > > -- > <<This happens because I choose it to happen!>> (Raistlin Majere) > ----------------------------------------------------------------- > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > -- Elena _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |