SMP system threading performance question

Abdullah Ibn Hamad Al-Marri almarrie at
Tue Feb 13 10:18:33 UTC 2007

On 2/13/07, Frank Altpeter <frank at> wrote:

> The problem is quite disturbing, since that machine hosts a mysql database
> which is performing low because half of the cpu power is not used at all.
> I recompiled it with WITH_PROC_SCOPE_PTH=YES and with
> WITH_LINUXTHREADS=YES but both didn't help, so i assume some OS related
> reason for this to happen.
> Happy for any hints,
>         Frank Altpeter

You better use libthr with the MySQL instead of linuxthreads, and
don't use HTT with FreeBSD since it hurts the performance.

For more info about it check

Also check how to use it with libmap.conf to make mysql uses libthr as well.

Good luck with it ;)


-Abdullah Ibn Hamad Al-Marri
Arab Portal

More information about the freebsd-questions mailing list