[RFC/PATCH v2 0/5] readahead: daemon mode
Bartosz Golaszewski
bartekgola at gmail.com
Fri Aug 21 14:23:38 UTC 2015
While working on an embedded system running several big services, X-org,
fluxbox, Qt5 etc. where the boot-time was awful, it turned out that the
readahead implementation from systemd (the one that was nuked in 2014)
improves the time needed to start all the programs by a few seconds.
This series introduces a small (LOC < 500) readahead daemon implementation
based on fanotify and readahead syscalls.
This series is also available at:
https://github.com/brgl/busybox readahead
v1:
http://lists.busybox.net/pipermail/busybox/2015-August/083236.html
v2:
- made daemon mode optional and disabled by default
- removed patches implementing system calls in busybox
Bartosz Golaszewski (5):
libbb: add str_isblank() macro
libbb: add DECIMAL_STR_MAX macro
libbb: add ends_with() function
libbb: add config_from_fp() and config_free() functions
readahead: applet extension
docs/readahead.txt | 39 +++
include/libbb.h | 13 +
libbb/compare_string_array.c | 30 ++
libbb/parse_config.c | 27 +-
libbb/skip_whitespace.c | 17 ++
miscutils/Config.src | 10 +
miscutils/readahead.c | 647 ++++++++++++++++++++++++++++++++++++++++++-
7 files changed, 762 insertions(+), 21 deletions(-)
create mode 100644 docs/readahead.txt
--
2.1.4
More information about the busybox
mailing list