laptop-mode ruled by amount of cached data rather than elapsed time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I\m using laptop mode even when the machine is connected to ac because
it makes a huge difference in terms of noise in a really quiet room.
The only thing that annoys me now is that the disk spins up after 10
minutes even if it has to write back rather small amounts of data. If
I'm just reading, for instance, I don't add any valuable data.
However, in the background syslog may have added another of these ----
mark $timestamp ---- lines in /var/log/messages or the exim4 queue
runner added a line to /var/log/exim4/main.log and the like. I could,
of course, extend the time between write backs but in that case it
would take, say, half an hour until data is actually written to disk
even if there was a huge amount of output. So, my question is whether
there is a way to force data being written back once they have
exceeded a certain limit or, even better, to write back data every 10
minutes if a reasonable amount has accumulated and skip one spin up
otherwise.

Thank you for your help,

Elias
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux