Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 22:30:45 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Rick Jansen <Rick@Tweakers.net>
Cc:        smp@FreeBSD.ORG
Subject:   Re: MySQLd using just one CPU
Message-ID:  <20001209223045.A541@dan.emsphone.com>
In-Reply-To: <NEBBJPKMMLCLAGLGBDFAMEDOCHAA.Rick@Tweakers.net>; from "Rick Jansen" on Sun Dec 10 01:37:12 GMT 2000
References:  <NEBBJPKMMLCLAGLGBDFAMEDOCHAA.Rick@Tweakers.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 10), Rick Jansen said:
> I have a problem with my dedicated MySQL server running on
> 4.2-STABLE. When i stress the daemon to the max, and i look at top,
> the WCPU and CPU fields are both around 99%. Which is what i want.
> BUT... Looking at the CPU States, it says the machine is around 49%
> idle! This leads me to conclude that MySQL is using just one
> processor. In Linux, there are a lot of mysqld processes because of
> the different threadpackage (LinuxThreads instead of MIT). Is there a
> threadpackage of this kind for FreeBSD aswell? I guess that would use
> both cpu's..

Try ports/devel/linuxthreads.  You'll have to figure out how to get
mysql to use it on your own :)

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001209223045.A541>