wok annotate e4rat/description.txt @ rev 21112

updated libarchive and libarchive-dev (3.2.2 -> 3.3.3)
author Hans-G?nter Theisgen
date Tue Mar 19 16:04:31 2019 +0100 (2019-03-19)
parents
children
rev   line source
al@18534 1 e4rat reduces disk access times through physical file reallocation. It is based
al@18534 2 on the online defragmentation ioctl EXT4_IOC_MOVE_EXT from the ext4 filesystem,
al@18534 3 which was introduced in Linux Kernel 2.6.31. Therefore, other filesystem types
al@18534 4 or earlier versions of extended filesystems are not supported.
al@18534 5
al@18534 6 e4rat consists of three binaries. The first is e4rat-collect. Its purpose is to
al@18534 7 gather relevant files by monitoring file accesses during an application startup.
al@18534 8 The generated file list is the fundament of the second step. With the second
al@18534 9 step, e4rat-realloc, files are placed physically in a row on disk.
al@18534 10 The reallocation of the files' content yields a higher disk transfer rate which
al@18534 11 accelerates program start processes.
al@18534 12
al@18534 13 Third, you can also read-ahead files to gain a higher cache hit rate.
al@18534 14 e4rat-preload transfers files into memory in parallel to program startup.
al@18534 15
al@18534 16 Because a file consists of file content and its I-Node information the
al@18534 17 preloading process is divided into two steps. First, it reads the I-Nodes'
al@18534 18 information which are still spread over the entire filesystem. In the second
al@18534 19 step, the files' content is read without causing any disk seeks.
al@18534 20
al@18534 21 For more information see: e4rat-collect(8), e4rat-realloc(8), e4rat-preload(8)
al@18534 22 and e4rat.conf(5).
al@18534 23
al@18534 24
al@18534 25 SAMPLE USAGE: Accelerate the boot process
al@18534 26 -------------
al@18534 27
al@18534 28 Run e4rat-collect as init process through adding following line to Kernel
al@18534 29 parameters:
al@18534 30
al@18534 31 init=/sbin/e4rat-collect
al@18534 32
al@18534 33 After e4rat-collect has terminated the generated file list is stored at:
al@18534 34
al@18534 35 /var/lib/e4rat/startup.log
al@18534 36
al@18534 37 Before reallocating boot files it is recommaned to switch to runlevel 1 to stop
al@18534 38 most of all running proceses to gain write access to the process binary file:
al@18534 39
al@18534 40 init 1
al@18534 41
al@18534 42 Reallocating boot files:
al@18534 43
al@18534 44 e4rat-realloc /var/lib/e4rat/startup.log
al@18534 45
al@18534 46 To start e4rat-preload as initial process append following to kernel your
al@18534 47 parameters:
al@18534 48
al@18534 49 init=/sbin/e4rat-preload