From owner-freebsd-stable@FreeBSD.ORG Sat Jun 11 12:41:56 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3EAA16A41C for ; Sat, 11 Jun 2005 12:41:56 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BCE2243D55 for ; Sat, 11 Jun 2005 12:41:55 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 11 Jun 2005 12:41:53 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp008) with SMTP; 11 Jun 2005 14:41:53 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-stable@freebsd.org Date: Sat, 11 Jun 2005 14:41:39 +0200 User-Agent: KMail/1.8 References: <746fd037f6ca8131a8fb8938f1e346e9@lonres.com> <20050610170537.GA67849@bibipentium.lonres.com> <20050611085604.J75625@fledge.watson.org> In-Reply-To: <20050611085604.J75625@fledge.watson.org> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2385571.kYEufHTgeg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506111441.52503@harrymail> X-Y-GMX-Trusted: 0 Cc: Steve Roome , Robert Watson Subject: general libthread questions [Was: Re: FreeBSD MySQL still WAY slower than Linux] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 12:41:56 -0000 --nextPart2385571.kYEufHTgeg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag, 11. Juni 2005 10:00 schrieb Robert Watson: > On Fri, 10 Jun 2005, Steve Roome wrote: [...] > - Thread package. In 5.x, you get process scope threads by default, but > it turns out MySQL is tuned for system scope threads, and this is > particularly visible in the supersmack benchmark, which competes many > client processes against a few server threads. I'm not sure what the > condition is of libthr on 5.x, but you could give it a spin. In 6.x, > libthr has been largely rewritten and is a great deal faster. I > think there's a compile-time option to make libpthread use system scope > threads but the details ellude me. The Linuxthreads library may well > provide a substantial improvement -- not as good for MySQL as the 6.x > libthr, but perhaps much more appropriate than libpthread. OT, but can someone please gvie me a link which describes the pthread and=20 lib_thr stuff. And how would I tell a port to compile with a specific=20 threading library (if my understanding is correct)? Maybe one can name=20 typical applications for specific threading libraries? Thanks a lot, =2DHarry --nextPart2385571.kYEufHTgeg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCqtwQBylq0S4AzzwRAr4hAJwI7MSOssOaGv7L+JNH9TlHCmZtSgCeNs1n 1fPzYWLDPu89rQRVBD8cOxU= =bIzJ -----END PGP SIGNATURE----- --nextPart2385571.kYEufHTgeg--