lkml.org 
[lkml]   [2000]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (reiserfs) sync: why disk cannot spin down
On Mon, Jul 31, 2000 at 12:14:34AM +0200, Xuan Baldauf <baldauf@medium.net> wrote:
> spindown of (IDE) disks. There will be a call to sync() after 32 or less
> seconds have elapsed since the last sync(). Not a problem itself, but
> every sync spins up the disk again.

Which is normal and definitely not reiserfs-dependent.

As for some hint: use "noflushd" (try freshmeat). With that, you don't loose
atime (which is very important for many things, like /tmp cleanup) and your
disks still do not spin up.

I use it on my answering machine, and unless I receive e-mail (fsync ;), or
the memory cache is full (very rare, as i receive lots of e-mail), the disks
stay down.

At night, when I don't route mail to my machine, the disks are usually down
for hours.

You could, of course, just disable atime but that's far worse a solution, as
every write will trigger a spin up.

--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans