From owner-freebsd-xen@FreeBSD.ORG Wed May 18 12:24:26 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 85761106578F for ; Wed, 18 May 2011 12:24:26 +0000 (UTC) (envelope-from laurent.cligny@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 058AB8FC0C for ; Wed, 18 May 2011 12:24:25 +0000 (UTC) Received: by eyg7 with SMTP id 7so641361eyg.13 for ; Wed, 18 May 2011 05:24:25 -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=yem9WuJ5+jr94k8KZgUgGDIREinz1wY6gqGM2Ki9LUs=; b=fVAby+PSaR4uidh9AlGc/+v1rQHFWnF3BbLGWwjHwoHVfNAVsV0BuABkbXMfTgdIEN tlDcx9ca42ScZdaK2j2f4tzs+x0CYIaInvCPVe53htODxV6arxi2mWH3DP58ZOPa4++W j4QnOXiztWTJ/CoYThboUTani122hs5Hiq9ss= 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=nU9ttbMaURWBx5hY3i1WmogsZO67upcqqL80Dk+3kd71ltUNrseU/XtsHXVG/G8bBB WcJR5JRTqKRHC2dTX2KDuckIV59oOVrTezn2iNTvXu5rqvGtnOBfGHRq7iAL+rWJThuq mo1u2Qr5plME6Z/gsNLrZhiG9pcXGH8oRTm5I= Received: by 10.213.17.136 with SMTP id s8mr1519364eba.92.1305721463820; Wed, 18 May 2011 05:24:23 -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 y20sm1125771eeh.16.2011.05.18.05.24.21 (version=SSLv3 cipher=OTHER); Wed, 18 May 2011 05:24:22 -0700 (PDT) Message-ID: <4DD3BA7A.7040504@gmail.com> Date: Wed, 18 May 2011 14:24:26 +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> <4DCC1097.4080003@gmail.com> <4DCC2564.8090002@ntelecom.com.br> In-Reply-To: <4DCC2564.8090002@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: Wed, 18 May 2011 12:24:26 -0000 Le 12/05/2011 20:22, Tobias P. Santos a écrit : > 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. I already tried setup with natd, as I found on the list archives that PF can pose problems with XENHVM kernels, but the network perfomance was the same. > > 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! I think I will keep my Linux PV VM to do NAT, as it is the only thing on my Xen setup that cause problems for now. With that I will still be able to work with FreeBSD for the backend servers. > > _______________________________________________ > 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"