Received: from eggs.gnu.org ([208.118.235.92]:34249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdFPH-0006TM-2r for qemu-devel@nongnu.org; Fri, 17 May 2013 03:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdFPC-00068k-7f for qemu-devel@nongnu.org; Fri, 17 May 2013 03:48:51 -0400 Received: from [222.73.24.84] (port=28952 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdFPB-00067O-S7 for qemu-devel@nongnu.org; Fri, 17 May 2013 03:48:46 -0400 Message-ID: <5195E0A8.8060605@cn.fujitsu.com> Date: Fri, 17 May 2013 15:47:52 +0800 From: Wanlong Gao MIME-Version: 1.0 References: <5194ABFD.8040200@cn.fujitsu.com> <5194CAC3.9040908@redhat.com> In-Reply-To: <5194CAC3.9040908@redhat.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] QEMU NUMA and memory allocation problem Reply-To: gaowanlong@cn.fujitsu.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel , Wanlong Gao , ehabkost@redhat.com On 05/16/2013 08:02 PM, Paolo Bonzini wrote: > Il 16/05/2013 11:50, Wanlong Gao ha scritto: >> To see that this 300M memory is allocated from host node0 again, but not host node1 as >> I expected. >> >> We think that QEMU can't handled this numa memory allocation well, and it will cause the >> cross node memory access performance regression. >> >> Any thoughts? Or, am I missing something? > > Pinning memory to host NUMA nodes is not implemented. Something like > AutoNUMA would be able to balance the memory the right way. Any plan to implement this? Or, handle this by QEMU is not necessary? I just enabled AutoNUMA on the host kernel, but the memory allocation numbers seems no change at all. Am I missing something? Thanks, Wanlong Gao > > Paolo > >