Contents
What is the spindown timeout in hdparm?
If the APM level is 127, the spindown timeout is 10 s. If the APM level is 150, the spindown timeout is defined by the -S option. hdparm can set but not get the -S option (see How to determine disc spindown time).
What does hdparm do on a hard disk?
hdparm is a command line utility to set and view hardware parameters of hard disk drives. It can also be used as a simple benchmarking tool. Warning: Changing drive’s default parameters can freeze the system or even irreversibly damage the drive.
How to control the spin down time of a hard drive?
The encoding of the timeout value is somewhat peculiar. A value of zero means “timeouts are disabled”: the device will not automatically enter standby mode. Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 seconds to 20 minutes.
What’s the APM for the spindown timeout?
If the APM level is 127, the spindown timeout is 10 s. If the APM level is 150, the spindown timeout is defined by the -S option. to root’s crontab.
Which is the best value for hdparm ( 8 )?
A low value means aggressive power management and a high value means better performance. Possible settings range from values 1 through 127 (which permit spin-down), and values 128 through 254 (which do not permit spin-down).
Which is the highest power management setting for hdparm?
Possible settings range from values 1 through 127 (which permit spin-down), and values 128 through 254 (which do not permit spin-down). The highest degree of power management is attained with a setting of 1, and the highest I/O performance with a setting of 254.
How to set DMA on hdparm ( 8 )?
The -S, -y, -Y, and -Z options can be used to manipulate the IDE power modes. -d Get/set the “using_dma” flag for this drive. This option now works with most combinations of drives and PCI interfaces which support DMA and which are known to the kernel IDE driver.