qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] memory allocation of migration changed?


From: Stefan Priebe
Subject: Re: [Qemu-devel] memory allocation of migration changed?
Date: Tue, 11 Feb 2014 19:32:46 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Am 11.02.2014 17:22, schrieb Peter Lieven:


Am 11.02.2014 um 16:44 schrieb Stefan Hajnoczi <address@hidden>:

On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG
<address@hidden> wrote:
in the past (Qemu 1.5) a migration failed if there was not enogh memory
on the target host available directly at the beginning.

Now with Qemu 1.7 i've seen succeeded migrations but the kernel OOM
memory killer killing qemu processes. So the migration seems to takes
place without having anough memory on the target machine?

How much memory is the guest configured with?  How much memory does
the host have?

I wonder if there are zero pages that can be migrated almost "for
free" and the destination host doesn't touch.  When they are touched
for the first time after migration handover, they need to be allocated
on the destination host.  This can lead to OOM if you overcommitted
memory.

Can you reproduce the OOM reliably?  It should be possible to debug it
and figure out whether it's just bad luck or a true regression.

Stefan

Kernel Version would also be interesting as well as thp and ksm settings.

Kernel Host: 3.10.26

What's thp / ksm? how to get those settings?

Greets,
Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]