From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id B800F6B007E for ; Mon, 18 Apr 2016 05:59:03 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id u190so320414623pfb.0 for ; Mon, 18 Apr 2016 02:59:03 -0700 (PDT) Received: from mga03.intel.com (mga03.intel.com. [134.134.136.65]) by mx.google.com with ESMTP id f8si4610684pad.63.2016.04.18.02.59.02 for ; Mon, 18 Apr 2016 02:59:03 -0700 (PDT) From: "Li, Liang Z" Subject: RE: post-copy is broken? Date: Mon, 18 Apr 2016 09:58:59 +0000 Message-ID: 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> <20160415221943.GJ9976@redhat.com> <20160418094056.GB2222@work-vm> In-Reply-To: <20160418094056.GB2222@work-vm> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: "Dr. David Alan Gilbert" , Andrea Arcangeli Cc: "Kirill A. Shutemov" , "kirill.shutemov@linux.intel.com" , Amit Shah , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "linux-mm@kvack.org" > * Andrea Arcangeli (aarcange@redhat.com) wrote: > > 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? >=20 > It's also working for me on f24 (4.5.0-320 packaged kernel) on a real mac= hine; > so we currently have two sets that break: >=20 > a) Liang Li's setup (that breaks with the migrate of a real VM but I d= on't > think we have any details of the setup); > works with 4.4.x breaks with 4.5.x >=20 The host OS is Centos 7, I just replace the kernel with 4.4/4.5, I can prov= ide the .config for the kernel=20 if you think it's helpful. The guest OS is CentOS6.6, 2.6.32-504.el6.x86_64 Liang > b) f24 nested with my test, with THP enabled after Kirill's changes. >=20 > Dave >=20 > -- > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org