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

2014-04-24 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@gmail.com) wrote: On Tue, Feb 11, 2014 at 07:30:54PM +0100, Stefan Priebe wrote: Am 11.02.2014 16:44, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: in the past (Qemu 1.5) a migration failed

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

2014-03-12 Thread Stefan Priebe
Am 24.02.2014 17:13, schrieb Eric Blake: On 02/24/2014 08:00 AM, Stefan Hajnoczi wrote: What is the right way to check for enough free memory and memory usage of a specific vm? I would approach it in terms of guest RAM allocation plus QEMU overhead: host_ram = num_guests *

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

2014-02-24 Thread Stefan Hajnoczi
On Fri, Feb 14, 2014 at 07:16:17PM +0100, Stefan Priebe wrote: Am 14.02.2014 16:03, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 07:30:54PM +0100, Stefan Priebe wrote: Am 11.02.2014 16:44, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG

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

2014-02-24 Thread Eric Blake
On 02/24/2014 08:00 AM, Stefan Hajnoczi wrote: What is the right way to check for enough free memory and memory usage of a specific vm? I would approach it in terms of guest RAM allocation plus QEMU overhead: host_ram = num_guests * guest_ram_size + num_guests * qemu_overhead The

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

2014-02-14 Thread Stefan Hajnoczi
On Tue, Feb 11, 2014 at 07:32:46PM +0100, Stefan Priebe wrote: Am 11.02.2014 17:22, schrieb Peter Lieven: Am 11.02.2014 um 16:44 schrieb Stefan Hajnoczi stefa...@gmail.com: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: in the past (Qemu 1.5)

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

2014-02-14 Thread Stefan Hajnoczi
On Tue, Feb 11, 2014 at 07:30:54PM +0100, Stefan Priebe wrote: Am 11.02.2014 16:44, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: in the past (Qemu 1.5) a migration failed if there was not enogh memory on the target host

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

2014-02-14 Thread Stefan Priebe
Am 14.02.2014 15:59, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 07:32:46PM +0100, Stefan Priebe wrote: Am 11.02.2014 17:22, schrieb Peter Lieven: Am 11.02.2014 um 16:44 schrieb Stefan Hajnoczi stefa...@gmail.com: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG

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

2014-02-14 Thread Stefan Priebe
Am 14.02.2014 16:03, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 07:30:54PM +0100, Stefan Priebe wrote: Am 11.02.2014 16:44, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: in the past (Qemu 1.5) a migration failed if

[Qemu-devel] memory allocation of migration changed?

2014-02-11 Thread Stefan Priebe - Profihost AG
Hello, 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

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

2014-02-11 Thread Stefan Hajnoczi
On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag 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

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

2014-02-11 Thread Peter Lieven
Am 11.02.2014 um 16:44 schrieb Stefan Hajnoczi stefa...@gmail.com: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag 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.

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

2014-02-11 Thread Stefan Priebe
Am 11.02.2014 16:44, schrieb Stefan Hajnoczi: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag 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

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

2014-02-11 Thread Stefan Priebe
Am 11.02.2014 17:22, schrieb Peter Lieven: Am 11.02.2014 um 16:44 schrieb Stefan Hajnoczi stefa...@gmail.com: On Tue, Feb 11, 2014 at 3:54 PM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: in the past (Qemu 1.5) a migration failed if there was not enogh memory on the target host