Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2001 08:45:39 +0800
From:      David Xu <davidx@viasoft.com.cn>
To:        Andrew Tulloch <andrewt@great4.co.uk>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: SMP and MySQL/threads
Message-ID:  <3C17FA33.3070906@viasoft.com.cn>
References:  <077a01c18332$3ffd4190$4c0116ac@ANDREWT>

next in thread | previous in thread | raw e-mail | index | archive | help
If you need performance, keep it with Linux until FreeBSD 5.0 is ready.
current pthread implement in FreeBSD 4 is user level thread,  and all 
disk access will
be serialized and whole threads can only run in one processor.

--
David Xu

Andrew Tulloch wrote:

>I currently have two SMP PIII-800 machines with 1gig of ram running Redhat
>that I've inherited the administration of, their main task is currently to
>run MySQL. I've been wanting to move them over to FreeBSD to reduce
>administrative overhead, however my current understanding is that threads
>are implemented using the pthread library inside a single process that means
>two threads cannot run on seperate CPUs at the same time, which is obviously
>something I'd want on a machine most running MySQL. I'm farily certain I'd
>have quite a lot of wasted CPU time with MySQL running on just one
>processor. I've looked at the makefile of the port and that has the option
>to compile the port with linuxthreads, however it warns it should not be
>used for production and that I should expect problems. Has anyone tried this
>or has any other recommendations?
>
>Cheers
>Andrew
>
>
>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?3C17FA33.3070906>