From owner-freebsd-questions@FreeBSD.ORG Mon Jun 25 20:17:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952F61065675 for ; Mon, 25 Jun 2012 20:17:23 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (cruwe.de [188.40.164.98]) by mx1.freebsd.org (Postfix) with ESMTP id 403558FC08 for ; Mon, 25 Jun 2012 20:17:23 +0000 (UTC) Received: from cruwe.de (unknown [127.0.0.4]) by cruwe.de (Postfix) with ESMTP id 42CE3DB9A for ; Mon, 25 Jun 2012 22:17:22 +0200 (CEST) Received: by cruwe.de (Postfix, from userid 65534) id 24FF5DB98; Mon, 25 Jun 2012 22:17:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.cruwe.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 Received: from dijkstra.cruwe.de (p57BDE469.dip.t-dialin.net [87.189.228.105]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by cruwe.de (Postfix) with ESMTPSA id 2F6B9DB92 for ; Mon, 25 Jun 2012 22:17:20 +0200 (CEST) Date: Mon, 25 Jun 2012 22:17:11 +0200 From: "Christopher J. Ruwe" To: Message-ID: <20120625221711.7aec82b8@dijkstra.cruwe.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1VVpC_JaedELNaF2kSGT7P8"; protocol="application/pgp-signature" X-Virus-Scanned: ClamAV on mail.cruwe.de using ClamSMTP Subject: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2012 20:17:23 -0000 --Sig_/1VVpC_JaedELNaF2kSGT7P8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some qjails, 8.3-RELEASE. The jails are connected all via lo0 on 10.0.0.0. While by the large working as expected, I have noticed one pecularity I have failed to pinpoint: When launching processes with some network interaction, like sshing into one of the jails from the platform or launching emacs, the command spends ages ( ~(1-2) minutes) idling? (nothing happens) before becoming interactive. For reasons unreleated, I have enabled NAT with ipf for the jails on 10.0.0.0/24 (to the external re0 IF and some IP) and, out of the blue, logging into the jails or starting emacs became snappy again. Why? Why does ipnatting jails which should be connected via the same lo0 on 10.0.0.0 have any impact? Don't get me wrong, I am not complaining and it solved an issue which gave me kind of headaches, but I would like to understand.=20 Thanks and cheers, --=20 Christopher TZ: GMT + 2h --Sig_/1VVpC_JaedELNaF2kSGT7P8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJP6MdNAAoJEJTIKW/o3iwU/D8P/3CHEmz78AqpHKP0MB08+ppS 9lGBuSq+vHzHp3T6bNC+tfG3Mi4Be5vycHt2LjXfaNA6EliycK9vjy6HF8vf74Dh Zr94p42eD1ga7rlrgv/WeBHtYQX4a5UWGSDM8O/bpysqrKD6vqtGXTwQMpX0BJmH o/SvEmAM6nlZk6kUMIIh8ZE9uQQJ8DhmJNt3ivtkx4HRTN2pb2S8Vz2s7xpbZ+WE z7qimaXC+iwztD4cEZcPuQcMy36dK7P/ZslnppV+oswhqPHU2K73ucDVVTldBfy7 V7kr6CEbDB9RfO15DboEBbK6teNO8y+U8gJ5saXn4q+xT8y4+4lz06X4d/18lc03 x17xni019j8fiDszNfW1/l0cwNpjSjH+NzA77w9tZmis3zmiWRhL8KK/ZLRydBh9 7P3JHkg7fAH7mbEwvJBJoXENz7Edzg50V2+6c91PANXfKkgJfqnUn1jqro3JBUGc D+tj3isGzwi437wx+ly6phCZ49K6LAZcTDDR+CckNmcmrjaQVKw1Zx3P6O+eGGDn vjEJD/dxHdLWYCdq/H3jnjxnrm3whBTm6gqBET0tlf53LJYMTwuavqYv1HdUgGmk POFfi8iLTmTXL9hjmwaL9WHvev1AOtOTkrkhTsvCYZ0A+9tskqICVLxKx/WTcjAC i1iPXc90BWX4rahZsOMa =+EA5 -----END PGP SIGNATURE----- --Sig_/1VVpC_JaedELNaF2kSGT7P8--