From owner-freebsd-xen@FreeBSD.ORG Thu May 12 17:22:01 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 6A6E3106566B for ; Thu, 12 May 2011 17:22:01 +0000 (UTC) (envelope-from laurent.cligny@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E69D98FC0A for ; Thu, 12 May 2011 17:22:00 +0000 (UTC) Received: by wwc33 with SMTP id 33so1973627wwc.31 for ; Thu, 12 May 2011 10:21:59 -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 :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Sz1jq0k1mh4IkGQmvt0NoM2YUfzZ88/Eiupmq98q4zQ=; b=XiyQGD9noOS7nJ7wlZkm4vOr4RymEdW1ihqTnEUbTkSKeJb7WY+SHY9hnux9LyshW+ cqomVtBS56IUD2T35Av3CbSnoBUBQhCzX342c34EZagvOxFw/4KXv0h/R1/eFfM4blOS KHB3ZM7rvl737UWzA/tmy2SAY4C9hhAs1yyxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=a3lN+UOtSBnnxzR+GLqcbNboYseeo4kG6AmteGTBkUdTAqs0Mn2CSRQ392vnIw4ja6 5Ll24OF3VmDJM0MmkdzrsLt8ca7p4nMa/yElqhGwOKuM9+6J2E5y9SyI9SvZrvl5Ennf niD1rW9H+91H8FaUzxCxtHUlEXVYkPBibuRn4= Received: by 10.227.11.148 with SMTP id t20mr416553wbt.98.1305219226104; Thu, 12 May 2011 09:53:46 -0700 (PDT) Received: from [192.168.1.10] (ARennes-555-1-203-34.w2-10.abo.wanadoo.fr [2.10.234.34]) by mx.google.com with ESMTPS id ed10sm852472wbb.66.2011.05.12.09.53.44 (version=SSLv3 cipher=OTHER); Thu, 12 May 2011 09:53:45 -0700 (PDT) Message-ID: <4DCC1097.4080003@gmail.com> Date: Thu, 12 May 2011 18:53:43 +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: freebsd-xen@freebsd.org References: <4DCBEEE0.9060705@steadinet.fr> <4DCBF681.7070106@ntelecom.com.br> In-Reply-To: <4DCBF681.7070106@ntelecom.com.br> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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:22:01 -0000 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"