[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Why I advise against using ivshmem
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] Why I advise against using ivshmem |
Date: |
Wed, 18 Jun 2014 18:51:20 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Jun 17, 2014 at 11:03:32AM +0200, David Marchand wrote:
> On 06/17/2014 04:54 AM, Stefan Hajnoczi wrote:
> >ivshmem has a performance disadvantage for guest-to-host
> >communication. Since the shared memory is exposed as PCI BARs, the
> >guest has to memcpy into the shared memory.
> >
> >vhost-user can access guest memory directly and avoid the copy inside the
> >guest.
>
> Actually, you can avoid this memory copy using frameworks like DPDK.
I guess it's careful to allocate all packets in the mmapped BAR?
That's fine if you can modify applications but doesn't work for
unmodified applications using regular networking APIs.
Stefan
pgpWJijRh_1G7.pgp
Description: PGP signature
- Re: [Qemu-devel] Why I advise against using ivshmem, (continued)
- Re: [Qemu-devel] Why I advise against using ivshmem, David Marchand, 2014/06/17
- Re: [Qemu-devel] Why I advise against using ivshmem, Paolo Bonzini, 2014/06/17
- Re: [Qemu-devel] Why I advise against using ivshmem, Stefan Hajnoczi, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, David Marchand, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, Paolo Bonzini, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, Stefan Hajnoczi, 2014/06/21
- Re: [Qemu-devel] Why I advise against using ivshmem, Cam Macdonell, 2014/06/26
- Re: [Qemu-devel] Why I advise against using ivshmem, Andreas Färber, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, David Marchand, 2014/06/19
- Re: [Qemu-devel] Why I advise against using ivshmem, Markus Armbruster, 2014/06/30
- Re: [Qemu-devel] Why I advise against using ivshmem,
Stefan Hajnoczi <=
- Re: [Qemu-devel] Why I advise against using ivshmem, David Marchand, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, Claudio Fontana, 2014/06/18
- Re: [Qemu-devel] Why I advise against using ivshmem, Olivier MATZ, 2014/06/13
- Re: [Qemu-devel] Why I advise against using ivshmem, Jobin Raju George, 2014/06/13
Re: [Qemu-devel] Using virtio for inter-VM communication, Rusty Russell, 2014/06/11