After searching for a way to load a program in memory for fast start time I found preload.sourceforge.net
I then kept looking and found CentOS 5 has readahead_early and readahead_later.
I have (2) questions.
1) the /etc/readahead.d/default.later file has firefox 1.5 preloads mentioned. That seems REALLY old. shouldnt that be updated?
2) can I just add the path to oowriter to /etc/readahead.d/default.later and oowriter will be ready all the time to just run from memory and wont have to load from disk?
Is there a /etc/readahead.d/local type file to add oowriter to instead of default.later?
Thanks,
Jerry
more /etc/readahead.d/impress.later /usr/bin/soffice /opt/openoffice.org3/program/soffice.bin
I created the above file /etc/readahead.d/impress.later Put in it the two lines above. The /etc/init.d/readahead_later script takes any file name *.later so I made a new file instead of editing /etc/readahead.d/default.later
I did service readahead_later restart
I then started impress a couple times and it still takes a LONG time to startup. I was "hoping" it would be cached in memory and start right up.
I can find anything in dmesg or /var/log/messages that says any error for readahead or that anything is happening.
How do I know the server is or is not doing anything for me? As I mentioned I did not notice any difference in application load time.
Thanks,
Jerry