e4rat-preload(8)
| E4RAT-PRELOAD(8) | User Manuals | E4RAT-PRELOAD(8) |
NAME
e4rat-prealod - Preload files into memory
SYNOPSIS
e4rat-preload [ option(s) ] file(s)
DESCRIPTION
e4rat-preload transfers files into memory to gain a high cache hit rate. The list file(s) must be in a format generated by e4rat-collect. It assumes that all files got reallocated by e4rat-realloc at first.
In order to prevent disk seeks the preloading process is divided into two steps. First, it reads the files' I-Node information. In the second step, it reads the files' content. This can be done in parallel of executing the command specified with --execute. If e4rat-preload is executed as the init process by adding it to the kernel parameters, /sbin/init is called.
OPTIONS
- -V --version
- show version information and exit.
- -h --help
- display usage message and exit.
- -v --verbose
- increment verbosity level.
- -q --quiet
- set verbosity level to 0. This means that no messages will be displayed.
- -l --loglevel <number>
- set loglevel to <number>. All log messages are either send to Kernel log (see dmesg(1)) or syslog(3).
- -x --execute <command>
- As soon as I-Node preloading is done, execute <command>. Reading file content into the page cache in parallel.
- -s --sort
- sort files by their physically position. Inserts the device id and I-Node number if they're missing.
- -o --output [file]
- write sorted file list to output file. If filename is not supplied, it is written to the stdout.
EXAMPLES
Accelerate program startup time of Mozilla Firefox:
e4rat-preload /var/lib/e4rat/firefox -x firefox
Accelerate the boot process:
Run e4rat-preload as early as possible. It is recommended to run
it as the init process. To do so, append the following line to the Kernel
parameters in grub(8) or lilo(8):
init=/sbin/e4rat-preload
FILES
/etc/e4rat.conf
E4rat configuration file.
AUTHOR
Written by Andreas Rid and Gundolf Kiefer.
REPORTING BUGS
Report bugs to Andreas Rid <conso at users.sf.net>.
SEE ALSO
e4rat-collect(8), e4rat-realloc(8), e4rat.conf(8)
| 2022-02-15 | e4rat 0.2.3 |
