libeatmydata mod to save read caches of other processes, wraps read() with posix_fadvise calls.
Fedja Beader 59491677d8 Initial commit | 9 years ago | |
---|---|---|
LICENSE | 9 years ago | |
README.md | 9 years ago | |
libcachesave-105.c | 9 years ago | |
modify_libcachesave | 9 years ago |
A modification of the libeatmydata library to stop I/O intensive processes from impacting system interactivity (namely, destroying kernel's read caches and causing other processes to get swapped out).
Despite being based on libeatmydata, it removes all of libeatmydata's data eating functionality.
wraps read()s with posix_fadvise calls (see man posix_fadvise)
primarily designed for:
Installation:
Usage in GNU Bash:
reallynice ()
{
nice -n 19 ionice -c idle cachesave "$@"
}
reallynice rsync ...
security:
all commits should be signed by my code signing key: E6F8 B408 DD3A 7911 B4F1 2B3D 4A76 437C 16F2 FC4C