Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811Ab0BKIyu (ORCPT ); Thu, 11 Feb 2010 03:54:50 -0500 Received: from mga09.intel.com ([134.134.136.24]:46095 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441Ab0BKIyt convert rfc822-to-8bit (ORCPT ); Thu, 11 Feb 2010 03:54:49 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.49,450,1262592000"; d="scan'208";a="491584964" From: "Xin, Xiaohui" To: "Xin, Xiaohui" , "netdev@vger.kernel.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mingo@elte.hu" , "mst@redhat.com" , "jdike@c2.user-mode-linux.org" Date: Thu, 11 Feb 2010 16:54:41 +0800 Subject: RE: [PATCH 0/3] Provide a zero-copy method on KVM virtio-net. Thread-Topic: [PATCH 0/3] Provide a zero-copy method on KVM virtio-net. Thread-Index: AcqqRwv983Rjfwb/RVe1tva5uDIoOgAsC2Fg Message-ID: <97F6D3BD476C464182C1B7BABF0B0AF5C11F646E@shzsmsx502.ccr.corp.intel.com> References: <1265802540-6122-1-git-send-email-xiaohui.xin@intel.com> In-Reply-To: <1265802540-6122-1-git-send-email-xiaohui.xin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1837 Lines: 40 Will be in a vacation during 2/13~2/20, so email may be very slow or no replied for your comments. But please don't hesitate to comment more, and I will address them after the vacation. :-) Thanks Xiaohui -----Original Message----- From: kvm-owner@vger.kernel.org [mailto:kvm-owner@vger.kernel.org] On Behalf Of Xin Xiaohui Sent: Wednesday, February 10, 2010 7:49 PM To: netdev@vger.kernel.org; kvm@vger.kernel.org; linux-kernel@vger.kernel.org; mingo@elte.hu; mst@redhat.com; jdike@c2.user-mode-linux.org Subject: [PATCH 0/3] Provide a zero-copy method on KVM virtio-net. The idea is simple, just to pin the guest VM user space and then let host NIC driver has the chance to directly DMA to it. The patches are based on vhost-net backend driver. We add a device which provides proto_ops as sendmsg/recvmsg to vhost-net to send/recv directly to/from the NIC driver. KVM guest who use the vhost-net backend may bind any ethX interface in the host side to get copyless data transfer thru guest virtio-net frontend. We provide multiple submits and asynchronous notifiicaton to vhost-net too. Our goal is to improve the bandwidth and reduce the CPU usage. Exact performance data will be provided later. But for simple test with netperf, we found bindwidth up and CPU % up too, but the bindwidth up ratio is much more than CPU % up ratio. What we have not done yet: To support GRO Performance tuning -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/