Minimizing power consumption is important for mobile computers, and disks consume a significant portion of system-wide power. There is a large difference in power consumption between a disk that is spinning and one that is not, so systems try to keep the disk spinning only when it must. The system must trade off between the power that can be saved by spinning the disk down quickly after each access and the impact on response time from spinning it up again too often. We use trace-driven simulation to examine these trade-offs, and compare a number of different algorithms for controlling disk spin-down. We simulate disk accesses from a mobile computer (a Macintosh Powerbook Duo 230) and also from a desktop workstation (a Hewlett-Packard 9000/845 personal workstation running HP-UX), running on two disks used on mobile computers, the Hewlett-Packard Kittyhawk C3014A and the Quantum Go•Drive 120. We show that the "perfect" off-line algorithm--one that consumes minimum power without increasing response time relative to a disk that never spins down--can reduce disk power consumption by 35--50%, compared to the fixed threshold suggested by manufacturers. An on-line algorithm with a threshold of 10 seconds, running on the Powerbook trace and Go•Drive disk, reduces energy consumption by about 40% compared to the 5-minute threshold recommended by manufacturers of comparable disks; however, over a 4-hour trace period it results in 140 additional delays due to disk spin-ups.
[1]
Mary Baker,et al.
Measurements of a distributed file system
,
1991,
SOSP '91.
[2]
Mary Baker,et al.
Non-volatile memory for fast, reliable file systems
,
1992,
ASPLOS V.
[3]
John Wilkes,et al.
UNIX Disk Access Patterns
,
1993,
USENIX Winter.
[4]
Kai Li,et al.
Operating system implications of solid-state mobile computers
,
1993,
Proceedings of IEEE 4th Workshop on Workstation Operating Systems. WWOS-III.
[5]
P. Krishnan,et al.
Flash memory file caching for mobile computers
,
1994,
1994 Proceedings of the Twenty-Seventh Hawaii International Conference on System Sciences.
[6]
Paul M. Greenawalt.
Modeling power management for hard disks
,
1994,
Proceedings of International Workshop on Modeling, Analysis and Simulation of Computer and Telecommunication Systems.
[7]
Paul Horton,et al.
A Quantitative Analysis of Disk Drive Power Management in Portable Computers
,
1994,
USENIX Winter.