From: Ian Campbell Subject: Re: Spurious "NUMA placement failed, performance might be affected" message on ARM Date: Mon, 28 Apr 2014 11:01:33 +0100 Message-ID: <1398679293.29700.30.camel@kazak.uk.xensource.com> References: <1398422242.18537.411.camel@kazak.uk.xensource.com> <1398678915.6102.69.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398678915.6102.69.camel@Solace> 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: xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2014-04-28 at 11:55 +0200, Dario Faggioli wrote: > While I wonder why that does not happen on ARM, a sensible solution > would be to bail earlier, if we find only one NUMA node exist, for > whatever arch. Would that be ok? If yes, I can arrange a patch pretty > easily, I think. I suppose if ARM is also reporting 1 node then for some reason this check isn't hitting and moving it earlier won't help (not that it would be a bad idea independently to optimise this a bit). Perhaps ARM is reporting no NUMA nodes? The xl info -n output suggests not but where else should I check. > > For figuring out why the different behavior... Do you have the output of > `xl info -n' on that box handy, by any chance? Here you are: # xl info -n host : marilith-n0 release : 3.14.0-arm-native-10322-g0903f4b version : #6 SMP Thu Apr 17 14:03:36 BST 2014 machine : armv7l nr_cpus : 4 max_cpu_id : 127 nr_nodes : 1 cores_per_socket : 1 threads_per_core : 1 cpu_mhz : 150 hw_caps : 00000000:00000000:00000000:00000000:00000000:00000000:00000000:00000000 virt_caps : total_memory : 8184 free_memory : 6933 sharing_freed_memory : 0 sharing_used_memory : 0 outstanding_claims : 0 free_cpus : 0 cpu_topology : cpu: core socket node 0: 0 0 0 1: 0 0 0 2: 0 0 0 3: 0 0 0 numa_info : node: memsize memfree distances 0: 4088 3861 20 xen_major : 4 xen_minor : 5 xen_extra : -unstable xen_version : 4.5-unstable xen_caps : xen-3.0-armv7l xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0x200000 xen_changeset : Thu Apr 24 16:14:47 2014 +0100 git:499282e-dirty xen_commandline : console=dtuart dtuart=/soc/serial@fff36000 dom0_mem=128M noreboot conswitch=x loglvl=all guest_loglvl_all cc_compiler : gcc (Debian 4.6.3-14) 4.6.3 cc_compile_by : ianc cc_compile_domain : uk.xensource.com cc_compile_date : Fri Apr 25 13:38:05 BST 2014 xend_config_format : 4