* unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
@ 1997-10-20 4:00 Mark Bartelt
1997-10-20 4:00 ` Mark Bartelt
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Mark Bartelt @ 1997-10-20 4:00 UTC (permalink / raw)
OK, gang ... Here's one I've never seen before, even though we
have many different types of SCSI drives, attached to dozens of
workstations (DEC, Sun, SGI, and various others). I haven't got
a clue as to whether this is a Seagate (mis)feature, or some bug
(or design silliness) in Digital UNIX, but here's the problem:
We recently installed a Seagate ST42351W (the 23 GByte Elite) on
a DEC Personal Workstation (a 433au, running Digital UNIX 4.0c).
When the disk hasn't been accessed within some time window (I've
not been able to quantify how long it has to be idle), it spins
down! This is *really* annoying, because the next time the disk
is accessed, there's a long (~30 second) delay, while the drive
spins up again.
I can think of two possible culprits here:
(1) The drive itself might be spinning itself down if it isn't
accessed for some time period. This seems highly unlikely. As
far as I can determine, there's nothing in anything that Seagate
supplied (or on their web page) that even hints at this sort of
behaviour.
(2) Digital's SCSI driver might be sending a "stop" command to
the disk if there is no access within the time window. But this
seems unlikely as well: Why on earth should it? And again, one
can't find anything in any of Digital's documentation that talks
about drive spindown by the SCSI driver.
But it has to be one of those two. And (unless one of those two
vendors fesses up) how can one even tell, short of putting some
sort of SCSI analyzer on the bus, to see whether the DEC box is
really sending a "stop" command to tell the drive to spin down?
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.utoronto.ca
Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
"Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-20 4:00 unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au) Mark Bartelt
@ 1997-10-20 4:00 ` Mark Bartelt
1997-10-20 4:00 ` Glenn Everhart
1997-10-21 4:00 ` Roy Smith
2 siblings, 0 replies; 7+ messages in thread
From: Mark Bartelt @ 1997-10-20 4:00 UTC (permalink / raw)
OK, before anyone goes to the trouble of replying to my query
from earlier this morning, I've found my answer. No thanks to
Digital's online documentation ("man -k" didn't point me to an
appropriate manpage), but (as is often the case) I was able to
find the information I needed by browsing through back issues
of the alpha-osf-managers mailing list.
The executive summary: This (mis)feature is new with DUnix V4;
it's part of the "power management subsystem". By default, any
disk not accessed for twenty minutes gets spun down, allegedly
to save power. (How much power does this really save, anyway?)
Fortunately, there's an easy way to disable this; "man dxpower"
tells how. (And "man -k power" would have pointed me there, if
only I'd been able to guess what keyword would do the trick.)
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.utoronto.ca
Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
"Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-20 4:00 unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au) Mark Bartelt
1997-10-20 4:00 ` Mark Bartelt
@ 1997-10-20 4:00 ` Glenn Everhart
1997-10-23 4:00 ` Stuart R. Fuller
1997-10-21 4:00 ` Roy Smith
2 siblings, 1 reply; 7+ messages in thread
From: Glenn Everhart @ 1997-10-20 4:00 UTC (permalink / raw)
Mark Bartelt wrote:
>
> OK, gang ... Here's one I've never seen before, even though we
> have many different types of SCSI drives, attached to dozens of
> workstations (DEC, Sun, SGI, and various others). I haven't got
> a clue as to whether this is a Seagate (mis)feature, or some bug
> (or design silliness) in Digital UNIX, but here's the problem:
>
> We recently installed a Seagate ST42351W (the 23 GByte Elite) on
> a DEC Personal Workstation (a 433au, running Digital UNIX 4.0c).
> When the disk hasn't been accessed within some time window (I've
> not been able to quantify how long it has to be idle), it spins
> down! This is *really* annoying, because the next time the disk
> is accessed, there's a long (~30 second) delay, while the drive
> spins up again.
>
> I can think of two possible culprits here:
>
> (1) The drive itself might be spinning itself down if it isn't
> accessed for some time period. This seems highly unlikely. As
> far as I can determine, there's nothing in anything that Seagate
> supplied (or on their web page) that even hints at this sort of
> behaviour.
>
> (2) Digital's SCSI driver might be sending a "stop" command to
> the disk if there is no access within the time window. But this
> seems unlikely as well: Why on earth should it? And again, one
> can't find anything in any of Digital's documentation that talks
> about drive spindown by the SCSI driver.
>
> But it has to be one of those two. And (unless one of those two
> vendors fesses up) how can one even tell, short of putting some
> sort of SCSI analyzer on the bus, to see whether the DEC box is
> really sending a "stop" command to tell the drive to spin down?
>
> Mark Bartelt 416/978-5619
> Canadian Institute for mark@cita.utoronto.ca
> Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
>
> "Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
The DEC SCSI drivers certainly aren't going to issue a SCSI STOP
unless you dismount them; io$_available or io$_unload do issue
SCSI STOP, but otherwise it won't happen.
The most likely scenario is that your disk is doing a "power saver"
thing on its own; a number of them do this and need to be sent
SCSI SET MODE commands to set their mode pages (vendor specific
in some cases!!!) to not spin down after an idle period.
OK, I see on rereading this is for dec unix, but I suspect the same
is true for them. A SCSI analyzer (yes, they're common) will of
course show what's going on, but a SCSI manual for the disk
drive will tell the tale also. Note that DEC labelled drives get
this part of the firmware set to run correctly...among many other
things.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-20 4:00 ` Glenn Everhart
@ 1997-10-23 4:00 ` Stuart R. Fuller
1997-10-25 4:00 ` Monty C. Brandenberg
0 siblings, 1 reply; 7+ messages in thread
From: Stuart R. Fuller @ 1997-10-23 4:00 UTC (permalink / raw)
Glenn Everhart (everhart@gce.com.gov) wrote:
: Mark Bartelt wrote:
: >
: > OK, gang ... Here's one I've never seen before, even though we
: > have many different types of SCSI drives, attached to dozens of
: > workstations (DEC, Sun, SGI, and various others). I haven't got
: > a clue as to whether this is a Seagate (mis)feature, or some bug
: > (or design silliness) in Digital UNIX, but here's the problem:
: >
: > We recently installed a Seagate ST42351W (the 23 GByte Elite) on
: > a DEC Personal Workstation (a 433au, running Digital UNIX 4.0c).
: > When the disk hasn't been accessed within some time window (I've
: > not been able to quantify how long it has to be idle), it spins
: > down! This is *really* annoying, because the next time the disk
: > is accessed, there's a long (~30 second) delay, while the drive
: > spins up again.
: >
: > I can think of two possible culprits here:
: >
: > (1) The drive itself might be spinning itself down if it isn't
: > accessed for some time period. This seems highly unlikely. As
: > far as I can determine, there's nothing in anything that Seagate
: > supplied (or on their web page) that even hints at this sort of
: > behaviour.
: >
: > (2) Digital's SCSI driver might be sending a "stop" command to
: > the disk if there is no access within the time window. But this
: > seems unlikely as well: Why on earth should it? And again, one
: > can't find anything in any of Digital's documentation that talks
: > about drive spindown by the SCSI driver.
: >
: > But it has to be one of those two. And (unless one of those two
: > vendors fesses up) how can one even tell, short of putting some
: > sort of SCSI analyzer on the bus, to see whether the DEC box is
: > really sending a "stop" command to tell the drive to spin down?
: >
: > Mark Bartelt 416/978-5619
: > Canadian Institute for mark@cita.utoronto.ca
: > Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
: >
: > "Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
: The DEC SCSI drivers certainly aren't going to issue a SCSI STOP
: unless you dismount them; io$_available or io$_unload do issue
: SCSI STOP, but otherwise it won't happen.
:
: The most likely scenario is that your disk is doing a "power saver"
: thing on its own; a number of them do this and need to be sent
: SCSI SET MODE commands to set their mode pages (vendor specific
: in some cases!!!) to not spin down after an idle period.
:
: OK, I see on rereading this is for dec unix, but I suspect the same
: is true for them. A SCSI analyzer (yes, they're common) will of
: course show what's going on, but a SCSI manual for the disk
: drive will tell the tale also. Note that DEC labelled drives get
: this part of the firmware set to run correctly...among many other
: things.
Of course, there's a 3rd and 4th alternative:
- the drive is broken
- the power supply in the workstation is marginal
Stu
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-23 4:00 ` Stuart R. Fuller
@ 1997-10-25 4:00 ` Monty C. Brandenberg
1997-10-25 4:00 ` Mark Bartelt
0 siblings, 1 reply; 7+ messages in thread
From: Monty C. Brandenberg @ 1997-10-25 4:00 UTC (permalink / raw)
In <upko26.fa2.ln@localhost> Stuart R. Fuller wrote:
> [Seagate spindown problem]
> Of course, there's a 3rd and 4th alternative:
>
> - the drive is broken
> - the power supply in the workstation is marginal
And the 5th in case it hasn't been mentioned before: the kernel power
management
facility, which encompasses DPMS as well, has been enabled. This *will* spin
down your disk but that feature can be disabled. Do an apropos on power or
similar. The gui is something like dxpowermgr...
--
Monty Brandenberg Software Consultant
MCB, Inc.
mcbinc@world.std.com
617.864.6907
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-25 4:00 ` Monty C. Brandenberg
@ 1997-10-25 4:00 ` Mark Bartelt
0 siblings, 0 replies; 7+ messages in thread
From: Mark Bartelt @ 1997-10-25 4:00 UTC (permalink / raw)
[ Stuart R. Fuller ]
>> Of course, there's a 3rd and 4th alternative:
>>
>> - the drive is broken
>> - the power supply in the workstation is marginal
[ Monty C. Brandenberg ]
>> And the 5th in case it hasn't been mentioned before: the kernel power
>> management
>> facility, which encompasses DPMS as well, has been enabled. This *will* spin
>> down your disk but that feature can be disabled. Do an apropos on power or
>> similar. The gui is something like dxpowermgr...
Hmm ... I posted a followup myself (<EICr7n.Don@utcc.utoronto.ca>)
shortly after my original question. And although it did make it to
DejaNews, it's evident from various followups (and e-mail replies)
that it didn't propagate everywhere. Anyway, in hopes that we can
put this thread to rest (but thanks to all of you who've replied,
anyway), here's my own followup to my original query:
| OK, before anyone goes to the trouble of replying to my query
| from earlier this morning, I've found my answer. No thanks to
| Digital's online documentation ("man -k" didn't point me to an
| appropriate manpage), but (as is often the case) I was able to
| find the information I needed by browsing through back issues
| of the alpha-osf-managers mailing list.
|
| The executive summary: This (mis)feature is new with DUnix V4;
| it's part of the "power management subsystem". By default, any
| disk not accessed for twenty minutes gets spun down, allegedly
| to save power. (How much power does this really save, anyway?)
|
| Fortunately, there's an easy way to disable this; "man dxpower"
| tells how. (And "man -k power" would have pointed me there, if
| only I'd been able to guess what keyword would do the trick.)
|
| Mark Bartelt 416/978-5619
| Canadian Institute for mark@cita.utoronto.ca
| Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
|
| "Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
1997-10-20 4:00 unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au) Mark Bartelt
1997-10-20 4:00 ` Mark Bartelt
1997-10-20 4:00 ` Glenn Everhart
@ 1997-10-21 4:00 ` Roy Smith
2 siblings, 0 replies; 7+ messages in thread
From: Roy Smith @ 1997-10-21 4:00 UTC (permalink / raw)
mark@cita.utoronto.ca wrote:
> When the disk hasn't been accessed within some time window (I've
> not been able to quantify how long it has to be idle), it spins
> down!
Beats me why it's doing it, but as an (ugly) work-around, how about just
running a process which reads a random block from the raw drive every
minute? It's pretty gross, but it'll keep the idle timer (wherever it is)
from spinning the drive down, and the performance impact should be
minimal:
/* pseudocode */
fd = open ("/dev/rrzNc")
while(1)
{
i = random (0, SIZE_OF_DISK)
seek (fd, i)
read (fd, buf, 512)
sleep (60) /* or whatever it takes */
}
--
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY 10016
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1997-10-25 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-20 4:00 unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au) Mark Bartelt
1997-10-20 4:00 ` Mark Bartelt
1997-10-20 4:00 ` Glenn Everhart
1997-10-23 4:00 ` Stuart R. Fuller
1997-10-25 4:00 ` Monty C. Brandenberg
1997-10-25 4:00 ` Mark Bartelt
1997-10-21 4:00 ` Roy Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox