Copyright (C) 2000-2012 |
GNU Info (mysql.info)Linux-AlphaLinux Alpha Notes ................. MySQL Version 3.23.12 is the first MySQL version that is tested on Linux-Alpha. If you plan to use MySQL on Linux-Alpha, you should ensure that you have this version or newer. We have tested MySQL on Alpha with our benchmarks and test suite, and it appears to work nicely. The main thing we haven't yet had time to test is how things works with many concurrent users. When we compiled the standard MySQL binary we are using SuSE 6.4, kernel 2.2.13-SMP, Compaq C compiler (V6.2-504) and Compaq C++ compiler (V6.3-005) on a Comaq DS20 machine with an Alpha EV6 processor. You can find the above compilers at `http://www.support.compaq.com/alpha-tools'). By using these compilers, instead of gcc, we get about 9-14 % better performance with MySQL. Note that the configure line optimized the binary for the current CPU; This means you can only use our binary if you have an Alpha EV6 processor. We also compile statically to avoid library problems. CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_shared If you want to use egcs the following configure line worked for us: CFLAGS="-O3 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --disable-shared Some known problems when running MySQL on Linux-Alpha: * Debugging threaded applications like MySQL will not work with `gdb 4.18'. You should download and use gdb 5.0 instead! * If you try linking `mysqld' statically when using `gcc', the resulting image will core dump at start. In other words, *DON'T* use `--with-mysqld-ldflags=-all-static' with `gcc'. automatically generated by info2www version 1.2.2.9 |