* how important are {rpm,trackskew,cylinderskew}?
@ 1998-04-29 4:00 Mark Bartelt
1998-05-04 4:00 ` Eric Werme - replace nobody with werme
0 siblings, 1 reply; 4+ messages in thread
From: Mark Bartelt @ 1998-04-29 4:00 UTC (permalink / raw)
Most of us are aware that "disklabel" can be used to query
a Brand-X disk for its geometry information, and use that
to create a sensible disk label.
One thing I've wondered about for a long time, though (and
my attempts to RTFM haven't provided an answer) is whether
it's important (and, if so, how important) that things like
the rpm value and the {track,cylinder}skew values be right.
The reason I'm curious is that the rpm value being assigned
to a drive is often incorrect. I have quite a few 5400 and
7200 rpm drives which "disklabel" seems to assume are 3600.
And sometimes, the rpm values that "disklabel" assigns have
been totally absurd numbers.
The trackskew and cylinderskew numbers in the disk label are
zero for all our drives (both DEC and non-DEC) which live on
our 3.2c systems. Interestingly, all our disks (again, both
DEC and non-DEC) attached to our 4.0c systems seem to have a
sensible (or, at least, nonzero) setting for the skew values.
Also, all disk labels on our 4.0c systems have a correct rpm.
Was the v3.2 version of "disklabel" buggy, in the sense that
it didn't bother with the skew values, and often got the rpm
wrong?
If "newfs" will lay out a better-optimized filesystem if all
the information in the disk label is accurate, then I really
ought to be correcting the bad values after "disklabel" gets
run, before running "newfs". But if it doesn't matter, then
there's no point in bothering ...
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] 4+ messages in thread
* Re: how important are {rpm,trackskew,cylinderskew}?
1998-04-29 4:00 how important are {rpm,trackskew,cylinderskew}? Mark Bartelt
@ 1998-05-04 4:00 ` Eric Werme - replace nobody with werme
1998-05-11 4:00 ` Gerhard Kircher
0 siblings, 1 reply; 4+ messages in thread
From: Eric Werme - replace nobody with werme @ 1998-05-04 4:00 UTC (permalink / raw)
mark@cita.toronto.edu (Mark Bartelt) writes:
>One thing I've wondered about for a long time, though (and
>my attempts to RTFM haven't provided an answer) is whether
>it's important (and, if so, how important) that things like
>the rpm value and the {track,cylinder}skew values be right.
I think the basic answer these days are that it doesn't matter, at
least not in any easy-to-optimize for fashion. Disk these days
use zone recording where the number of sectors per track varies
between the inside and outside tracks to provide the same linear
density. Outside tracks feature faster transfers and fewer seeks
than inside.
The actual architecture is well hidden by SCSI. All the OS is
asking for these days is block X, instead issuing seeks and reading
from particular surfaces. There is some vestigial stuff in newfs
for dealing with the old parameters, but they only really come into
play between cylinders, and cylinders are a lot bigger than they used
to be, so those optimizations are far less important that they
used to be.
Yeah, there's stuff that could be cleaned up there, but there are
bigger things we could be working on too. While I don't work
directly on UFS, I do worry about NFS performance on servers using
UFS, and I've decided not to worry about the skew data, except on
days I can't find anything else to worry about.
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Digital Equipment Corp. <>
<> <jrezr@plorecbegny.arg> <> http://www.cyberportal.net/werme <>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how important are {rpm,trackskew,cylinderskew}?
1998-05-04 4:00 ` Eric Werme - replace nobody with werme
@ 1998-05-11 4:00 ` Gerhard Kircher
1998-05-14 4:00 ` Eric Werme - replace nobody with werme
0 siblings, 1 reply; 4+ messages in thread
From: Gerhard Kircher @ 1998-05-11 4:00 UTC (permalink / raw)
Eric Werme - replace nobody with werme <nobody@zk3.dec.com> wrote:
: mark@cita.toronto.edu (Mark Bartelt) writes:
:>One thing I've wondered about for a long time, though (and
:>my attempts to RTFM haven't provided an answer) is whether
:>it's important (and, if so, how important) that things like
:>the rpm value and the {track,cylinder}skew values be right.
: I think the basic answer these days are that it doesn't matter, at
: least not in any easy-to-optimize for fashion. Disk these days
: use zone recording where the number of sectors per track varies
: between the inside and outside tracks to provide the same linear
: density. Outside tracks feature faster transfers and fewer seeks
: than inside.
O.K. but if the optimization stuff is still being used,
couldn't it make things worse by trying to optimize for a
wrong or fictious geometry?
--
Gerhard Kircher kircher@edvz.tuwien.ac.at
Vienna University of Technology phone: +43 1 588 01 5599
Computing Services fax : +43 1 587 42 11
Wiedner Hauptstrasse 8-10, A-1040 Vienna, Austria
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how important are {rpm,trackskew,cylinderskew}?
1998-05-11 4:00 ` Gerhard Kircher
@ 1998-05-14 4:00 ` Eric Werme - replace nobody with werme
0 siblings, 0 replies; 4+ messages in thread
From: Eric Werme - replace nobody with werme @ 1998-05-14 4:00 UTC (permalink / raw)
Gerhard Kircher <gk@gkws.edvz.tuwien.ac.at> writes:
>Eric Werme - replace nobody with werme <nobody@zk3.dec.com> wrote:
:: I think the basic answer these days are that it doesn't matter, at
:: least not in any easy-to-optimize for fashion. Disk these days
:: use zone recording where the number of sectors per track varies
:: between the inside and outside tracks to provide the same linear
:: density. Outside tracks feature faster transfers and fewer seeks
:: than inside.
>O.K. but if the optimization stuff is still being used,
>couldn't it make things worse by trying to optimize for a
>wrong or fictious geometry?
Yes, at least for parts of the disk where the zone recording causes a
poor match. If that is a problem, then in other areas of the disk it could
work better.
Combined with track readahead on the disks, large disk caches in the
OS, and servers with thousands of users, it's really hard to give you
a better answer. Ultimately, the things that are important are to keep the
number of I/Os low and the number of seeks low. Neither are very closely
coupled to historical sector layouts applied to current disks.
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Digital Equipment Corp. <>
<> <jrezr@plorecbegny.arg> <> http://www.cyberportal.net/werme <>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-14 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-29 4:00 how important are {rpm,trackskew,cylinderskew}? Mark Bartelt
1998-05-04 4:00 ` Eric Werme - replace nobody with werme
1998-05-11 4:00 ` Gerhard Kircher
1998-05-14 4:00 ` Eric Werme - replace nobody with werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox