[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: prelinking



Out of curiosity I tried compiling my own QT without Xinerama and OpenGL to 
test out the prelink program in sid.  It does indeed increase the performance 
of KDE 3 programs:

# time konqueror -invalid
konqueror: Unknown option '-invalid'.
real    0m0.052s
user    0m0.030s
sys     0m0.030s
# prelink -u /usr/bin/konqueror              # undo prelinking...
# time konqueror -invalid
konqueror: Unknown option '-invalid'.
real    0m0.516s
user    0m0.490s
sys     0m0.030s

The increase isn't mind-boggling, since konqueror takes about 1.5 seconds in 
addition to this to finish loading and display its window on my machine.  But 
it is nothing to sneeze at (2 seconds -> 1.5 seconds = 25% reduction).  It 
may even be more, since I didn't un-prelink all my kde libraries to test 
(this may not make a difference, I'm not sure).

In light of this, I think prelinking KDE is definitely a good idea.  All my 
KDE programs run fine without opengl support, even the opengl screensavers.  
I guess quite a few people use Xinerama though.  What do you think about 
offering a special qt-prelinkable package?  And how hard would it be for the 
Xinerama folks to make Xinerama position-independent?  And is it even 
feasible to make OpenGL position-independent?

	James



Reply to: