Date: Sun, 10 Dec 2000 10:20:03 +0200 From: "Noor Dawod" <noor@comrax.com> To: "David Schwartz" <davids@webmaster.com>, "Tom" <tom@uniserve.com>, "Rick Jansen" <Rick@Tweakers.net> Cc: <stable@freebsd.org> Subject: RE: MySQLd not using both CPUs Message-ID: <PHEBIOJOBJJLIIJCOINKKEDFCPAA.noor@comrax.com> In-Reply-To: <NCBBLIEPOCNJOAEKBEAKGEPOMFAA.davids@webmaster.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PHEBIOJOBJJLIIJCOINKKEDFCPAA.noor>