Большой Воронежский Форум
» UNIX и дериваты>Prelink как средство увеличить скорость запуска приложений (50%)
zic 00:44 27.01.2004
What is Prelink and how can it help me?

Most common applications make use of shared libraries. These shared libraries need to be loaded into memory at runtime and the various symbol references need to be resolved. For most small programs this dynamic linking is very quick. But for programs written in C++ and that have many library dependencies, the dynamic linking can take a fair amount of time.

On most systems, libraries are not changed very often and when a program is run, the operations taken to link the program are the same every time. Prelink takes advantage of this by carrying out the linking and storing it in the executable, in effect prelinking it. In order for the linker, you need ld-linux.so in glibc; to recognize the prelinking you need >=glibc-2.3.1-r2.

Prelinking can cut the startup times of applications. For example, a typical KDE program's loading time can be cut by as much as 50%. The only maintenance required is re-running prelink every time a library is upgraded for a pre-linked executable.



Интересная статья .
http://www.gentoo.org/main/en/performance.xml


Субьективно запуск второй (и последующих копий приложений происходит мгновенно ) [Ответ]
netwind 11:24 29.01.2004
Фигня)
На самом деле prelink придумал билл гейц в 1996 году, стандартные компоненты windows уже прелинкованы, делается это программой rebase.exe. [Ответ]
zic 13:16 29.01.2004
netwind
Работает . [Ответ]
Вверх