diff options
| author | Rob Landley <rob@landley.net> | 2006-08-20 22:12:18 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2006-08-20 22:12:18 +0000 |
| commit | 0e4690d4ef9fe55ccf6db371c826112809e162f9 (patch) | |
| tree | 1eac13023c328f3956a00f3e741eb1cda45696d0 /miscutils/Config.in | |
| parent | 289e86a0a5b2482fc1b6a442d3acd749639e4d64 (diff) | |
| download | busybox-w32-0e4690d4ef9fe55ccf6db371c826112809e162f9.tar.gz busybox-w32-0e4690d4ef9fe55ccf6db371c826112809e162f9.tar.bz2 busybox-w32-0e4690d4ef9fe55ccf6db371c826112809e162f9.zip | |
Michael Opdenacker contributed a readahead applet.
Diffstat (limited to 'miscutils/Config.in')
| -rw-r--r-- | miscutils/Config.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index 4296b54ea..9ad342151 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
| @@ -276,6 +276,22 @@ config CONFIG_MT | |||
| 276 | to advance or rewind a tape past a specified number of archive | 276 | to advance or rewind a tape past a specified number of archive |
| 277 | files on the tape. | 277 | files on the tape. |
| 278 | 278 | ||
| 279 | config CONFIG_READAHEAD | ||
| 280 | bool "readahead" | ||
| 281 | default n | ||
| 282 | help | ||
| 283 | Preload the files listed on the command line into RAM cache so that | ||
| 284 | subsequent reads on these files will not block on disk I/O. | ||
| 285 | |||
| 286 | This applet just calls the readahead(2) system call on each file. | ||
| 287 | It is mainly useful in system startup scripts to preload files | ||
| 288 | or executables before they are used. When used at the right time | ||
| 289 | (in particular when a CPU boundprocess is running) it can | ||
| 290 | significantly speed up system startup. | ||
| 291 | |||
| 292 | As readahead(2) blocks until each file has been read, it is best to | ||
| 293 | run this applet as a background job. | ||
| 294 | |||
| 279 | config CONFIG_RUNLEVEL | 295 | config CONFIG_RUNLEVEL |
| 280 | bool "runlevel" | 296 | bool "runlevel" |
| 281 | default n | 297 | default n |
