From owner-freebsd-xen@FreeBSD.ORG Thu May 12 15:48:43 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6BC4106566C for ; Thu, 12 May 2011 15:48:43 +0000 (UTC) (envelope-from snabb@epipe.com) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE0E8FC1C for ; Thu, 12 May 2011 15:48:43 +0000 (UTC) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by tiktik.epipe.com (8.14.4/8.14.4) with ESMTP id p4CFmgs4001569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 May 2011 15:48:42 GMT (envelope-from snabb@epipe.com) X-DKIM: Sendmail DKIM Filter v2.8.3 tiktik.epipe.com p4CFmgs4001569 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=epipe.com; s=default; t=1305215322; x=1305820122; bh=kJ2I1JcZpMywrVGKHPTBsske48KOiuTXrmAsjT50L74=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=kD4jW9hVmevblyyiROK+BQmppv+hT2SNktQOw/4jFE5znuS4wzMvrutsU0h0e5c4U Ne+wVIkH5PHqbTDRYDMDl+H2m1eL1t393cnBGYVB/BLzYPPxPhdaIa4eZuLCekrA9T Fd5ilI47GJyQBUxMomKW6UR0xnwsFctzUdQZ1tjg= Date: Thu, 12 May 2011 15:48:42 +0000 (UTC) From: Janne Snabb To: Laurent Cligny In-Reply-To: <4DCBEEE0.9060705@steadinet.fr> Message-ID: References: <4DCBEEE0.9060705@steadinet.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (tiktik.epipe.com [IPv6:2001:1828:0:3::2]); Thu, 12 May 2011 15:48:42 +0000 (UTC) Cc: freebsd-xen@freebsd.org Subject: Re: [FreeBSD 8.2 amd64 XENHVM] DomU terrible network performance trought NAT X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2011 15:48:43 -0000 On Thu, 12 May 2011, Laurent Cligny wrote: > All FreeBSD VM are 8.2 amd64 with XENHVM kernel anf the Linux VM is a > Paravirtualized Debian amd64. My suggestion would be to try out the same setup with GENERIC kernel and the rtl driver (or even better e1000 if your Xen allows it) which is easy to do to make a simple comparison. In one of my recent benchmarks the FreeBSD Xen PV network driver performed very well in one direction, but very badly in the other. Using rtl or e1000 gave much better TCP throughput if you care equally about both directions. This benchmark was done only for internal TCP traffic between a Linux dom0 and FreeBSD dumU, the traffic never entered a real NIC. This might or might not help in your situation... -- Janne Snabb / EPIPE Communications snabb@epipe.com - http://epipe.com/