From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [Qemu-devel] Why I advise against using ivshmem Date: Tue, 17 Jun 2014 11:03:32 +0200 Message-ID: <53A00464.8090609@6wind.com> References: <20140610184818.2e490419@nbschild1> <53978375.6090707@6wind.com> <87ppie1v4r.fsf@blackfin.pond.sub.org> <20140612094413.15e56938@nbschild1> <87vbs6qjhj.fsf_-_@blackfin.pond.sub.org> <5399CF09.8030803@6wind.com> <87ppidnqmy.fsf@blackfin.pond.sub.org> <539AC3E0.9090404@6wind.com> <539ACDE6.7020709@redhat.com> <539AFF7C.7090702@6wind.com> <539B064D.2050501@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Vincent JARDIN , Henning Schild , Olivier MATZ , kvm , qemu-devel , Linux Virtualization , "thomas.monjalon@6wind.com" To: Stefan Hajnoczi , Paolo Bonzini Return-path: Received: from mail-we0-f176.google.com ([74.125.82.176]:48971 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755264AbaFQJDi (ORCPT ); Tue, 17 Jun 2014 05:03:38 -0400 Received: by mail-we0-f176.google.com with SMTP id u56so6940987wes.35 for ; Tue, 17 Jun 2014 02:03:37 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Hello all, 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. > Unless someone steps up and maintains ivshmem, I think it should be > deprecated and dropped from QEMU. Then I can maintain ivshmem for QEMU. If this is ok, I will send a patch for MAINTAINERS file. -- David Marchand