suspend-hibernate read ahead 0.99-pre1 review
Downloadsuspend-hibernate read ahead (SHRA) increases the response time of running programs when coming out of suspend states on Linux. su
|
|
suspend-hibernate read ahead (SHRA) increases the response time of running programs when coming out of suspend states on Linux.
suspend-hibernate read ahead aims to support all init-style Linux distributions through run-control startup scripts.
Hibernation-suspend readahead is a simple script that loads the libraries of currently
running programs into memory after a come-back from hibernation or suspend mode.
In simple words, hibernate readahead reduces the response-time (interactivity) of already running programs on your way out of suspend or hibernate mode.
The idea is very dumb and simple and is init-style portable (BSD and SYSV).
Installation:
Type 'make' for starters.
For the impatient, 'make install' to install as a daemon into your configuration scripts.
The installer only knows about BSD and SYSV style inits. I can't guarantee that other distros other than Slackware-based and Debian-based would work.
The installer is non-destructive (as far as I know). It adds configuration information into your run-control scripts but does NOT pollute them destructively. That is if you uninstall shra you won't have to worry about left-over chunks of code messing your system.
Example:
In slackware, /etc/rc.d/rc.hreadahead is referenced in /etc/rc.d/rc.local as such:
# hreadahead reference for Slackware
if [ -x /etc/rc.d/rc.hreadahead ]; then
. /etc/rc.d/rc.hreadahead
fi
rc.local is a script used by many programs to reference to start-up scripts. While the installer cannot automatically remove the above line from the rc.local script, it is safe to leave it there since the 'if' check will fail silently or should I say succeed?
What's New in This Release:
run-control scripts now apply and install cleanly.
The script has been daemonized.
Installation works OK for Slackware and Ubuntu users.
suspend-hibernate read ahead 0.99-pre1 keywords