Index of /ulrich/mobile-update
Mobile update daemon
(In case of download problems, use anonymous ftp:
mobile-update is a drop in replacement for the Linux update daemon
to minimize disk spin ups and reduce disk uptime. It flushes buffers
only when other disk activity is present. To ensure a consistent file
system call sync(8) manually. Otherwise files may be lost on
power failure. mobile-update does not use APM. So it works also on
use Cntrl-Alt-Del and the menue to invoke sync:
~/.fvwmrc: Exec "Sync" sync
* Original update daemon by Torsten Poulin
0 mobile modifications by Ulrich Neumerkel
1 cleanups by Andreas Mohr, Matthias Knol
- Different policies for AC on-line/off-line (needs APM support).
Just got a new machine (Sony VAIO PCG-737) with it. There, the disk
is again the loudest component.
- Dan Christensen's suggestions to have more safety without user
interaction. (Current worst case scenario: No disk access for weeks,
and then the system is switched off...). Maybe regular updates should
be enabled when on-line (but then, this is noisy...). Also try to
sort out very unimportant writes like last access info etc.
- use (something equivalent to)
/dev/hda to check the real status of disk (currently we only
guess the status indirectly and hdparm -C cannot be used directly
because this will cause an update of its access time...).
- Look into the update for newer distributions (written by Eric
Youngdale, Phil Bostley, Daniel Quinlan).
Eric Youngdale Phil Bostley Daniel Quinlan
- Find a good policy to avoid that the disk spins down and up
continuously. This may reduce disk lifetime, and is also annoying to
listen to. (Maybe increase spin down time when next access was too
soon etc. and decrease it when, well... there's some literature about
- Ensure that there is a spin down at least every X hours. (Rumours
are that certain disks for portables need to park/spin down etc. form
time to time).
- Writes to swap space
- A tool to trace easily the reason for spin ups.
- Look at OpenBIOS (/dev/bios),
(PhoenixBIOS 4.0 Release 6.0.B, BIOS Version R0111S3).