Difference between revisions of "Preload"

From ArchWiki
Jump to: navigation, search
(Undo revision 280996 by Flu (talk) Totally unneccesary cutdown of starting preload with systemd, was perfectly fine before.)
(Undo and revised revision 282849 by 0X1A (talk))
Line 7: Line 7:
 
Markov chains; files of more frequently-used programs are, during a
 
Markov chains; files of more frequently-used programs are, during a
 
computer's spare time, loaded into memory. This results in faster
 
computer's spare time, loaded into memory. This results in faster
startup times as less data needs to be fetched from disk. preload is
+
startup times as less data needs to be fetched from disk. ''preload'' is
 
often paired with [[prelink]].
 
often paired with [[prelink]].
  
 
== Installation ==
 
== Installation ==
  
[[pacman|Install]] {{AUR|preload}} from [[AUR]].
+
[[pacman|Install]] {{AUR|preload}} from [[AUR]]. Now [[Daemon|start]] the [[systemd]] service {{ic|preload}}, and/or enable it in order to start at boot.
 
+
== Running the service ==
+
 
+
Start directly with:
+
 
+
# systemctl start preload.service
+
 
+
To start preload at system boot:
+
 
+
# systemctl enable preload.service
+
  
 
== Configuration ==
 
== Configuration ==

Revision as of 21:33, 25 November 2013

preload is a program written by Behdad Esfahbod which runs as a daemon and records statistics about usage of programs using Markov chains; files of more frequently-used programs are, during a computer's spare time, loaded into memory. This results in faster startup times as less data needs to be fetched from disk. preload is often paired with prelink.

Installation

Install preloadAUR from AUR. Now start the systemd service preload, and/or enable it in order to start at boot.

Configuration

The configuration file is /etc/conf.d/preload, it contains default settings that should be suitable for regular users. The cycle option lets you configure how often to ping the preload system to update its model of which applications and libraries to cache.

See also