This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DLOPEN and Statically linked executable


Peter Zaitsev wrote:

> At MySQL we use patched version of GLIBC for MySQL binary
> distribution and so have to compile it statically.  This patched
> version of GLIBC is must to handle high load, it uses smaller thread
> stack size instead of default 2M and has  different mutex handling,
> so less context switches will happen in case of MySQL and will give
> better performance.

Have you considered linking shared and using LD_PRELOAD to override
any functions that are you would normally get from libc.so?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]