From owner-freebsd-xen@FreeBSD.ORG Thu May 12 20:34:30 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 7B519106564A for ; Thu, 12 May 2011 20:34:30 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from aslan.scsiguy.com (mail.scsiguy.com [70.89.174.89]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFE28FC1B for ; Thu, 12 May 2011 20:34:30 +0000 (UTC) Received: from Justins-MacBook-Pro.local ([192.75.139.252]) (authenticated bits=0) by aslan.scsiguy.com (8.14.4/8.14.4) with ESMTP id p4CKEYji047549 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 12 May 2011 14:14:35 -0600 (MDT) (envelope-from gibbs@FreeBSD.org) Message-ID: <4DCC3FAA.9030608@FreeBSD.org> Date: Thu, 12 May 2011 16:14:34 -0400 From: "Justin T. Gibbs" Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Janne Snabb References: <4DCBEEE0.9060705@steadinet.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (aslan.scsiguy.com [70.89.174.89]); Thu, 12 May 2011 14:14:35 -0600 (MDT) Cc: freebsd-xen@FreeBSD.org, Laurent Cligny 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 Reply-To: gibbs@FreeBSD.org 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 20:34:30 -0000 On 5/12/11 11:48 AM, Janne Snabb wrote: > 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. Do you recall which path was slow (rx or tx from the perspective of the FreeBSD driver) and what the relative difference in performance was between the two approaches? -- Justin