From owner-freebsd-stable Sun Dec 10 0:20:11 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 10 00:20:06 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 BD38037B401 for ; Sun, 10 Dec 2000 00:20:05 -0800 (PST) Received: from NOOR (unknown [156.27.243.27]) by dns.comrax.com (Postfix) with SMTP id 1510C12C7BC; Sun, 10 Dec 2000 10:17:58 +0200 (IST) From: "Noor Dawod" To: "David Schwartz" , "Tom" , "Rick Jansen" Cc: Subject: RE: MySQLd not using both CPUs Date: Sun, 10 Dec 2000 10:20:03 +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, 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 -----Original Message----- From: owner-freebsd-stable@FreeBSD.ORG [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of David Schwartz Sent: Sunday, December 10, 2000 8:49 AM To: Tom; Rick Jansen Cc: stable@freebsd.org Subject: RE: MySQLd not using both CPUs On Sun, 10 Dec 2000, Rick Jansen wrote: > With the current FreeBSD architecture, since there is only one process, > it can only run one CPU at a time. > > You can run multiple mysqld's to circumvent this. This is warmly > recommended for other reasons. There is a new startup script included > with the newer version of MySQL designed to start lots of mysqlds (mainly > for vhosting). You should be able to compile MySQL under FreeBSD using the LinuxThreads port. That would allow it to take advantage of multiple CPUs. I haven't personally done this, but there shouldn't be anything to prevent this from working. 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