[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [RFC/PATCH v2 0/5] readahead: daemon mode
From: Bartosz Golaszewski <bartekgola () gmail ! com>
Date: 2015-08-21 14:23:38
Message-ID: 1440167023-31099-1-git-send-email-bartekgola () gmail ! com
[Download RAW message or body]
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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic