分页: 1 / 1
使用prelink加速软件的启动
发表于 : 2007-09-11 13:44
由 leoc
不知道有没有人用过这个工具,这个工具可以加速库的加载和符号的连接。可以明显加速一般软件的启动速度的。有兴趣的可以试一下,对系统也基本没有什么损害,我是没有发现会造成什么软件无法运行。
发表于 : 2007-09-11 13:48
由 leoc
晕倒,放错地方了。版主可以移到“软件推荐”版吗?
发表于 : 2007-09-11 16:29
由 momova
哪有下?源里有没?
怎么安装?
发表于 : 2007-09-11 17:06
由 datafly
以前说过这个东西吧,没有什么作用的,因为在6.10的版本开发中就已经使用它了,多跑两遍perlink是没有什么作用的。
发表于 : 2007-09-11 20:39
由 leoc
楼上的可以能理解错了,安装好prelink后,运行一次就够了,只是安装,不运行是没有用的。我在debian下,源里有这个包的。你可以man prelink,最后有例子,用第一个例子就行了。
我实际使用后,iceweasel, openoffice.org的启动速度有提高。
能不能行,自己一试就知道了。
发表于 : 2007-09-11 22:53
由 zhuqin_83
prelink在7.04以后是不必要的,用preload好了。
发表于 : 2007-09-12 0:14
由 eexpress
别相信。过时的。
发表于 : 2007-09-12 11:11
由 lb_bn
没什么用。。。

发表于 : 2007-09-12 11:39
由 leoc
恩,我在网上找到了:
5. Preload It does what you think. It preloads most common used libs and files = faster startup times on your applications. sudo apt-get install preload What about prelink? Prelink is no longer necessary in feisty. Feisty uses a new linking mechanism call
我现在用的是debian,也许可以同时用它们。debian里面可能不像ubuntu使用了“new linking mechanism call”。这两个工具的的机制不一样。
我在debian下看preload的README:
preload
=======
preload is an adaptive readahead daemon that prefetches files mapped by
applications from the disk to reduce application startup time. preload should
run on any recent Linux system with /proc pseudo-filesystem mounted.
preload runs as a daemon and gathers information about processes running on
the system and shared-objects that they use. This information is saved in a
file to keep across runs of preload.
preload is developed at
http://preload.sf.net/ Feel free to file bugs, or
join the mailing list.
我想找一下那个保存信息的文件。6楼的知道在哪里吗,我没有找到。
7楼的,你的说法,让人感到我是一个骗子。呵呵。
发表于 : 2007-09-12 12:20
由 bones7456
ee说话总是太精简了,呵呵~LZ别在意。
发表于 : 2007-09-12 12:33
由 leoc
没事的。
我之前不知道preload,学习了。
还有什么同类型的工具吗?
论系统的启动速度和软件的启动速度,linux和windows相比,并没有太多优势,重点在于稳定,windows会变的越来越慢,linux不会。
preload/prelink可以帮助软件的启动速度。有什么好的idea可以加快系统启动的速度。现在linux下的启动机制都是从unix那里学来的,sysvinit的一套东西。搞得我在linux下,更习惯用suspend2ram或者standby了。那个速度爽啊。
另外,我发现grub在笔记本上的启动速度很慢啊,我是说从mbr中load grub的时候。大家又没有发现。any idea to solve it?
发表于 : 2007-09-12 12:50
由 zhuqin_83
leoc
preload -h
发表于 : 2007-09-12 13:55
由 leoc
zhuqin_83 写了:leoc
preload -h
呵呵,最基本了的,我光看manpage和/usr/share/doc/preload了。
thx
是这个:
/var/lib/preload/preload.state
/usr/share/doc/preload/下的README,刚才没看全,最后也有。:o hehe