Wednesday, April 9, 2008

Speed up Gnome in Ubuntu: Tip2

Another simple way to speed up your desktop is to install preload. According to Wikipedia, this program uses Markov chains to guess what libraries you are likely to use next and loads them into memory when the demands on your system are low. This is especially useful at bootup because you know you want to load libgtk-x11 among others. It should also learn which programs you use most often and load them while idle.

It would be nice if it loaded these libraries when hovering over a launch icon like some other OS, but that would require desktop integration and is thus a task for GNOME/KDE and the distros.

Anyway is is just a simple install:

sudo apt-get install preload


Digg this

1 comment:

Herald said...

A quick aside: why use a Markov chain and not a Bayesian network. Markov chain assume that the previous states are irrelevant and only use the present state to predicting the future state, which indeed is true at startup. However if a do a multitude of tasks that use overlapping sets of applications, then I will preload many unneeded libraries. Also, at first thought, the volume of data needed to consider each used set of libraries is O(2^n) whereas for a Bayesian network is O(n^2), n being the number of libraries.