From owner-freebsd-xen@FreeBSD.ORG Thu May 12 17:59:53 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 3D4401065676 for ; Thu, 12 May 2011 17:59:53 +0000 (UTC) (envelope-from mikemacleod@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB25D8FC19 for ; Thu, 12 May 2011 17:59:52 +0000 (UTC) Received: by yxl31 with SMTP id 31so786852yxl.13 for ; Thu, 12 May 2011 10:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=EdUz331IdO4e8Zl57arzjCeaukJmAYoYRlF+lt8JDa0=; b=Xl6VMcS51P4Md03lCf6P2GYl2tq7qQbztZTvXd9ShmDLzjqghqRqrm4eNZqTpxhAMK e3EJWjhHFz8gMgaPNX0/wZjehQP9hfepFUnWWpN8uM+QZZBiqxSr5SM9YBJQdT6lL77I 30yitibrlP+qaVX0JAsa82cEHqsNe2/PjqE+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=W5gygFz0IlVINogQcv7Q2LS0ar10PiciMILqdulMkC0Ag+2TbEXEHkzWyLFHDqzO0z MXb4MrPbMZbhuCb2AMt4nFA3pqWeMcGqWow0YJ1bXTdNLj2r2GTFJc9tBmUVNWOI2IHN /2S/b3kSN+K3aw/QmroHxrqUI0K0aUI9qGGo4= Received: by 10.91.35.33 with SMTP id n33mr416910agj.126.1305221820121; Thu, 12 May 2011 10:37:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.93.18 with HTTP; Thu, 12 May 2011 10:36:40 -0700 (PDT) In-Reply-To: <4DCC1097.4080003@gmail.com> References: <4DCBEEE0.9060705@steadinet.fr> <4DCBF681.7070106@ntelecom.com.br> <4DCC1097.4080003@gmail.com> From: Michael MacLeod Date: Thu, 12 May 2011 13:36:40 -0400 Message-ID: To: "laurent.cligny@gmail.com" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 17:59:53 -0000 Try -rxcsum as well. I have both disabled on my domU. On Thu, May 12, 2011 at 12:53 PM, laurent.cligny@gmail.com < laurent.cligny@gmail.com> wrote: > Le 12/05/2011 17:02, Tobias P. Santos a =E9crit : > > Try this: > > > > ifconfig xn1 -txcsum > > > > Best regards, > > Tobias. > Hello Tobias, > > Unfortunately ifconfig xn1 -txcsum didn't give me lot of result. > Doing this my network perf through NAT is about 7KiB/s (that is better > than before, but still unworkable). > > Thanks for the idea, maybe we are not that far away from the solution. > > > > > > > Laurent Cligny wrote: > >> Hello all, > >> > >> I want to setup a FreeBSD DomU VM as a network NAT gateway in order to > >> provide Internet access to other FreeBSD and Linux DomU VMs. > >> My Dom0 is Xen Cloud Platform 1.0 on a Dell Poweredge 210 with 8 cores= , > >> 16GiB RAM and one NIC. > >> > >> All FreeBSD VM are 8.2 amd64 with XENHVM kernel anf the Linux VM is a > >> Paravirtualized Debian amd64. > >> > >> The NAT gateway is a two-NIC box, with one (xn0) configured with a > >> public Internet address and the other (xn1) configured with a class A > >> private address (10.0.0.254). > >> The Internet traffic is very good from my FreeBSD NAT gateway to the > >> Internet (~ 50MiB/s) and also between other VMs on the private network > >> (~ 70MiB/s trough scp) after applying the patch here > >> (http://www.mail-archive.com/freebsd-xen@freebsd.org/msg00855.html) > >> fixing the "too many frags" problem. > >> > >> Here is a schema of my setup with the observed net speed on it: > >> > >> ---------- --------------- ---------------------- > >> |Internet|---xn0---|FBSD DomU NAT|---xn1---|FBSD and Linux DomUs| > >> ---------- --------------- ---------------------- > >> <-------> <-------> > >> 50MiB/s 70MiB/s > >> > >> <-------------------------------> > >> 0KiB/s >> > >> [...] > > _______________________________________________ > > freebsd-xen@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >