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[2]: DLOPEN and Statically linked executable


Hello Jakub,

Thursday, June 20, 2002, 7:53:03 PM, you wrote:

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

JJ> I think it would be better to figure why they need glibc changes.
JJ> E.g. the 2M thread stack size argument is very weak, since glibc on
JJ> sane architectures supports whatever thread stack size mysql wants.

Well what do you mean by sane architecture ? For which architecture
and which GLIBC version it is possible to change it  ?

I might be mistaken but last time we have checked it
pthread_attr_setstacksize() on Linux but it does not seems to have any
positive effect.  Thread stacks are still allocated by 2M mmaped
blocks.

Also the problem is we need support for rather different
configurations. We have some customers who have not upgraded to GLIBC
2.2.x yet, but still would like to have stable and high performance
MySQL version.


-- 
For technical support contracts, visit https://order.mysql.com/?ref=mpza
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Peter Zaitsev <peter@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Moscow, Russia
       <___/   www.mysql.com   M: +7 095 725 4955


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