[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] VM Migration on a NUMA server?
On Mon, Aug 3, 2015 at 6:10 PM Dario Faggioli <dario.faggioli@xxxxxxxxxx> wrote: On Sat, 2015-08-01 at 06:21 +0000, Kun Cheng wrote: OK I get it, memory is not moved right now. What I said was discussing the necessity of doing that. As according to the locality theory (e.g. programs always prone to access the data that is recently accessed) and potential memory access delay (memory pages are on Node A but vcpus are moved to Node B), then I suppose moving memory pages along with the vcpus are necessary. If it can be achieved we should be able to improve the VM execution performance, I suppose.(But probably it will introduce overhead as moving memory is really really annoying...) .And If my words still confuses you, please feel free to tell me which part misleads you :) Â
What do you mean by saying "There's no mean to do that"? Did the underlying implementation (e.g. functions or other things) have no or incomplete support for moving memory pages (I seldom explore the mechanism which deals with memory)? Or did you mean it's too tricky & difficult to complete such a goal?  > But setting a vcpu's affinity only seems to allow vcpu migration Yes 'local migration' cannot be seen as an actual 'memory migration'. But from the VM user's view, their VMs get scheduled to another node and relevant memory also 'appear' there so that's a fake 'move', strictly speaking. I'm also thinking about the plan B I mentioned. Basically that is following the VM migration procedures to learn how to move a page. I think both share something in common as moving a page is allocating a new one and copy old data to it (I'm still exploring how to let the vcpu access the new pages, remapping?), at the same time dirty pages etc. should be dealt. Am I correct? Â
I'm evaluating theÂfeasibility now and I wish (if I'm going to do it) it (or phase 1, maybe it should be split into multiple multiple stages to reduce the difficulty & complexity) can be completed in 6-8 months. Â
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |