Re: OT: benefits of preloading libraries
Noah L. Meyerhans said:
> I'm surprised there isn't anything on the web about this. I just
> searched google and altavista (remember them?) but came up with nothing.
>
> In any case, loading shared libraries is slow. Compiling everything
> statically would be much faster, but you'd sacrifice huge amounts of disk
> space. Preloading helps to work around the performance hit you take when
> using dynamically loaded libraries by getting ld.so to load the libraries
> prior to runtime, so it doesn't have to work as hard when you're actually
> running the program.
>
> It might be interesting to see a side by side comparison of something big
> like mozilla or gnumeric with and without preloading. I suppose if such a
> thing already existed we'd have found it in our web searches...
sounds interesting, i think I will play with this preload more :)
thanks!
nate
Reply to: