From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753778AbZHLHTC (ORCPT ); Wed, 12 Aug 2009 03:19:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753099AbZHLHTC (ORCPT ); Wed, 12 Aug 2009 03:19:02 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53300 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752657AbZHLHTA (ORCPT ); Wed, 12 Aug 2009 03:19:00 -0400 Date: Wed, 12 Aug 2009 10:16:36 +0300 From: "Michael S. Tsirkin" To: Gregory Haskins Cc: netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@elte.hu, linux-mm@kvack.org, akpm@linux-foundation.org, hpa@zytor.com Subject: Re: [PATCHv2 0/2] vhost: a kernel-level virtio server Message-ID: <20090812071636.GA26847@redhat.com> References: <20090811212743.GA26309@redhat.com> <4A820391.1090404@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A820391.1090404@gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2009 at 07:49:37PM -0400, Gregory Haskins wrote: > Michael S. Tsirkin wrote: > > This implements vhost: a kernel-level backend for virtio, > > The main motivation for this work is to reduce virtualization > > overhead for virtio by removing system calls on data path, > > without guest changes. For virtio-net, this removes up to > > 4 system calls per packet: vm exit for kick, reentry for kick, > > iothread wakeup for packet, interrupt injection for packet. > > > > Some more detailed description attached to the patch itself. > > > > The patches are against 2.6.31-rc4. I'd like them to go into linux-next > > and down the road 2.6.32 if possible. Please comment. > > I will add this series to my benchmark run in the next day or so. Any > specific instructions on how to set it up and run? > > Regards, > -Greg > 1. use a dedicated network interface with SRIOV, program mac to match that of guest (for testing, you can set promisc mode, but that is bad for performance) 2. disable tso,gso,lro with ethtool 3. add vhost=ethX -- MST