qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v4 3/6] add backup related monitor commands
Date: Thu, 28 Feb 2013 15:49:20 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Feb 27, 2013 at 03:50:53PM +0000, Dietmar Maurer wrote:
> > NBD enables interprocess communication - any form of IPC requires a protocol
> > and NBD is quite a trivial one.  What is a simpler way of talking to a 
> > backup
> > server?
> 
> Unfortunately, NBD add considerable overheads. I guess the socket 
> communications copies data.
> This is really unnecessary if I can write directly to the output stream.

The disk is the bottleneck, not memory bandwidth.  Hard disks only do
10-100 MB/sec and SSDs only do a couple 100 MB/sec.  Memory copy is
insignificant compared to the I/O activity required to copy out the
entire disk image, not to mention delaying guest writes until we read
the original data from the disk.

Unless there's a concrete performance problem here this is premature
optimization.

Stefan



reply via email to

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