From owner-freebsd-xen@FreeBSD.ORG Thu May 12 18:22:31 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 1273F106566C for ; Thu, 12 May 2011 18:22:31 +0000 (UTC) (envelope-from tobias@ntelecom.com.br) Received: from mail.ntelecom.com.br (mail2.ntelecom.com.br [189.1.176.233]) by mx1.freebsd.org (Postfix) with ESMTP id C86808FC17 for ; Thu, 12 May 2011 18:22:30 +0000 (UTC) Received: from [172.16.16.100] (mailgw.ntelecom.com.br [189.1.176.249]) by mail.ntelecom.com.br (Postfix) with ESMTPA id A54E225887D9 for ; Thu, 12 May 2011 15:22:28 -0300 (BRT) Message-ID: <4DCC2564.8090002@ntelecom.com.br> Date: Thu, 12 May 2011 15:22:28 -0300 From: "Tobias P. Santos" User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: freebsd-xen@freebsd.org References: <4DCBEEE0.9060705@steadinet.fr> <4DCBF681.7070106@ntelecom.com.br> <4DCC1097.4080003@gmail.com> In-Reply-To: <4DCC1097.4080003@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.97 at mail.ntelecom.com.br X-Virus-Status: Clean 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 18:22:31 -0000 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. > > We had a problem where traffic between VMs was too slow (about 5Mbps on a Gigabit network) and disabling TX checksum solved the problem (actually, speed increased to more than 1Gbps). Your problem is different as you have a nice throughput between VMs on xn1, sorry that I missed that on my first message. Did you try to transfer data from something connected to xn0 to one of yours DomU servers connected to xn1 without NAT? You also mentioned pf. Did you make any test using natd or anything else? Something tells me that's not a nic problem, but that's just a guess. Anyway, on the coming weeks I will have to set up a similar environment to yours, so maybe I'll face the same problem (although we use natd daemon instead of pf). Good luck!