libeatmydata mod to save read caches of other processes, wraps read() with posix_fadvise calls.
Fedja Beader 59491677d8 Initial commit | před 9 roky | |
---|---|---|
LICENSE | před 9 roky | |
README.md | před 9 roky | |
libcachesave-105.c | před 9 roky | |
modify_libcachesave | před 9 roky |
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