From owner-freebsd-stable Sat Dec 9 22:49: 1 2000 From owner-freebsd-stable@FreeBSD.ORG Sat Dec 9 22:48:59 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from shell.webmaster.com (unknown [209.10.218.74]) by hub.freebsd.org (Postfix) with ESMTP id 8FC8E37B400 for ; Sat, 9 Dec 2000 22:48:59 -0800 (PST) Received: from whenever ([216.152.68.2]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Sat, 9 Dec 2000 22:47:53 -0800 From: "David Schwartz" To: "Tom" , "Rick Jansen" Cc: Subject: RE: MySQLd not using both CPUs Date: Sat, 9 Dec 2000 22:48:58 -0800 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.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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