From owner-freebsd-xen@FreeBSD.ORG Wed May 18 12:06:23 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 CDEE71065676 for ; Wed, 18 May 2011 12:06:23 +0000 (UTC) (envelope-from laurent.cligny@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 49F458FC1B for ; Wed, 18 May 2011 12:06:22 +0000 (UTC) Received: by ewy1 with SMTP id 1so634881ewy.13 for ; Wed, 18 May 2011 05:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=nTvGng4GfWUc6mSW1xdMJu41MeThNioDZMKbAohmiFE=; b=sE/Jd+5jm2rPEIBg3PMXJRmZJPTcAaPc2CCflBDFTLDXatO5lI8094apAQ6KdGWlp6 tePOofzJiyYoKOfXuo1OIPNAArxwj71Oa3MaTEYwdZHiWAwFCDSzSEJEewJabTOLei6d hySQ+n5MYUFKHN/i5gkJlSPBP9mI8xQtnTtgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=ofcDHrtKw9gZTp2dBySD8GitAc80wbPqd/pVMCWwP7vimNISQO0z6kcrHFmLOrN+Wu IanEWLoQHfll/gF84MuFMxSsmkjj62SNkxDv8psRbd2Iq6OzlQRpHx5vZBwmu7kizpdh G9TxxN314sKedo99wsGYZTg4YM2ghN5rpZWLs= Received: by 10.14.0.6 with SMTP id 6mr633796eea.78.1305720381866; Wed, 18 May 2011 05:06:21 -0700 (PDT) Received: from [192.168.1.12] (ARennes-555-1-114-211.w90-49.abo.wanadoo.fr [90.49.97.211]) by mx.google.com with ESMTPS id y3sm1113208eeh.19.2011.05.18.05.06.17 (version=SSLv3 cipher=OTHER); Wed, 18 May 2011 05:06:18 -0700 (PDT) Message-ID: <4DD3B63D.60205@gmail.com> Date: Wed, 18 May 2011 14:06:21 +0200 From: "laurent.cligny@gmail.com" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9 MIME-Version: 1.0 To: Michael MacLeod References: <4DCBEEE0.9060705@steadinet.fr> <4DCBF681.7070106@ntelecom.com.br> <4DCC1097.4080003@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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: Wed, 18 May 2011 12:06:24 -0000 Le 12/05/2011 19:36, Michael MacLeod a écrit : > Try -rxcsum as well. I have both disabled on my domU. I tried with -rxcsum as you mentionned, but unfortunately it changed nothing on the performance. > > On Thu, May 12, 2011 at 12:53 PM, laurent.cligny@gmail.com > > wrote: > > Le 12/05/2011 17:02, Tobias P. Santos a écrit : > > 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 > " > >