使用prelink加速软件的启动

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
leoc
帖子: 48
注册时间: 2007-09-08 19:01

使用prelink加速软件的启动

#1

帖子 leoc » 2007-09-11 13:44

不知道有没有人用过这个工具,这个工具可以加速库的加载和符号的连接。可以明显加速一般软件的启动速度的。有兴趣的可以试一下,对系统也基本没有什么损害,我是没有发现会造成什么软件无法运行。
leoc
帖子: 48
注册时间: 2007-09-08 19:01

#2

帖子 leoc » 2007-09-11 13:48

晕倒,放错地方了。版主可以移到“软件推荐”版吗?
头像
momova
帖子: 3381
注册时间: 2007-07-11 21:43
系统: archlinux
来自: 东江边

#3

帖子 momova » 2007-09-11 16:29

哪有下?源里有没?
怎么安装?
我来了,我看见了,我征服了!
求勾搭,不管饭。
头像
datafly
帖子: 117
注册时间: 2005-12-12 19:10
来自: 山西左权
联系:

#4

帖子 datafly » 2007-09-11 17:06

以前说过这个东西吧,没有什么作用的,因为在6.10的版本开发中就已经使用它了,多跑两遍perlink是没有什么作用的。
leoc
帖子: 48
注册时间: 2007-09-08 19:01

#5

帖子 leoc » 2007-09-11 20:39

楼上的可以能理解错了,安装好prelink后,运行一次就够了,只是安装,不运行是没有用的。我在debian下,源里有这个包的。你可以man prelink,最后有例子,用第一个例子就行了。

我实际使用后,iceweasel, openoffice.org的启动速度有提高。

能不能行,自己一试就知道了。
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#6

帖子 zhuqin_83 » 2007-09-11 22:53

prelink在7.04以后是不必要的,用preload好了。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#7

帖子 eexpress » 2007-09-12 0:14

别相信。过时的。
● 鸣学
lb_bn
帖子: 1261
注册时间: 2007-02-25 16:56

#8

帖子 lb_bn » 2007-09-12 11:11

没什么用。。。 :D
leoc
帖子: 48
注册时间: 2007-09-08 19:01

#9

帖子 leoc » 2007-09-12 11:39

恩,我在网上找到了:
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楼的,你的说法,让人感到我是一个骗子。呵呵。
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#10

帖子 bones7456 » 2007-09-12 12:20

ee说话总是太精简了,呵呵~LZ别在意。
关注我的blog: ε==3
leoc
帖子: 48
注册时间: 2007-09-08 19:01

#11

帖子 leoc » 2007-09-12 12:33

没事的。

我之前不知道preload,学习了。

还有什么同类型的工具吗?

论系统的启动速度和软件的启动速度,linux和windows相比,并没有太多优势,重点在于稳定,windows会变的越来越慢,linux不会。

preload/prelink可以帮助软件的启动速度。有什么好的idea可以加快系统启动的速度。现在linux下的启动机制都是从unix那里学来的,sysvinit的一套东西。搞得我在linux下,更习惯用suspend2ram或者standby了。那个速度爽啊。

另外,我发现grub在笔记本上的启动速度很慢啊,我是说从mbr中load grub的时候。大家又没有发现。any idea to solve it?
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#12

帖子 zhuqin_83 » 2007-09-12 12:50

leoc
preload -h
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
leoc
帖子: 48
注册时间: 2007-09-08 19:01

#13

帖子 leoc » 2007-09-12 13:55

zhuqin_83 写了:leoc
preload -h
呵呵,最基本了的,我光看manpage和/usr/share/doc/preload了。

thx

是这个:
/var/lib/preload/preload.state

/usr/share/doc/preload/下的README,刚才没看全,最后也有。:o hehe
回复