From owner-freebsd-current@FreeBSD.ORG Wed Mar 31 00:00:22 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 D6B5016A4CF for ; Wed, 31 Mar 2004 00:00:22 -0800 (PST) Received: from mail.imp.ch (ns1.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBDE143D1D for ; Wed, 31 Mar 2004 00:00:21 -0800 (PST) (envelope-from mb@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by mail.imp.ch (8.12.9p2/8.12.3) with ESMTP id i2V80Fp4047442; Wed, 31 Mar 2004 10:00:16 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Date: Wed, 31 Mar 2004 10:00:14 +0200 (CEST) From: Martin Blapp To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= In-Reply-To: Message-ID: <20040331095802.J84890@cvs.imp.ch> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: clamd / ClamAV version devel-20040327, clamav-milter version 0.70b 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: Wed, 31 Mar 2004 08:00:22 -0000 Hi DES, > Specifically, running a query against a remote MySQL server from > inside a jail takes an order of magnitude more time than from outside > the jail. Tcpdump shows that the TCP packets carrying the result are > evenly spaced, so this is not a matter of the server timing out on a > DNS lookup or anything like that. Could you try the following things ? Use libthr or libpthreads for mysql and see if the results are still the same. Do the same test with linux-threads (all our mysqls on 4.x with jails use linux-threads and we don't see any problems) Martin