What Is the estimated impact on SQL Server 2005 I/O of aligning the
partitions on our SAN with DiskPart?
We are deploying several SQL Server 2005 instances on a new Hitachi Thunder
SAN and have formatted the LUNs but didn't use the DiskPart utility. We're
getting close to implementation, so now that we've heard about this, we are
wondering whether it would be worth the performance benefit to go back and d
o
this.
If so any guidelines for running it would also be appreciated.
Any insight would be appreciated!
thanksThis is a subject we've recently started focusing on at the place I
work. Basically for all new LUNs we're assigning to hosts we align the
partition before formatting. I've heard varying reports of read & write
performance improvements of anywhere from 30-80% depending on the type
of system (email, database, etc.) using the LUN and the kind of access
involved. But I haven't done direct comparison tests myself (my latest
tests have been FC vs ATA disk and are therefore not comparable in terms
of aligned partitions vs non-aligned partitions).
We use EMC SANs so I assume it will be slightly different for you but
EMC wrote a good PDF whitepaper on partition alignment with regard to
EMC SANs (I'm sure the principles would apply equally to Hitachi SANs).
It's too big to attach to an NNTP post (1.5MB), even zipped & split into
multiple parts, so I uploaded it onto dropfiles.net:
http://quick.dropfiles.net/download...rd.blogspot.com
smoss wrote:
>What Is the estimated impact on SQL Server 2005 I/O of aligning the
>partitions on our SAN with DiskPart?
>We are deploying several SQL Server 2005 instances on a new Hitachi Thunder
>SAN and have formatted the LUNs but didn't use the DiskPart utility. We're
>getting close to implementation, so now that we've heard about this, we are
>wondering whether it would be worth the performance benefit to go back and
do
>this.
>If so any guidelines for running it would also be appreciated.
>Any insight would be appreciated!
>thanks
>|||good article.
thanks the reference.
when do we take care about the alignment?
I mean, only on SAN systems or any disk should be aligned?
"Mike Hodgson" <e1minst3r@.gmail.com> wrote in message news:O3f%230GgfGHA.336
4@.TK2MSFTNGP05.phx.gbl...
This is a subject we've recently started focusing on at the place I work. B
asically for all new LUNs we're assigning to hosts we align the partition be
fore formatting. I've heard varying reports of read & write performance imp
rovements of anywhere from 30-80% depending on the type of system (email, da
tabase, etc.) using the LUN and the kind of access involved. But I haven't
done direct comparison tests myself (my latest tests have been FC vs ATA dis
k and are therefore not comparable in terms of aligned partitions vs non-ali
gned partitions).
We use EMC SANs so I assume it will be slightly different for you but EMC wrote a good
PDF whitepaper on partition alignment with regard to EMC SANs (I'm sure the principles
would apply equally to Hitachi SANs). It's too big to attach to an NNTP post (1.5MB),
even zipped & split into multiple parts, so I uploaded it onto dropfiles.net: http
://quick.dropfiles.net/...02d65770cbaaef6
Hope this helps.
mike hodgson
http://sqlnerd.blogspot.com
smoss wrote:
What Is the estimated impact on SQL Server 2005 I/O of aligning the
partitions on our SAN with DiskPart?
We are deploying several SQL Server 2005 instances on a new Hitachi Thunder
SAN and have formatted the LUNs but didn't use the DiskPart utility. We're
getting close to implementation, so now that we've heard about this, we are
wondering whether it would be worth the performance benefit to go back and d
o
this.
If so any guidelines for running it would also be appreciated.
Any insight would be appreciated!
thanks|||I'm not really a disk expert (so I'm happy to be corrected on this) but
from what I gather it's really only relevant for SANs, where another OS
(the SAN OS) is responsible for doing the actual writes to disk. When
Windows itself writes to local disk I believe it writes blocks as
appropriate based on the physical disk configuration it had determined
(which is normally a bit of a guess of 63 sectors/track & 255
heads/cylinder I think), but it can't do that with a SAN disk - it just
passes the write request off to the SAN and lets the SAN worry about it,
so it's likely to get the track boundaries wrong.
*mike hodgson*
http://sqlnerd.blogspot.com
Jeje wrote:
[vbcol=seagreen]
> good article.
> thanks the reference.
> when do we take care about the alignment?
> I mean, only on SAN systems or any disk should be aligned?
>
>
> "Mike Hodgson" <e1minst3r@.gmail.com <mailto:e1minst3r@.gmail.com>>
> wrote in message news:O3f%230GgfGHA.3364@.TK2MSFTNGP05.phx.gbl...
> This is a subject we've recently started focusing on at the place
> I work. Basically for all new LUNs we're assigning to hosts we
> align the partition before formatting. I've heard varying reports
> of read & write performance improvements of anywhere from 30-80%
> depending on the type of system (email, database, etc.) using the
> LUN and the kind of access involved. But I haven't done direct
> comparison tests myself (my latest tests have been FC vs ATA disk
> and are therefore not comparable in terms of aligned partitions vs
> non-aligned partitions).
> We use EMC SANs so I assume it will be slightly different for you
> but EMC wrote a good PDF whitepaper on partition alignment with
> regard to EMC SANs (I'm sure the principles would apply equally to
> Hitachi SANs). It's too big to attach to an NNTP post (1.5MB),
> even zipped & split into multiple parts, so I uploaded it onto
> dropfiles.net:
> http://quick.dropfiles.net/download...cbaaef
6
> Hope this helps.
> --
> *mike hodgson*
> http://sqlnerd.blogspot.com
>
> smoss wrote:
>|||Thanks, Mike, for the very helpful reply.
The only thing that I could ask in addition is that if anyone has specific
experience with SQL 2005 and/or Hitachi, I'd appreciate hearing about their
experience.
thanks again!
"Mike Hodgson" wrote:
> This is a subject we've recently started focusing on at the place I
> work. Basically for all new LUNs we're assigning to hosts we align the
> partition before formatting. I've heard varying reports of read & write
> performance improvements of anywhere from 30-80% depending on the type
> of system (email, database, etc.) using the LUN and the kind of access
> involved. But I haven't done direct comparison tests myself (my latest
> tests have been FC vs ATA disk and are therefore not comparable in terms
> of aligned partitions vs non-aligned partitions).
> We use EMC SANs so I assume it will be slightly different for you but
> EMC wrote a good PDF whitepaper on partition alignment with regard to
> EMC SANs (I'm sure the principles would apply equally to Hitachi SANs).
> It's too big to attach to an NNTP post (1.5MB), even zipped & split into
> multiple parts, so I uploaded it onto dropfiles.net:
> http://quick.dropfiles.net/download...rd.blogspot.com
>
> smoss wrote:
>
>|||You are correct. When the OS writes to a local disk, alignment is not an is
sue. One of the tricks a SAN uses to improve performance is to use large da
ta blocks to manage internal usage. The disks work very well at these large
block reads and writes. These blocks are internal and not visible to the a
ttached computers. If the OS blocks do not fit evenly into the large intern
al blocks, the SAN will issue two internal I/O requests for every OS block r
equest that crosses an internal boundary. Also, on some platforms, the SAN
must copy each OS block to realign it with its internal block structure duri
ng the read or write process. In short, this is a VERY BAD THING. Given th
at the NTFS MBR block is not aligned with the other block sizes, unless you
manually adjust the MBR record size, you will have alignment problems. And
yes, all NTFS disks have a MBR section, even if they aren't "boot" disks.
As you noted, EMC has an excellent paper on the subject.
I use this information as a "litmus test" for SAN vendors. Unless they can
provide a technical expert who warns about this and will set things up corre
ctly, I keep looking. They will not be able to help troubleshoot SQL and SA
N performance issues.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Mike Hodgson" <e1minst3r@.gmail.com> wrote in message news:epnVBKhfGHA.3652@.
TK2MSFTNGP02.phx.gbl...
I'm not really a disk expert (so I'm happy to be corrected on this) but from
what I gather it's really only relevant for SANs, where another OS (the SAN
OS) is responsible for doing the actual writes to disk. When Windows itsel
f writes to local disk I believe it writes blocks as appropriate based on th
e physical disk configuration it had determined (which is normally a bit of
a guess of 63 sectors/track & 255 heads/cylinder I think), but it can't do t
hat with a SAN disk - it just passes the write request off to the SAN and le
ts the SAN worry about it, so it's likely to get the track boundaries wrong.
mike hodgson
http://sqlnerd.blogspot.com
Jeje wrote:
good article.
thanks the reference.
when do we take care about the alignment?
I mean, only on SAN systems or any disk should be aligned?
"Mike Hodgson" <e1minst3r@.gmail.com> wrote in message news:O3f%230GgfGHA.336
4@.TK2MSFTNGP05.phx.gbl...
This is a subject we've recently started focusing on at the place I work. B
asically for all new LUNs we're assigning to hosts we align the partition be
fore formatting. I've heard varying reports of read & write performance imp
rovements of anywhere from 30-80% depending on the type of system (email, da
tabase, etc.) using the LUN and the kind of access involved. But I haven't
done direct comparison tests myself (my latest tests have been FC vs ATA dis
k and are therefore not comparable in terms of aligned partitions vs non-ali
gned partitions).
We use EMC SANs so I assume it will be slightly different for you but EMC wrote a good
PDF whitepaper on partition alignment with regard to EMC SANs (I'm sure the principles
would apply equally to Hitachi SANs). It's too big to attach to an NNTP post (1.5MB),
even zipped & split into multiple parts, so I uploaded it onto dropfiles.net: http
://quick.dropfiles.net/...02d65770cbaaef6
Hope this helps.
mike hodgson
http://sqlnerd.blogspot.com
smoss wrote:
What Is the estimated impact on SQL Server 2005 I/O of aligning the
partitions on our SAN with DiskPart?
We are deploying several SQL Server 2005 instances on a new Hitachi Thunder
SAN and have formatted the LUNs but didn't use the DiskPart utility. We're
getting close to implementation, so now that we've heard about this, we are
wondering whether it would be worth the performance benefit to go back and d
o
this.
If so any guidelines for running it would also be appreciated.
Any insight would be appreciated!
thanks
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment