[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels |
Date: |
Wed, 04 Feb 2015 16:04:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 04/02/2015 15:34, Daniel P. Berrange wrote:
> > GIO doesn't provide writev either, so it's not a good match for
> > non-encrypted migration, which really tries hard to do no copies in
> > userspace.
>
> Ok, maybe RDMA will still need QEMUFile, but for non-encrypted TCP
> I'd hope to be able to achieve zero-copy with the new API too - it
> would certainly be my intention/goal.
For GIO/GIOChannel, you'd have to choose between zerocopy and many
syscalls, or one copy and few syscalls. Since every page has two iov
entries, one of which is just 8 bytes, one copy and few syscalls is
probably faster---but still only half the speed of writev.
Paolo
- [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels,
Paolo Bonzini <=
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Daniel P. Berrange, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Stefan Hajnoczi, 2015/02/05
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Cornelia Huck, 2015/02/05
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Peter Maydell, 2015/02/05
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Markus Armbruster, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Peter Maydell, 2015/02/04
- Re: [Qemu-devel] RFC: Universal encryption on QEMU I/O channels, Markus Armbruster, 2015/02/04