Preload : script to keep it under control and speed up your operating system | Flavio's blog
 

Preload : script to keep it under control and speed up your operating system

in Ubuntu | | 2 Comments » | Last modified:


I'm not going to weave again the praises of Preload written by Behdad Esfahbod on the occasion of the thesis for his bachelor's and that over time has become a very handy utility for computers a little older…

Briefly, preload uses algorithms (described in his thesis and then refined) to see what are the most used applications, and predict, using a portion of the RAM memory, if they will be open again. in this case, applications (is. FireFox) They are pre-loaded into RAM, which it is infinitely faster than a hard drive (By way of example, a modern law to ram 6/7 GB / s against a HD that law to 70/80 MB/s !!!)

Some tests carried out by Techtrob:

Dopo aver provato a compilare su Ubuntu Hardy la versione preload – 0.6.3 (update: Jul 29 2008) and it has found that this is incompatible with this version of Ubuntu (View this thread), I installed the version that is provided by the official repository of Ubuntu, and to monitor the preload operation easy, to be sure that this version really worked, ho approntato due script per richiamare alcuni comandi facilmente:

Copy this into a file, give execute permissions (chmod +X), e copiarlo in /usr/local/bin:
sudo tail -f /var/log/preload.log

This second script:
sudo less /var/lib/preload/preload.state

By assigning these two script names “easy” to remember, you can check how much RAM is using preload and it is REALLY making use with the first script, and see which files have been pre-loaded into RAM with the second script.

 

2 Comments »

Please accept third-party cookies to be able to comment on the post! The CHANGE COOKIE CHOICES button is located in the footer of the site. / In order to comment this post, please accept the third party cookies! The button CAMBIA LE SCELTE DEI COOKIE is in the footer of the website.