qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 2/6] add basic backup support to block driver


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v4 2/6] add basic backup support to block driver
Date: Tue, 26 Feb 2013 17:49:02 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Feb 25, 2013 at 03:49:11PM +0000, Dietmar Maurer wrote:
> > > We previously used LVM and run backup with 'idle' IO priority (CFQ) to 
> > > avoid
> > such behavior.
> > >
> > > But qemu does not provide an IO queue where we can set scheduling
> > priorities?
> > 
> > QEMU block jobs support rate-limiting.  Set it to 10-20% of the disk's 
> > throughput
> > and the slowness should go away but the backup takes longer.
> 
> Sorry, but I don't want to set a rate limit. I want to set an IO priority - 
> this is something different.
> My solution does not delay the backup.

QEMU is not in a position to implement global scheduling (priorities).
The QEMU process only knows about one guest.  If you have multiple
guests on the host an I/O "priority" inside QEMU process A will not take
into account QEMU process B.

Your solution *does* delay backup by 1 ms each iteration :).

Stefan



reply via email to

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