Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 14:46:20 -0400 (EDT)
From:      Matt Juszczak <matt@atopia.net>
To:        Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MySQL 5.0 on FreeBSD 7
Message-ID:  <alpine.BSF.2.00.0903201444500.37325@pluto.atopia.net>
In-Reply-To: <200903201015.00654.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
References:  <alpine.BSF.2.00.0903201338190.29988@pluto.atopia.net> <200903201015.00654.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> You're confusing linux-threads with pthreads. The performance boosts mentioned
> are done using the FreeBSD Posix threads ("pthreads") library, in FreeBSD 7.x
> they are implemented using libthr(3).
> The benchmarks also assume you are using SCHED_ULE, rather then SCHED_4BSD.
> Nothing should be configured if you run GENERIC later then 7.0-RELEASE.

Mel,

So, from a standard FreeBSD 7.x install:

- Recompile kernel to use SCHED_ULE
- In the port, use:  BUILD_OPTIMIZED=yes 
- In the port, use:  WITH_PROC_SCOPE_PTH=yes
- In the port, use:  BUILD_STATIC=yes


And that should be it?  So the "libpthread" they discuss in the 
description for WITH_PROC_SCOPE_PTH is different than the linux pthreads?

-M



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