qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3] block: Add support for Secure Shell (ssh) bl


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH v3] block: Add support for Secure Shell (ssh) block device.
Date: Tue, 26 Mar 2013 14:21:39 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Tue, Mar 26, 2013 at 10:38:46AM +0000, Richard W.M. Jones wrote:
> +    /* According to the docs, this just updates a field in the
> +     * sftp_handle structure, so there is no network traffic and it
> +     * cannot fail.
> +     */
> +    libssh2_sftp_seek64(s->sftp_handle, offset);

While I was looking at the performance of qemu+ssh vs sshfs, I noticed
that the line above has a catastrophic effect on performance, since it
causes all readahead data to be thrown away.  Ooops.  I'm reworking
the patch to make seeking more intelligent.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/



reply via email to

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