From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asdo Subject: Re: Test vhost-net !! Date: Sat, 09 Apr 2011 16:25:40 +0200 Message-ID: <4DA06C64.4010709@shiftmail.org> References: <4D9D68E7.2010206@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Onkar Mahajan , kvm@vger.kernel.org To: jean-philippe.menil@univ-nantes.fr Return-path: Received: from mx2.isti.cnr.it ([194.119.192.4]:3043 "EHLO mx2.isti.cnr.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754066Ab1DIO0n (ORCPT ); Sat, 9 Apr 2011 10:26:43 -0400 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.5-x5 #31825) id <01NZX2SMCP3KRLX18I@mx.isti.cnr.it> for kvm@vger.kernel.org; Sat, 09 Apr 2011 16:25:38 +0200 (MEST) In-reply-to: <4D9D68E7.2010206@univ-nantes.fr> Sender: kvm-owner@vger.kernel.org List-ID: On 04/07/2011 09:33 AM, Jean-Philippe Menil wrote: > Le 07/04/2011 09:18, Onkar Mahajan a =E9crit : >> Hi , >> How do I test if vhost-net is actually enabled and working ? Hi, >> ... > > you must modprobe the vhost_net module on your host: > ... > and you need to pass "vhost-on" on your command line: > http://www.linux-kvm.org/page/VhostNet > ... > Regards. > Are you really able to make vhost_net work? I compiled from source KVM 0.13.0 and recently also 0.14.0 on intel xeo= n 54xx and 56xx, on newly installed Ubuntu with vanilla kernel 2.6.37, an= d when I tried to enable vhost_net (modprobe the module then restart KVM) the emulation was going 100x slower than normal, so I had to disable it= =2E See my old message in this ML "vhost disables kvm acceleration" What did you do to make it work? Did you compile KVM from sources? On what kernel? AMD or Intel? Also, are you not using libvirt maybe? Thank you