From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: vhost net on 10ge with x2apic Date: Tue, 29 Dec 2009 16:07:43 +0200 Message-ID: <20091229140743.GC10234@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , Andi Kleen , kvm@vger.kernel.org, Bartlomiej Zolnierkiewicz , netdev@vger.kernel.org, "linux-kernel@vger.kernel.org" , Anthony Liguori , Ingo Molnar , torvalds@linux-foundation.org, Andrew Morton To: Gregory Haskins Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60466 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752002AbZL2OLL (ORCPT ); Tue, 29 Dec 2009 09:11:11 -0500 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Got hold of some 10Ge cards and did some light benchmarking of kvm networking with and without vhost net accelerator, while enabling x2apic emulation. I've put a summary of results here: http://www.linux-kvm.org/page/VhostNet#Performance Main conclusions: vhost net improves latency (a lot) and bandwidth/cpu utilization (less). With x2apic and a recent guest, virtio userspace has decent bandwidth but high latency and cpu utilization. vhost net bandwidth can get very close to native bandwidth (95%). We still have work to do tuning virtio guest drivers. -- MST