2000-07-31 14:35:29

by Xuan Baldauf

[permalink] [raw]
Subject: Re: (reiserfs) Re: sync: why disk cannot spin down



Matthias Andree wrote:

> On Mon, 31 Jul 2000, Xuan Baldauf wrote:
>
> > > > does not necessarily spin up the disk!
> > >
> > > Because you have to issue a drive reset.
> >
> > This is my intent, not to spin up the disk. (In my previous case, sync
> > always spun up the disk because the filesystem was not mounted with
> > "noatime".)
>
> This will still not work, since after some time, the kernel starts
> missing the drive acknowledgements and eventually issues a reset
> condition on that IDE channel. See my other mail for details.

You tell me the kernel starts missing drive ACKs even if there are no read
or write requests pending? Even then, the drive was never in sleep mode
(requires reset), it always was in standby mode (does not require reset). My
primary intent is to reduce the noise of the drive, not the power
consumption.

>
> --
> Matthias Andree

Xu?n.:o)




2000-07-31 14:35:13

by Matthias Andree

[permalink] [raw]
Subject: Re: (reiserfs) Re: sync: why disk cannot spin down

On Mon, 31 Jul 2000, Xuan Baldauf wrote:
> Matthias Andree wrote:
> You tell me the kernel starts missing drive ACKs even if there are no read
> or write requests pending? Even then, the drive was never in sleep mode
> (requires reset), it always was in standby mode (does not require reset). My
> primary intent is to reduce the noise of the drive, not the power
> consumption.

Of course, if the kernel is not writing, it's not missing "operation
complete" transactions.

My point is: putting a drive to sleep rather than to standby will not
help much, it will only delay the spin-up and possibly leave you with a
slower drive.

--
Matthias Andree

2000-07-31 15:01:03

by Marc Lehmann

[permalink] [raw]
Subject: Re: (reiserfs) Re: sync: why disk cannot spin down

On Mon, Jul 31, 2000 at 04:53:00PM +0200, Matthias Andree <[email protected]> wrote:
> My point is: putting a drive to sleep rather than to standby will not
> help much, it will only delay the spin-up and possibly leave you with a
> slower drive.

Cool logic. How do you define "much"? Drive electronics can still use
a lot of power, and most users (xuan and me excluded ;) want this for
power-save.

In practise, of course, there is a clear trade-off between ugly error (!)
messages from the kernel drawing for your attention and not putting the
drive to sleep.

In general, the kernel support is lacking much with respect to
power-savings (just spin down your scsi-drive to get some nice hang (and
yes, I know the scsi-idle patch)).

--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / [email protected] |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|