From: nicolas prochazka Subject: Re: Remove qemu_alloc_physram() Date: Thu, 28 May 2009 11:25:26 +0200 Message-ID: <2803e73b0905280225o69f91e13l975594aaca3beba8@mail.gmail.com> References: <2803e73b0905270308l70cf562jaca72bf67d1aafff@mail.gmail.com> <4A1D3711.2070603@redhat.com> <2803e73b0905270630t5579f141lcb1013ae9aa146a9@mail.gmail.com> <2803e73b0905270640n56d9bfa3x15c0ecabd0b4676f@mail.gmail.com> <4A1D4739.4070208@redhat.com> <4A1D68AC.3050300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mail-ew0-f176.google.com ([209.85.219.176]:60416 "EHLO mail-ew0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754966AbZE1JZ1 convert rfc822-to-8bit (ORCPT ); Thu, 28 May 2009 05:25:27 -0400 Received: by ewy24 with SMTP id 24so5208337ewy.37 for ; Thu, 28 May 2009 02:25:26 -0700 (PDT) In-Reply-To: <4A1D68AC.3050300@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: After some tests : with kvm-85 all seems to be ok for me, multiple qemu runs well with hu= gepage with kvm-86 + patch : after some time, vm reboot with strange disk corruption ( windows tells that's some file missing ) and cpu load is very important. Note : KVM 85 : ( run one qemu with -m 512 ) HugePages_Total: 13676 HugePages_Free: 13409 HugePages_Rsvd: 0 HugePages_Surp: 0 KVM 86 + patche HugePages_Total: 13676 HugePages_Free: 13412 HugePages_Rsvd: 0 HugePages_Surp: 0 I do not known if this difference is the bug cause. Regards Nicolas 2009/5/27 Avi Kivity : > Avi Kivity wrote: >> >> nicolas prochazka wrote: >>> >>> without -mem-prealloc >>> HugePages_Total: =A02560 >>> HugePages_Free: =A0 2296 >>> HugePages_Rsvd: =A0 =A0 =A00 >>> >>> so after minimum test, i can say that's your patch seems to be corr= ect >>> this problem. >>> >> >> It isn't correct, it doesn't generate the right alignment. >> > Better patch attached. > > -- > error compiling committee.c: too many arguments to function > >