Re: noflushd: making/having drives spin down.
On Mon, Jan 05, 2004 at 09:03:54PM -0800, Mike Mestnik wrote:
> I had not yet upgraded to test11.
2.6.1-rc2 is already out.
> , s/hdtune/hdparm/g
> I think I am using journalling, as it's a laptop it's more likely to suddenly loose power. What
> dose this mean for noflushd? Are there any links or bug reports to track?
ext3 writes to disk every 5 sec iirc, reiserfs writes every 30 seconds,
and they are bypassing the kernels buffering mechanism so noflushd has
no effect on that timing.
laptop-mode (present in kernel 2.4.23 btw) patches ext3 to use the
bdflush timings. For reiserfs you need to patch it yourself (I wrote a
patch for that if you are interested).
laptop-mode is not available for 2.6 kernels yet.
> --- Tim Connors <firstname.lastname@example.org> wrote:
> > On Tue, 6 Jan 2004, Micha Feigin wrote:
> > > On Mon, Jan 05, 2004 at 01:36:48PM -0800, Mike Mestnik wrote:
> > > > I have a dell8900 and I can't seam to get the drive to spin down on 2.6.0-test9. The drive
> > makes
> > > > a noticeable whine that can be heard across the room. I'd like the noise to go away, that
> > is more
> > > > important than saving battery power for me.
> > > >
> > > > I'm using noflushd but it has no effect, I also tried hdtune.
> > > >
> > >
> > > Look at the -M option of hdparm:
> > > -M get/set acoustic management (0-254, 128: quiet, 254: fast) (EXPERIMENTAL)
> > That'll do no good.
> > -M just makes seeks slower. The OP is complaining about the constant whine
> > of the HD spinning. I would agree with him - my I4000 is really quite
> > disturbingly loud -- in a room full of computers.
> > noflushd is the best solution, as long as you don't use journalling
> > filesystems - although there is currently work in that area (seek google
> > for "laptop-mode" kernel patches)
> > Having said that, noflushd induces a bug in the kernel that is a killer
> > for me - threads become zombied after 43 minutes, eventually filling the
> > process table:
> > http://sourceforge.net/mailarchive/forum.php?thread_id=2060865&forum_id=4904
> > (gee, that mailing list has a lot of spam)
> > --
> > TimC -- http://astronomy.swin.edu.au/staff/tconnors/
> > The Klein-Gordon equation was derived by Schroedinger.
> > Hence its name. -- Peter Robinson, Rel. Quant. Mech Lecturer.
> > --
> > To UNSUBSCRIBE, email to email@example.com
> > with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org