[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM |
Date: |
Wed, 18 Mar 2015 16:55:49 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
* Li, Liang Z (address@hidden) wrote:
> > > > First explanation, why I think this don't fix the full problem.
> > > > Whith this patch, we fix the problem where we have a dirty block
> > > > layer but basically nothing dirtying the memory on the guest (we are
> > > > moving the 20 seconds from max_downtime for the blocklayer flush),
> > > > to 20 seconds until we have decided that the amount of dirty memory
> > > > is small enough to be transferred during max_downtime. But it is
> > > > still going to take 20 seconds to flush the block layer, and during
> > > > that 20 seconds, the amount of memory that can be dirty is HUGE.
> > >
> > > It's true.
> >
> > What kind of cache is it actually that takes 20s to flush here?
> >
>
> I run a script in the guest which do a dd operation, like this:
>
> #!/bin/sh
> for i in {1..1000000}
> do
> time dd if=/dev/zero of=/time.bdf bs=4k count=200000
> rm /time.bdf
> done
>
> It's an extreme case.
With what qemu options for the device, and what was your device
backed by?
Dave
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
- [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Liang Li, 2015/03/17
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Juan Quintela, 2015/03/17
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Li, Liang Z, 2015/03/17
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Li, Liang Z, 2015/03/18
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM,
Dr. David Alan Gilbert <=
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Li, Liang Z, 2015/03/19
- Re: [Qemu-devel] [PATCH] migration: flush the bdrv before stopping VM, Dr. David Alan Gilbert, 2015/03/19