我在开机后以非常类似的方式使用我的电脑:我大部分时间都在使用evince、铬浏览器、gmpc和gpodder。现在,我想缓存那些程序(如果需要的话,以牺牲启动时间为代价)。
现在,我查看了这个sudo ureadahead --dump|grep chromium包的内容,发现只有图标、.dekstop文件和gconf键被缓存*。
因此,我想知道是否有一种方法可以使我最常用的程序的二进制文件和库也提前缓存,并在引导后立即打开它们。
*据我所知,预置并不真正缓存文件,而是保存文件列表并按inode排序,从而优化了访问模式,但是很好.
发布于 2011-10-25 14:19:25
嗯-也许预加载就是你所看到的应用程序。
:~$ apt-cache show preload
Description: adaptive readahead daemon
preload monitors applications that users run, and by analyzing this
data, predicts what applications users might run, and fetches those
binaries and their dependencies into memory for faster startup times.
.
Note that installing preload will not make your system boot faster
and that preload is a daemon that runs with root priviledges.
Homepage: http://sourceforge.net/projects/preloadhttp://www.cyberciti.biz/tips/speed-up-your-linux-system.html
http://www.howtoforge.com/speed-up-your-system-with-preload-on-ubuntu-9.04
https://askubuntu.com/questions/71395
复制相似问题