* hdparm -M acoustic management for sata disks?
@ 2008-06-21 10:14 Soeren Sonnenburg
2008-06-21 14:00 ` Mark Lord
0 siblings, 1 reply; 11+ messages in thread
From: Soeren Sonnenburg @ 2008-06-21 10:14 UTC (permalink / raw)
To: Linux Kernel
Dear all,
why is acoustic management via hdparm not supported for sata disks?
# hdparm -M /dev/sda
/dev/sda:
acoustic = not supported
# sudo hdparm -M 254 /dev/sda
/dev/sda:
setting acoustic management to 254
HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
acoustic = not supported
Is there any patch flying around that already enables this or even any
ETA in the current mainstream?
Thanks!
Soeren
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 10:14 hdparm -M acoustic management for sata disks? Soeren Sonnenburg
@ 2008-06-21 14:00 ` Mark Lord
2008-06-21 16:40 ` Soeren Sonnenburg
0 siblings, 1 reply; 11+ messages in thread
From: Mark Lord @ 2008-06-21 14:00 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel
Soeren Sonnenburg wrote:
> Dear all,
>
> why is acoustic management via hdparm not supported for sata disks?
>
> # hdparm -M /dev/sda
>
> /dev/sda:
> acoustic = not supported
..
No, that means that your *drive* doesn't support it.
Check for yourself, with "hdparm -I /dev/sda | grep Acoustic".
..
> Is there any patch flying around that already enables this or even any
> ETA in the current mainstream?
..
No patch required -- hdparm (newer versions) already do this correctly.
Cheers
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 14:00 ` Mark Lord
@ 2008-06-21 16:40 ` Soeren Sonnenburg
2008-06-21 16:54 ` Mark Lord
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Soeren Sonnenburg @ 2008-06-21 16:40 UTC (permalink / raw)
To: Mark Lord; +Cc: Linux Kernel
On Sat, 2008-06-21 at 10:00 -0400, Mark Lord wrote:
> Soeren Sonnenburg wrote:
> > Dear all,
> >
> > why is acoustic management via hdparm not supported for sata disks?
> >
> > # hdparm -M /dev/sda
> >
> > /dev/sda:
> > acoustic = not supported
> ..
>
> No, that means that your *drive* doesn't support it.
> Check for yourself, with "hdparm -I /dev/sda | grep Acoustic".
Just to be sure, did you mean grep acoustic (lowercase)? Because it is
listed there under Capabilities:
Recommended acoustic management value: 128, current value: 0
I've tried with the 5 sata drives I could get my hands on, they all list
some recommended acoustic management value but all fail the same way
# hdparm -M 128 /dev/sda
/dev/sda:
setting acoustic management to 128
HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
acoustic = not supported
> ..
> > Is there any patch flying around that already enables this or even any
> > ETA in the current mainstream?
> ..
>
> No patch required -- hdparm (newer versions) already do this correctly.
I have hdparm v8.9 here, is that new enough?
Thanks for you help,
Soeren
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 16:40 ` Soeren Sonnenburg
@ 2008-06-21 16:54 ` Mark Lord
2008-06-21 17:00 ` Mark Lord
2008-06-21 18:34 ` Ondrej Zary
2008-06-22 17:03 ` Alan Cox
2 siblings, 1 reply; 11+ messages in thread
From: Mark Lord @ 2008-06-21 16:54 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel
Soeren Sonnenburg wrote:
>
> Just to be sure, did you mean grep acoustic (lowercase)? Because it is
> listed there under Capabilities:
> Recommended acoustic management value: 128, current value: 0
..
Ahh.. That part of the output just shows the "current setting field",
which is zero (0) or "invalid" in your case. That's a display error
in hdparm -- it probably shouldn't bother with that field when the
feature is missing from the feature list that is given lower down
in the output. (the reason it doesn't discard it today, is that early
drives had the feature but didn't report it lower down.. but we can
distinguish those drives by ATA version number now).
Here's hdparm-8.9 on a drive that *does* support the feature:
$ hdparm -I /dev/sda | grep Acoustic
* Automatic Acoustic Management feature set
$ hdparm -M /dev/sda
/dev/sda:
acoustic = 254 (128=quiet ... 254=fast)
$ hdparm -M128 /dev/sda
/dev/sda:
setting acoustic management to 128
acoustic = 128 (128=quiet ... 254=fast)
$ hdparm -M254 /dev/sda
/dev/sda:
setting acoustic management to 254
acoustic = 254 (128=quiet ... 254=fast)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 16:54 ` Mark Lord
@ 2008-06-21 17:00 ` Mark Lord
2008-06-21 18:39 ` Soeren Sonnenburg
0 siblings, 1 reply; 11+ messages in thread
From: Mark Lord @ 2008-06-21 17:00 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Linux Kernel
Mark Lord wrote:
>..
> Here's hdparm-8.9 on a drive that *does* support the feature:
>
>
> $ hdparm -I /dev/sda | grep Acoustic
> * Automatic Acoustic Management feature set
>
> $ hdparm -M /dev/sda
>
> /dev/sda:
> acoustic = 254 (128=quiet ... 254=fast)
>
> $ hdparm -M128 /dev/sda
>
> /dev/sda:
> setting acoustic management to 128
> acoustic = 128 (128=quiet ... 254=fast)
>
> $ hdparm -M254 /dev/sda
>
> /dev/sda:
> setting acoustic management to 254
> acoustic = 254 (128=quiet ... 254=fast)
..
And one more:
$ hdparm -M0 /dev/sda
/dev/sda:
setting acoustic management to 0
acoustic = 254 (128=quiet ... 254=fast)
$ hdparm -I /dev/sda | grep -i acoustic
Recommended acoustic management value: 128, current value: 254
Automatic Acoustic Management feature set
(the lack of a '*' on that last line indicates the feature is no longer enabled).
-ml
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 16:40 ` Soeren Sonnenburg
2008-06-21 16:54 ` Mark Lord
@ 2008-06-21 18:34 ` Ondrej Zary
2008-06-21 18:46 ` Soeren Sonnenburg
2008-06-22 17:03 ` Alan Cox
2 siblings, 1 reply; 11+ messages in thread
From: Ondrej Zary @ 2008-06-21 18:34 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Mark Lord, Linux Kernel
On Saturday 21 June 2008 18:40:56 Soeren Sonnenburg wrote:
> On Sat, 2008-06-21 at 10:00 -0400, Mark Lord wrote:
> > Soeren Sonnenburg wrote:
> > > Dear all,
> > >
> > > why is acoustic management via hdparm not supported for sata disks?
> > >
> > > # hdparm -M /dev/sda
> > >
> > > /dev/sda:
> > > acoustic = not supported
> >
> > ..
> >
> > No, that means that your *drive* doesn't support it.
> > Check for yourself, with "hdparm -I /dev/sda | grep Acoustic".
>
> Just to be sure, did you mean grep acoustic (lowercase)? Because it is
> listed there under Capabilities:
> Recommended acoustic management value: 128, current value: 0
>
> I've tried with the 5 sata drives I could get my hands on, they all list
> some recommended acoustic management value but all fail the same way
>
> # hdparm -M 128 /dev/sda
>
> /dev/sda:
> setting acoustic management to 128
> HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
> acoustic = not supported
>
Aren't they Seagate drives? They're known not to support acoustic management.
> > ..
> >
> > > Is there any patch flying around that already enables this or even any
> > > ETA in the current mainstream?
> >
> > ..
> >
> > No patch required -- hdparm (newer versions) already do this correctly.
>
> I have hdparm v8.9 here, is that new enough?
>
> Thanks for you help,
> Soeren
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Ondrej Zary
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 17:00 ` Mark Lord
@ 2008-06-21 18:39 ` Soeren Sonnenburg
0 siblings, 0 replies; 11+ messages in thread
From: Soeren Sonnenburg @ 2008-06-21 18:39 UTC (permalink / raw)
To: Mark Lord; +Cc: Linux Kernel
On Sat, 2008-06-21 at 13:00 -0400, Mark Lord wrote:
> Mark Lord wrote:
> >..
> > Here's hdparm-8.9 on a drive that *does* support the feature:
> >
> >
> > $ hdparm -I /dev/sda | grep Acoustic
> > * Automatic Acoustic Management feature set
> >
> > $ hdparm -M /dev/sda
> >
> > /dev/sda:
> > acoustic = 254 (128=quiet ... 254=fast)
> >
> > $ hdparm -M128 /dev/sda
> >
> > /dev/sda:
> > setting acoustic management to 128
> > acoustic = 128 (128=quiet ... 254=fast)
> >
> > $ hdparm -M254 /dev/sda
> >
> > /dev/sda:
> > setting acoustic management to 254
> > acoustic = 254 (128=quiet ... 254=fast)
> ..
>
> And one more:
>
> $ hdparm -M0 /dev/sda
>
> /dev/sda:
> setting acoustic management to 0
> acoustic = 254 (128=quiet ... 254=fast)
>
> $ hdparm -I /dev/sda | grep -i acoustic
> Recommended acoustic management value: 128, current value: 254
> Automatic Acoustic Management feature set
>
> (the lack of a '*' on that last line indicates the feature is no longer enabled).
OK, I guess I have to accept that the drives I have here just don't
support AAM - just couldn't imagine that rather new 750G drives etc
don't have that feature :(
Thanks for the clarifications,
Soeren
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 18:34 ` Ondrej Zary
@ 2008-06-21 18:46 ` Soeren Sonnenburg
2008-06-21 19:52 ` markus reichelt
2008-06-22 19:55 ` Michael Tokarev
0 siblings, 2 replies; 11+ messages in thread
From: Soeren Sonnenburg @ 2008-06-21 18:46 UTC (permalink / raw)
To: Ondrej Zary; +Cc: Mark Lord, Linux Kernel
On Sat, 2008-06-21 at 20:34 +0200, Ondrej Zary wrote:
> On Saturday 21 June 2008 18:40:56 Soeren Sonnenburg wrote:
> > On Sat, 2008-06-21 at 10:00 -0400, Mark Lord wrote:
> > > Soeren Sonnenburg wrote:
> > > > Dear all,
> > > >
> > > > why is acoustic management via hdparm not supported for sata
> disks?
> > > [...]
> > # hdparm -M 128 /dev/sda
> >
> > /dev/sda:
> > setting acoustic management to 128
> > HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
> > acoustic = not supported
> >
>
> Aren't they Seagate drives? They're known not to support acoustic management.
Yes all of them were seagate drives.
So just bad luck... I should simply not have exchanged that noise fan -
now I head the hard-disks seeking...
Am I guessing right that samsung, hitachi et.al just do have support for
AAM?
Soeren
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 18:46 ` Soeren Sonnenburg
@ 2008-06-21 19:52 ` markus reichelt
2008-06-22 19:55 ` Michael Tokarev
1 sibling, 0 replies; 11+ messages in thread
From: markus reichelt @ 2008-06-21 19:52 UTC (permalink / raw)
To: Linux Kernel
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
* Soeren Sonnenburg <kernel@nn7.de> wrote:
> Am I guessing right that samsung, hitachi et.al just do have
> support for AAM?
Model Number: SAMSUNG HD501LJ
Recommended acoustic management value: 254, current value: 254
* Automatic Acoustic Management feature set
My samsung drive supports it, but I do not hear any difference at
all.
Among the most quiet drives I ever used are the samsung PATA
(spinpoint) ones.
--
left blank, right bald
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 16:40 ` Soeren Sonnenburg
2008-06-21 16:54 ` Mark Lord
2008-06-21 18:34 ` Ondrej Zary
@ 2008-06-22 17:03 ` Alan Cox
2 siblings, 0 replies; 11+ messages in thread
From: Alan Cox @ 2008-06-22 17:03 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Mark Lord, Linux Kernel
> I've tried with the 5 sata drives I could get my hands on, they all list
> some recommended acoustic management value but all fail the same way
A lot of drives dropped the acoustic management stuff internally. If I
remember rightly there was a patent dispute about it just after it got
into the ATA standard.
Alan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: hdparm -M acoustic management for sata disks?
2008-06-21 18:46 ` Soeren Sonnenburg
2008-06-21 19:52 ` markus reichelt
@ 2008-06-22 19:55 ` Michael Tokarev
1 sibling, 0 replies; 11+ messages in thread
From: Michael Tokarev @ 2008-06-22 19:55 UTC (permalink / raw)
To: Soeren Sonnenburg; +Cc: Ondrej Zary, Mark Lord, Linux Kernel
Soeren Sonnenburg wrote:
[]
> Am I guessing right that samsung, hitachi et.al just do have support for
> AAM?
Well, it was a neat surprise to me when I discovered that a newly
purchased - not Seagate which I almost always used - drive has all
the acoustic stuff in place.
ATA device, with non-removable media
Model Number: Hitachi HUA721050KLA330
Firmware Revision: GK6OA70M
Recommended acoustic management value: 128, current value: 128
* Automatic Acoustic Management feature set
...
And it's indeed more quiet when seeking if acoustic management value
is set to 128, and quite more load when set to 255. Speed decreases
a bit (I didn't do any measurements), but not much.
Western Digital drives also has acoustic management in place. At
least some of them. But I never heard of this stuff present for
Seagate drives - my guess is that those are in a "good" compromise
between speed and loudness already :)
/mjt
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-06-22 19:55 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-21 10:14 hdparm -M acoustic management for sata disks? Soeren Sonnenburg
2008-06-21 14:00 ` Mark Lord
2008-06-21 16:40 ` Soeren Sonnenburg
2008-06-21 16:54 ` Mark Lord
2008-06-21 17:00 ` Mark Lord
2008-06-21 18:39 ` Soeren Sonnenburg
2008-06-21 18:34 ` Ondrej Zary
2008-06-21 18:46 ` Soeren Sonnenburg
2008-06-21 19:52 ` markus reichelt
2008-06-22 19:55 ` Michael Tokarev
2008-06-22 17:03 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.