I really need the fastest solution, which following settings are the best?
BUILD_OPTIMIZED=yes for sure.
My make.conf:
Do WITH_LINUXTHREADS/WITH_PROC_SCOPE_PTH or BUILD_STATIC will boost the performance on Intel Xeon Core2?
Code:
You may use the following build options:
WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be 'all').
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections
(define WITHOUT_YASSL for backward compatibility).
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads
(try it if you use libpthread).
WITH_FAST_MUTEXES=yes Replace mutexes with spinlocks.
BUILD_OPTIMIZED=yes Enable compiler optimizations
(use it if you need speed).
BUILD_STATIC=yes Build a static version of mysqld.
(use it if you need even more speed).
WITH_NDB=yes Enable support for NDB Cluster.
My make.conf:
Code:
# specific options/etc for ports
.if ${.CURDIR:M*/databases/mysql*-server}
BUILD_OPTIMIZED=yes
.endif
Do WITH_LINUXTHREADS/WITH_PROC_SCOPE_PTH or BUILD_STATIC will boost the performance on Intel Xeon Core2?