Re: Remove qemu_alloc_physram()

nicolas prochazka
2009-05-28T09:25:27Z

After some tests :
with kvm-85 all seems to be ok for me, multiple qemu runs well with hugepage
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@redhat.com>:
> Avi Kivity wrote:
>>
>> nicolas prochazka wrote:
>>>
>>> without -mem-prealloc
>>> HugePages_Total:  2560
>>> HugePages_Free:   2296
>>> HugePages_Rsvd:      0
>>>
>>> so after minimum test, i can say that's your patch seems to be correct
>>> 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
>
>