From owner-freebsd-stable Sun Dec 10 0:35:56 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 10 00:35:53 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id 10D2037B400 for ; Sun, 10 Dec 2000 00:35:53 -0800 (PST) Received: from NOOR (unknown [156.27.243.27]) by dns.comrax.com (Postfix) with SMTP id 2FDB412C6F1; Sun, 10 Dec 2000 10:33:46 +0200 (IST) From: "Noor Dawod" To: "David Schwartz" Cc: Subject: RE: MySQLd not using both CPUs Date: Sun, 10 Dec 2000 10:35:52 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi And from your experience, can the LinuxThreads take place of the pthreads library in all aspects? Will all programs support it, that is, like it does with pthreads? I am asking because I also use mysqld, and if you say that LinuxThreads is better, then I'd start using it and check if it indeed utilizes the system better than pthreads.... If you have any other tips about mysqld and LinuxThreads, please share it (even off the list.) Thanks Noor -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of David Schwartz Sent: Sunday, December 10, 2000 10:26 AM To: Noor Dawod Cc: stable@freebsd.org Subject: RE: MySQLd not using both CPUs > Why should I use LinuxThreads to make use of more than one CPU? I mean, > how come that FreeBSD's threads library doesn't support this, and will > it ever? (maybe it's in development even now...) > > Noor The FreeBSD port of LinuxThreads _is_ a FreeBSD thread library. It's not emulation or anything, it's a threads library for FreeBSD native code. The pthreads implementation included with FreeBSD (libc_r) is really just not useful for high-performance or high-reliability applications. In my experience, it works very well for bad code and very badly for good code. DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message