Received: from eggs.gnu.org ([2001:4830:134:3::10]:43134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVbeR-000501-A4 for qemu-devel@nongnu.org; Mon, 23 Jan 2017 05:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVbeO-0002RU-4d for qemu-devel@nongnu.org; Mon, 23 Jan 2017 05:15:03 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:41076) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVbeN-0002R6-Uj for qemu-devel@nongnu.org; Mon, 23 Jan 2017 05:15:00 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= References: <8a51513f-59d7-a361-a4ef-99679aa460fb@siemens.com> <79bc9757-3ba0-87c3-3502-a25a30e304a3@siemens.com> <286AC319A985734F985F78AFA26841F73916DDD2@shsmsx102.ccr.corp.intel.com> <58a51a88-967d-bdc7-dc0b-e3e501ecccd3@siemens.com> <286AC319A985734F985F78AFA26841F7391716D9@shsmsx102.ccr.corp.intel.com> <778e7730-8ece-9cc4-000c-9ced0b29d503@siemens.com> <286AC319A985734F985F78AFA26841F739175F99@shsmsx102.ccr.corp.intel.com> Date: Mon, 23 Jan 2017 10:14:53 +0000 In-Reply-To: <286AC319A985734F985F78AFA26841F739175F99@shsmsx102.ccr.corp.intel.com> (Wei W. Wang's message of "Mon, 23 Jan 2017 03:49:06 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Towards an ivshmem 2.0? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Wang, Wei W" Cc: Jan Kiszka , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , qemu-devel , Jailhouse , Markus Armbruster "Wang, Wei W" writes: > On Saturday, January 21, 2017 12:38 AM, Jan Kiszka wrote: >> On 2017-01-20 12:54, Wang, Wei W wrote: >>> Having a theoretical analysis on the performance: The traditional >>> shared memory mechanism, sharing an intermediate memory, requires 2 >>> copies to get the packet transmitted. It's not just one more copy >>> compared to the 1-copy solution, I think some more things we may >>> need to take into account: >>=20 >> 1-copy (+potential transfers to userspace, but that's the same for >> everyone) is conceptually possible, definitely under stacks like >> DPDK. However, Linux skbs are currently not prepared for picking up >> shmem-backed packets, we already looked into this. Likely >> addressable, though. > > Not sure how difficult it would be to get that change upstream-ed to > the kernel, but looking forward to seeing your solutions. The problem is that the shared memory mapping doesn't have a struct page as required by lots of networking code. --=20 M=E5ns Rullg=E5rd