From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arC5f-0005KT-9l for qemu-devel@nongnu.org; Fri, 15 Apr 2016 18:19:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arC5c-0002qt-5K for qemu-devel@nongnu.org; Fri, 15 Apr 2016 18:19:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arC5c-0002qo-0g for qemu-devel@nongnu.org; Fri, 15 Apr 2016 18:19:48 -0400 Date: Fri, 15 Apr 2016 18:19:43 -0400 From: Andrea Arcangeli Message-ID: <20160415221943.GJ9976@redhat.com> References: <20160413080545.GA2270@work-vm> <20160413114103.GB2270@work-vm> <20160413125053.GC2270@work-vm> <20160413205132.GG26364@redhat.com> <20160414123441.GF2252@work-vm> <20160414162230.GC9976@redhat.com> <20160415125236.GA3376@node.shutemov.name> <20160415134233.GG2229@work-vm> <20160415152330.GB3376@node.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160415152330.GB3376@node.shutemov.name> Subject: Re: [Qemu-devel] post-copy is broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kirill A. Shutemov" Cc: "Dr. David Alan Gilbert" , kirill.shutemov@linux.intel.com, "Li, Liang Z" , Amit Shah , "qemu-devel@nongnu.org" , "quintela@redhat.com" , linux-mm@kvack.org On Fri, Apr 15, 2016 at 06:23:30PM +0300, Kirill A. Shutemov wrote: > The same here. Freshly booted machine with 64GiB ram. I've checked > /proc/vmstat: huge pages were allocated I tried the test in a loop and I can't reproduce it here. Tested with gcc 4.9.3 and glibc 2.21 and glibc 2.22 so far, qemu&kernel/KVM latest upstream (4.6-rc3..). You can run this in between each invocation to guarantee all memory is backed by THP (no need of reboot): # echo 3 >/proc/sys/vm/drop_caches # echo >/proc/sys/vm/compact_memory 4.5 kernel built with gcc 5.3.1 run on a older userland worked fine too. Next thing to test would be if there's something wrong with qemu built with gcc 5.3.1 if run on top of a 4.4 kernel?