libeatmydata mod to save read caches of other processes, wraps read() with posix_fadvise calls.
Fedja Beader 59491677d8 Initial commit | преди 9 години | |
---|---|---|
LICENSE | преди 9 години | |
README.md | преди 9 години | |
libcachesave-105.c | преди 9 години | |
modify_libcachesave | преди 9 години |
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