Re: performance of jailed processes
From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 03/31/04
- Previous message: Sven Esbjerg: "Re: unable to boot current"
- In reply to: Martin Blapp: "Re: performance of jailed processes"
- Next in thread: Bernd Walter: "Re: performance of jailed processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 11:32:11 +0200 To: Martin Blapp <mb@imp.ch>
On Wed, 31 Mar 2004 10:00:14 +0200 (CEST)
Martin Blapp <mb@imp.ch> wrote:
>
> 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)
I just had a similar problem with MySQL on a system without jails
(-current as of Mar 19), but with one IP-alias. Feeding the initial
content of a DB from a 4.6 MB file needed too long (I aborted after two
minutes). Binding MySQL to the main IP only didn't changed this. I
recompiled with linux-threads and it finished importing the data after
20 seconds.
I can't test more on this machine, since it is scheduled to go into
production today or tomorrow, but I could add mysql to a test machine
(with a more recent -current) and use the same file there if needed.
Bye,
Alexander.
--
I'm available to get hired.
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Sven Esbjerg: "Re: unable to boot current"
- In reply to: Martin Blapp: "Re: performance of jailed processes"
- Next in thread: Bernd Walter: "Re: performance of jailed processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|