From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 12:40:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDE0C16A4CE; Tue, 30 Mar 2004 12:40:17 -0800 (PST) Received: from darkness.comp.waw.pl (unknown [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C99943D39; Tue, 30 Mar 2004 12:40:17 -0800 (PST) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 76FB8ACAF4; Tue, 30 Mar 2004 22:40:15 +0200 (CEST) Date: Tue, 30 Mar 2004 22:40:15 +0200 From: Pawel Jakub Dawidek To: Dag-Erling Sm?rgrav Message-ID: <20040330204015.GI8930@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kGqy73/z6kAbhglh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Robert Watson cc: current@freebsd.org Subject: Re: performance of jailed processes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 20:40:18 -0000 --kGqy73/z6kAbhglh Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 30, 2004 at 09:09:35PM +0200, Dag-Erling Sm?rgrav wrote: +> > Can you identify any micro-benchmarks rather than macro-benchmarks that +> > reflect a significant difference? +>=20 +> haven't had much luck with that... fetch, for instance, doesn't seem +> to suffer, but with mysql the difference is dramatic: +>=20 +> (outside jail) +> 1 row in set (0.01 sec) +>=20 +> (inside jail) +> 1 row in set (13.20 sec) +>=20 +> note that 13 seconds is far too short for a DNS issue, and that the +> time reported is measured *after* login (i.e. after any DNS lookup) Could you produce some ktraces inside and outside jail? --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --kGqy73/z6kAbhglh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAadsvForvXbEpPzQRAvL4AJ0WynbIjMl4bj0leCMv2Eyjoii7CgCfdhUi jXS0C0HvtJVrQ4Ku20OPNa8= =kSgu -----END PGP SIGNATURE----- --kGqy73/z6kAbhglh--