You are not logged in.

#1 2010-04-10 00:41:26

elvinatom
Member
Registered: 2010-04-03
Posts: 18

Speeding up application lauch

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

#2 2010-04-10 05:00:43

rttommy
Member
Registered: 2007-12-27
Posts: 19

Re: Speeding up application lauch

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

#3 2010-04-10 20:36:40

elvinatom
Member
Registered: 2010-04-03
Posts: 18

Re: Speeding up application lauch

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

#4 2010-04-11 23:45:04

ch1pz
Member
Registered: 2010-01-25
Posts: 10

Re: Speeding up application lauch

yey! thanks for your advice rttommy, my firefox's now start up faster! big_smile

Offline

#5 2010-04-12 00:11:57

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: Speeding up application lauch

Is there a way to unload a program?


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

#6 2010-04-12 00:28:26

rttommy
Member
Registered: 2007-12-27
Posts: 19

Re: Speeding up application lauch

Delete the proper file list located in /usr/share/gopreload/enabled, or move it to /usr/share/gopreload/disabled.

Offline

#7 2010-04-12 01:10:13

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: Speeding up application lauch

thanks!


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

Board footer

Powered by FluxBB