On 2016-04-05 21:18, David C. Rankin wrote:
On 04/05/2016 01:08 PM, John Andersen wrote:
Are you in a habit of turning off atime on your laptops?
As far as I know, atime even affects cached files, and keeps drives spinning up and down frequently. But this might be obsolete information from years past.
No,
I've never done it. It may be worth looking into to see if that is still a valid defense. I'll report back if it is still a viable solution.
No, that's a different thing. What atime causes is that every read operation of a file (which already powers up the drive) involves an extra write operation, to record the time you accessed the file. Of course, a read of a cached file causes a write on the directory listing, an operation which is cached for a limited time itself. This should have no effect on a normal hard disk with a sleep time which could be ten or twenty minutes. It is a problem on disks with aggressive sleep strategy of a few seconds - which is the case with yours. The default nowdays is to mount "relatime" instead. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)