Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 10:00:14 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>
Cc:        current@freebsd.org
Subject:   Re: performance of jailed processes
Message-ID:  <20040331095802.J84890@cvs.imp.ch>
In-Reply-To: <xzpisgm46h7.fsf@dwp.des.no>
References:  <xzpisgm46h7.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331095802.J84890>