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

Re: Laptop sleep



On Aug 06 2001, Thomas Zimmerman wrote:
> I've been using an old laptop for a couple of days. I have the
> harddrive spining down after 30s but it never stays down. (I even
> echo'ed some new setting to /proc/sys/vm/bdflush...didn't seem to
> help). I was wounding if anyone has some tips on what to check; so
> this drive will stay asleep when there isn't any obvious need to be
> spun up.

	Well, aside from the problems with dirty buffers being written
	to disk, I can think of mounting your filesystems with the
	option noatime.

	This way, your laptop harddisk won't be writing updates to the
	acess time of files whenever you read a file, for example.

	I guess that this update contributes to generating things to
	make the buffers dirty and Linux is writing this information
	to disk to try to keep the metadata of files in a consistent
	state with the acessed files.


	[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Reply to: