Comment 559 for bug 59695

Revision history for this message
Darlan Cavalcante (darcamo) wrote :

I also enabled laptop-mode and and the bug was there on battery.
In laptop-mode config file it says that hdparm uses -B254 when on AC and -B1 when on battery.

I changed -B1 to -B128 but the load_cycles still increase rapidly (I tested higher values with hdparm, but even higher values such as -B230 does not solve the problem for me - only -B254 or -B255).

Shouldn't laptop-mode make reads and writes less frequently? If laptop-mode avoids accessing the HD for about 3 minutes average the problem would be solved and the "parking feature" of the HDs would actually be a feature instead of a problem.

While -B254 stop the load cycle problem I don't feel comfortable with this as a solution since the temperature jumps from 40-42 (Vista) to 48-49 (ubuntu with -B254) when in normal usage.

Notice that if i use -B128 and keep the HD busy (downloads, for instance) the temperature stays in the range 39-40 and the load cycle does not increase -> by the same reason it is not using the "parking feature" for impact protection.

Therefore, the perfectly solution would be if laptop-mode could really stop any access to the hard drive for 2 or 3 minutes (average) avoiding the excessive load cycle while at the same time using the park feature of the HD for protection.

On the other hand, ubuntu could constantly pool the hard drive to avoid a load cycle and use a value such as 128 for hdparm (at least while a better solution with laptop-mode is found). While there wouldn't be the protection provided by parking, at least it would avoid increasing the HD temperature unnecessarily. This seems to be what Vista does (intentionally or unintentionally), since I see the HD light blink periodically even when It is idle.