ICC and MySQl
After reading that a ICC build up improves the mysql speed i tried it.
I use this:
CC=icc CXX=icc CFLAGS="-O3 -unroll2 -ip -mp -no-gcc -restrict" CXXFLAGS="-O3 -unroll2 -ip -mp -no-gcc -restrict" ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --libexecdir=/usr/local/mysql/bin --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-assembler --disable-shared --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-embedded-server --with-innodb
and get this:
Making all in libmysql_r
make[2]: Entering directory `/usr/local/source/mysql-4.0.21/libmysql_r'
source='libmysql.c' object='libmysql.lo' libtool=yes \
depfile='.deps/libmysql.Plo' tmpdepfile='.deps/libmysql.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --preserve-dup-deps --mode=compile icc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql/mysql-4.0.21\"" -DDATADIR="\"/var/mysql/data\"" -DSHAREDIR="\"/usr/local/mysql/mysql-4.0.21/share/mysql\"" -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O -DDBUG_OFF -O3 -unroll2 -ip -mp -no-gcc -restrict -c -o libmysql.lo `test -f 'libmysql.c' || echo './'`libmysql.c
icc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql/mysql-4.0.21\" -DDATADIR=\"/var/mysql/data\" -DSHAREDIR=\"/usr/local/mysql/mysql-4.0.21/share/mysql\" -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O -DDBUG_OFF -O3 -unroll2 -ip -mp -no-gcc -restrict -c libmysql.c -Wp,-MD,.deps/libmysql.TPlo -o libmysql.o
icc: Command line warning: overriding '-O' with '-O3'
/tmp/iccRp0ThRas_: Assembler messages:
/tmp/iccRp0ThRas_:3: Warning: unterminated string; newline inserted
/tmp/iccRp0ThRas_:4: Warning: rest of line ignored; first ignored character is `l'
/tmp/iccRp0ThRas_:18: Warning: rest of line ignored; first ignored character is `-'
/tmp/iccRp0ThRas_:20: Warning: rest of line ignored; first ignored character is ` '
/tmp/iccRp0ThRas_:24: Warning: rest of line ignored; first ignored character is ` '
/tmp/iccRp0ThRas_:25: Warning: rest of line ignored; first ignored character is ` '
......................
......................
......................
(around 8000 Lines)
make[2]: *** [libmysql.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Thanks for your help.
Subject
Written By
Posted
ICC and MySQl
September 11, 2004 10:36PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.