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]

application start up and library load performance


Hi,

Sorry if this is the wrong list.

I have a question/concern about application startup and shared library
load performance. We have a large interactive application that uses a
lot of shared libraries. The application startup time and the load times
of the shared libraries on Linux is very bad when compared to W2K. I do
not have a number for the startup time but as an example here are the
load times for a couple of libraries.

The times on Linux:

Here are the numbers on Linux

Loading /exec/PartGui.so ... 
Load time: 1.26768 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.219152 seconds 
Loading /exec/Part.so ... 
Load time: 17.993 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.732228 seconds 
Loading /exec/PropertyGui.so ... 
Load time: 1.49174 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.099248 seconds 
Loading /exec/Property.so ... 
Load time: 2.13095 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.653313 seconds


Here are the numbers on W2K

Loading d:\exec\PartGui.dll ... 
Load time: 0.515 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.188 seconds 
Loading d:\exec\Part.dll ... 
Load time: 4.234 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.0779999 seconds 
Loading d:\exec\PropertyGui.dll ... 
Load time: 0.422 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.109 seconds 
Loading d:\exec\Property.dll ... 
Load time: 0.25 seconds 
Begin dynamic initialization ... 
Dynamic initialization time: 0.438 seconds 


These times were collected on PIII !GHz machines with identical I/O
hardware. Since Linux does everything else faster the W2K I was
wondering if anyone has any tips on how we can improve on the load times
on Linux.

We use dlopen call for the shared libraries, the code is compiled with
the Intel C/C++ compiler.

Any insight/help on this topic is much appreciated.

Thanks,
Robert


-- 
Robert Schweikert                   MAY THE SOURCE BE WITH YOU
rjschwei@cox.net                               LINUX



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