You are not logged in.
I wonder if I can tune my box to have certain components loaded at boot time, so when I need them later they don't have to be read from my hdd anymore. For example, I head of a very small footprint linux distro that is supposed to run entirely in ram; or take Windows for example - after booting into Windows, when I hit Internet Explorer it takes a fraction of a second to start up (because all it's libraries are already in RAM). I want that too with my Arch install. Does anyone have any experience with that? Would I load that stuff as daemons? And what would I have to load for Firefox for example, that everything is running but the ui BEFORE hand? Any suggestions or "lessons" would be awesome.
BTW, I know that linux is disk caching by default, but the problem with that is that the cached data is not persistent + I need to open the app by hand (and then wait for it to start).
Offline
I've searched for a long time before finally finding a great way to do just this. It's a script lying around un the gentoo forum, and I made an entry on AUR for it here: http://aur.archlinux.org/packages.php?ID=34207 . Install it, then just run as root in a terminal:
# gopreload-prepare programname
for each program you want to keep in ram. Then, add gopreload to your DAEMONS array in your rc.conf. Reboot, and voila.
Offline
That's really awesome, seems to be exactly what I'm looking for! I'll give that a try as soon as my laptop ts up and running again. I'm in the process of debuntifying everything. lol
Last edited by elvinatom (2010-04-10 20:37:20)
Offline
yey! thanks for your advice rttommy, my firefox's now start up faster!
Offline
Is there a way to unload a program?
Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch
Offline
Delete the proper file list located in /usr/share/gopreload/enabled, or move it to /usr/share/gopreload/disabled.
Offline
thanks!
Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch
Offline