From: Akio Takebe Subject: RE: [RFC] Xen NUMA strategy Date: Tue, 18 Sep 2007 15:57:33 +0900 Message-ID: <56C7F9C1301E25takebe_akio@jp.fujitsu.com> References: <46EA7906.2010504@amd.com> <54C7F9BA4B1341takebe_akio@jp.fujitsu.com> <51CFAB8CB6883745AE7B93B3E084EBE2011113AE@pdsmsx412.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51CFAB8CB6883745AE7B93B3E084EBE2011113AE@pdsmsx412.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xu, Anthony" , Andre Przywara , xen-devel@lists.xensource.com Cc: Akio Takebe List-Id: xen-devel@lists.xenproject.org Hi, Anthony >>We may need to write something about guest NUMA in guest configuration >file. >>For example, in guest configuration file; >>vnode = >>vcpu = [, ...] >>memory = [, ...] >> >>e.g. >>vnode = 2 >>vcpu = [0-1:0, 2-3:1] >>memory = [128:0, 128:1] >> >>If we setup vnode=1, old OSes should work fine. > >This is something we need to do. >But if user forget to configure guest NUMA in guest configuration file. >Xen needs to provide an optimized guest NUMA information based on >current workload on physical machine. >We need provide both, user configuration can override default >configuration. > It sounds good. >> >>And almost OSes read NUMA configuration only at booting and CPU/memory >>hotplug. >>So if xen migrate vcpu, xen has to occur hotpulg event. >Guest should not know the vcpu migration, so xen doesn't trigger hotplug >event to guest. > >Maybe we should not call it vcpu migration; we can call it vnode >migration. >Xen (maybe dom0 application) needs to migrate vnode ( include vcpus and >memorys) from a physical node to another physical node. The guest NUMA >topology is not changed, so Xen doesn't need to inform guest of the >vnode migration. > I got it. It sounds cool. >And I think imbalanced is rare in VMM if user doesn't create and destroy >domain frequently. And VMs on VMM are far less than applications on >machine. > I also think so. Best Regards, Akio Takebe