From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: Re: [PATCH] kvm tools: Implement virtio network device Date: Wed, 13 Apr 2011 20:00:40 +0800 Message-ID: <4DA59068.9060707@gmail.com> References: <1302695328-3503-1-git-send-email-asias.hejun@gmail.com> <4DA58E35.5010801@cs.helsinki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Cyrill Gorcunov , Ingo Molnar , kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:50045 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753573Ab1DMMBn (ORCPT ); Wed, 13 Apr 2011 08:01:43 -0400 Received: by pzk9 with SMTP id 9so188723pzk.19 for ; Wed, 13 Apr 2011 05:01:42 -0700 (PDT) In-Reply-To: <4DA58E35.5010801@cs.helsinki.fi> Sender: kvm-owner@vger.kernel.org List-ID: On 04/13/2011 07:51 PM, Pekka Enberg wrote: > On 4/13/11 2:48 PM, Asias He wrote: >> This patch implement virtio network device. >> Use '-n virtio or --network=virtio' to enable it. >> >> The current implementation uses tap which needs root privileges to >> create a >> virtual network device (tap0) on host side. Actually, what we need is >> CAP_NET_ADMIN. >> >> The host side tap0 is set to 192.168.33.2/24. >> You need to configure the guest side eth0 to any ip address in >> 192.168.33.0/24. >> >> Here are some scp performance test for differenct implementations: >> None of rx and tx as thread: >> guest to host 3.2MB/s >> host to guest 3.1MB/s >> >> Only rx as thread: >> guest to host 14.7MB/s >> host to guest 33.4MB/s >> >> Both rx and tx as thread(This patch works this way): >> guest to host 19.8MB/s >> host to guest 32.5MB/s >> >> Signed-off-by: Asias He > > This is already in master. Thanks! > Ingo suggested to CC the updated version of this patch to kvm list. So I am posting this patch again. -- Best Regards, Asias He