Re: [libdbi-users] libdbi+mysql speed issues

2013-01-09 Thread markus . hoenicka
Olivier Doucet writes: > Performance are now correct :) I checked with valgrind / callgrind, > and function mysql_data_seek is not called anymore. > > You can now patch other drivers, and maybe release a new version ? I've updated the remaining drivers and the driver documentation. Did anyone

Re: [libdbi-users] libdbi+mysql speed issues

2013-01-09 Thread Markus Hoenicka
Olivier Doucet was heard to say: >> Do you have any numbers? Would be nice to know what speed gain this >> (almost) one-line optimization effected. > > I've done a benchmark with rrdtool that uses libdbi. > http://tof.canardpc.com/view/31953cab-4329-45e9-9e30-eed2d9148ee1.jpg > max value on X-Axi

Re: [libdbi-users] libdbi+mysql speed issues

2013-01-09 Thread Olivier Doucet
> libdbi-drivers uses the mysql_config script shipped with MySQL to > obtain the list of required libraries to link against, *unless* you > use the --with-mysql-libdir configure switch. Yes I was using this configure switch. I copied configure line from Red Hat SRPM. > Do you have any numbers? Wou

Re: [libdbi-users] libdbi+mysql speed issues

2013-01-09 Thread Markus Hoenicka
Olivier Doucet was heard to say: Hi, > I finally succeeded in compiling both component for my system (I added > flag -lpthread when both linking / compiling or else I have following > error : '/usr/lib64/dbd/libdbdmysql.so: undefined symbol: > pthread_mutex_trylock'). libdbi-drivers uses the my

Re: [libdbi-users] libdbi+mysql speed issues

2013-01-09 Thread Olivier Doucet
Hello, > I've implemented the suggested changes and checked in the updated > files. If you want to speed test the code, please check out, build, > and install the current cvs revisions of both libdbi and > libdbi-drivers. I finally succeeded in compiling both component for my system (I added flag