Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: Performance problems with a DEC StorageWorks ESA12000 disk subsystems
  1999-08-06  4:00 Performance problems with a DEC StorageWorks ESA12000 disk subsystems seatonk
  1999-08-06  4:00 ` Bill Todd
@ 1999-08-06  4:00 ` Chris Petersen
  1999-08-06  4:00   ` Bill Todd
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Petersen @ 1999-08-06  4:00 UTC (permalink / raw)


seatonk@my-deja.com wrote:
: Please could someone with RA8000 experience help
: us out with a problem.

: We have recently become the proud owners of a
: Storageworks ESA 12000 disk subsystem and are
: experiencing performance problems.

: Configuration

: The ESA 12000 is configured as 2 separate RA8000.
: Each RA8000 has two HSG80 controllers each with
: 512MB of on-board cache. The HSG80s are connected
: to two 7 port Fibre Channel hubs, one of each
: controller pair being connected to each hub. A
: single Compaq 6400 Server is connected to each
: hub using two KGPSA FC adapters.
: The 6400 is a quad Xeon with 4 GB RAM and is
: running under NT 4.0 Enterprise Edition with
: Service Pack 5. The server uses Secure Path to
: support load sharing between the two KGPSA. The
: ESA 12000 has one RAID5  unit configured on the
: top RA8000 and a similar RAID 5 unit configured
: on the bottom RA8000. Each RAID set consists of 8
: x 18.2 GB disk drives.

: The Server is also configured with Microsoft SQL
: Server (both 6.0 and 7.0 as this system is being
: used to migrate a large application to the latest
: version). The SQL Server database is around 35GB
: in size with database devices spread evenly
: across both LUNs. The dump devices (from which
: the database is loaded) are also spread evenly
: across both LUNs.

: The problem is as follows:

: A load of the database on the ESA 12000 took in
: the region of 20 hours. This was surprising, as
: the same load on an ESA 10000 with a similar
: configuration but only 64MB of mirrored cache on
: the controller, had taken under 2 hours. When the
: load was running, it was noticed that the
: processors in both RA8000 were constantly running
: at 100%. We spent 3 weeks doing test after test
: and changing parameter after parameter to improve
: the performance. Eventually we did get the load
: down to 14 hours but this was no where near good
: enough as we could still get 4 x this performance
: using JBOD.

: It was decided to go back to basics. What was the
: difference between configs on the well behaved
: ESA 10000 and the poor ESA12000. We had proved
: that the Ultra SCSI and the FC behaved similarly
: and were unlikely to be affecting the performance
: at these relatively low loads. Therefore the main
: difference was the cache on the controllers. on
: the ESA 10000 these had 64MB per controller
: mirrored across the controller pair as opposed to
: 512MB per controller on the ESA12000 which was
: unmirrored.

: Last night we mirrored the cache on the
: controller pairs in both RA 8000 and re-run the
: Database load. The load took 1 hour 40 mins, 10 x
: times faster that with the cache unmirrored. This
: we found extremely confusing as we were told by
: Compaq that having the cache unmirrored means
: that the application will be able to use the
: whole 1GB of cache on the controller pair.
: Mirroring will mean that the application will
: only use half the cache. We were also told that
: having more cache should improve the applications
: performance or at least not degrade it.

: Help!

: Can anyone explain this?

Not sure that I can explain this that you've seen, except for this thought:
Perhaps the caching algorithm in a mirrored configuration allows you to
utilize EITHER side of the mirror for the actual write.  While you are
effectively limited to the halfed capacity of the mirrored cache, you now
have (2) sources to write to, allowing whichever of the two is not in use at
the moment to be written to, effectively doubling your "bandwidth".

Not sure if this is the case, but it is how I would expect it to work, and
may account for your speed increase.  In effect, it's the old "how do you
suck an orange through a straw" problem.  You either have to increase the
size of the pipe, or reduce the orange to smaller pieces, queueing things
up.  Essentially, if the caching algorithm works as I think it does, you
removed a bottleneck.

These results ARE similar to what I've seen on an RA7000 w/ HSZ70s, if
that's any consolation.

One last word of note:  From my own experience, and most recommendations
that I've seen, RAID 5 is a *BAD* thing for databases!  While I understand
there are cost implications, RAID 0+1 is the favored RAID solution for use
with databases these days. 

In case you'd be interested, SunWorld has had a nice series on RAID for the 
last couple of months back that reflects this:

http://www.sunworld.com/swol-06-1999/swol-06-connectivity.html
http://www.sunworld.com/swol-06-1999/swol-06-raid1.html
http://www.sunworld.com/swol-07-1999/swol-07-raid2.html
http://www.sunworld.com/sunworldonline/swol-08-1999/swol-08-raid3.html

You'll also find mention of RAID 5 issues in many of the better Oracle DBA
books (can't speak to SQL Server, haven't had a reason to use it yet...)

-- 
Chris Petersen
Systems & Database Engineer
Unigraphics Solutions Inc.		Industry Services, Mid-America Region
Email: havoc@apk.net (Personal)       petersen@ugsolutions.com (Professional)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Performance problems with a DEC StorageWorks ESA12000 disk subsystems
  1999-08-06  4:00 ` Chris Petersen
@ 1999-08-06  4:00   ` Bill Todd
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Todd @ 1999-08-06  4:00 UTC (permalink / raw)


RAID-5 is indeed a dubious choice for database use, *unless* most access to
the database is read-only, in which case it's fine (it's the small write
operations that kill its performance).

Your database load, incidentally, is almost all small write operations,
which is why it went so slowly without write-back caching:  since a great
deal of those writes are to pages that were recently written previously,
using a write-back cache allows many such write operations to be coalesced
into a single disk access (well, actually 3 or 4, given the way RAID-5
works).  If your performance increase was indeed due to write-back caching,
you could likely enable it during the load without mirroring the cache:  in
the unlikely event that something fails during the load, you can just start
over (which is not an option during on-going activity, hence the
conservative approach of requiring a cache mirror for default write-back
operation).  On the other (third?) hand, any database worthy of the name
includes optimized database load facilities that should do this kind of
thing automatically by delaying writes internally in its own cache:  have
you looked into this?

Chris Petersen <havoc@apk.net> wrote in message
news:7oeuin$iao$1@plonk.apk.net...
> seatonk@my-deja.com wrote:
> : Please could someone with RA8000 experience help
> : us out with a problem.
>
> : We have recently become the proud owners of a
> : Storageworks ESA 12000 disk subsystem and are
> : experiencing performance problems.
>
> : Configuration
>
> : The ESA 12000 is configured as 2 separate RA8000.
> : Each RA8000 has two HSG80 controllers each with
> : 512MB of on-board cache. The HSG80s are connected
> : to two 7 port Fibre Channel hubs, one of each
> : controller pair being connected to each hub. A
> : single Compaq 6400 Server is connected to each
> : hub using two KGPSA FC adapters.
> : The 6400 is a quad Xeon with 4 GB RAM and is
> : running under NT 4.0 Enterprise Edition with
> : Service Pack 5. The server uses Secure Path to
> : support load sharing between the two KGPSA. The
> : ESA 12000 has one RAID5  unit configured on the
> : top RA8000 and a similar RAID 5 unit configured
> : on the bottom RA8000. Each RAID set consists of 8
> : x 18.2 GB disk drives.
>
> : The Server is also configured with Microsoft SQL
> : Server (both 6.0 and 7.0 as this system is being
> : used to migrate a large application to the latest
> : version). The SQL Server database is around 35GB
> : in size with database devices spread evenly
> : across both LUNs. The dump devices (from which
> : the database is loaded) are also spread evenly
> : across both LUNs.
>
> : The problem is as follows:
>
> : A load of the database on the ESA 12000 took in
> : the region of 20 hours. This was surprising, as
> : the same load on an ESA 10000 with a similar
> : configuration but only 64MB of mirrored cache on
> : the controller, had taken under 2 hours. When the
> : load was running, it was noticed that the
> : processors in both RA8000 were constantly running
> : at 100%. We spent 3 weeks doing test after test
> : and changing parameter after parameter to improve
> : the performance. Eventually we did get the load
> : down to 14 hours but this was no where near good
> : enough as we could still get 4 x this performance
> : using JBOD.
>
> : It was decided to go back to basics. What was the
> : difference between configs on the well behaved
> : ESA 10000 and the poor ESA12000. We had proved
> : that the Ultra SCSI and the FC behaved similarly
> : and were unlikely to be affecting the performance
> : at these relatively low loads. Therefore the main
> : difference was the cache on the controllers. on
> : the ESA 10000 these had 64MB per controller
> : mirrored across the controller pair as opposed to
> : 512MB per controller on the ESA12000 which was
> : unmirrored.
>
> : Last night we mirrored the cache on the
> : controller pairs in both RA 8000 and re-run the
> : Database load. The load took 1 hour 40 mins, 10 x
> : times faster that with the cache unmirrored. This
> : we found extremely confusing as we were told by
> : Compaq that having the cache unmirrored means
> : that the application will be able to use the
> : whole 1GB of cache on the controller pair.
> : Mirroring will mean that the application will
> : only use half the cache. We were also told that
> : having more cache should improve the applications
> : performance or at least not degrade it.
>
> : Help!
>
> : Can anyone explain this?
>
> Not sure that I can explain this that you've seen, except for this
thought:
> Perhaps the caching algorithm in a mirrored configuration allows you to
> utilize EITHER side of the mirror for the actual write.  While you are
> effectively limited to the halfed capacity of the mirrored cache, you now
> have (2) sources to write to, allowing whichever of the two is not in use
at
> the moment to be written to, effectively doubling your "bandwidth".
>
> Not sure if this is the case, but it is how I would expect it to work, and
> may account for your speed increase.  In effect, it's the old "how do you
> suck an orange through a straw" problem.  You either have to increase the
> size of the pipe, or reduce the orange to smaller pieces, queueing things
> up.  Essentially, if the caching algorithm works as I think it does, you
> removed a bottleneck.
>
> These results ARE similar to what I've seen on an RA7000 w/ HSZ70s, if
> that's any consolation.
>
> One last word of note:  From my own experience, and most recommendations
> that I've seen, RAID 5 is a *BAD* thing for databases!  While I understand
> there are cost implications, RAID 0+1 is the favored RAID solution for use
> with databases these days.
>
> In case you'd be interested, SunWorld has had a nice series on RAID for
the
> last couple of months back that reflects this:
>
> http://www.sunworld.com/swol-06-1999/swol-06-connectivity.html
> http://www.sunworld.com/swol-06-1999/swol-06-raid1.html
> http://www.sunworld.com/swol-07-1999/swol-07-raid2.html
> http://www.sunworld.com/sunworldonline/swol-08-1999/swol-08-raid3.html
>
> You'll also find mention of RAID 5 issues in many of the better Oracle DBA
> books (can't speak to SQL Server, haven't had a reason to use it yet...)
>
> --
> Chris Petersen
> Systems & Database Engineer
> Unigraphics Solutions Inc. Industry Services, Mid-America Region
> Email: havoc@apk.net (Personal)       petersen@ugsolutions.com
(Professional)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Performance problems with a DEC StorageWorks ESA12000 disk subsystems
@ 1999-08-06  4:00 seatonk
  1999-08-06  4:00 ` Bill Todd
  1999-08-06  4:00 ` Chris Petersen
  0 siblings, 2 replies; 4+ messages in thread
From: seatonk @ 1999-08-06  4:00 UTC (permalink / raw)


Please could someone with RA8000 experience help
us out with a problem.

We have recently become the proud owners of a
Storageworks ESA 12000 disk subsystem and are
experiencing performance problems.

Configuration

The ESA 12000 is configured as 2 separate RA8000.
Each RA8000 has two HSG80 controllers each with
512MB of on-board cache. The HSG80s are connected
to two 7 port Fibre Channel hubs, one of each
controller pair being connected to each hub. A
single Compaq 6400 Server is connected to each
hub using two KGPSA FC adapters.
The 6400 is a quad Xeon with 4 GB RAM and is
running under NT 4.0 Enterprise Edition with
Service Pack 5. The server uses Secure Path to
support load sharing between the two KGPSA. The
ESA 12000 has one RAID5  unit configured on the
top RA8000 and a similar RAID 5 unit configured
on the bottom RA8000. Each RAID set consists of 8
x 18.2 GB disk drives.

The Server is also configured with Microsoft SQL
Server (both 6.0 and 7.0 as this system is being
used to migrate a large application to the latest
version). The SQL Server database is around 35GB
in size with database devices spread evenly
across both LUNs. The dump devices (from which
the database is loaded) are also spread evenly
across both LUNs.

The problem is as follows:

A load of the database on the ESA 12000 took in
the region of 20 hours. This was surprising, as
the same load on an ESA 10000 with a similar
configuration but only 64MB of mirrored cache on
the controller, had taken under 2 hours. When the
load was running, it was noticed that the
processors in both RA8000 were constantly running
at 100%. We spent 3 weeks doing test after test
and changing parameter after parameter to improve
the performance. Eventually we did get the load
down to 14 hours but this was no where near good
enough as we could still get 4 x this performance
using JBOD.

It was decided to go back to basics. What was the
difference between configs on the well behaved
ESA 10000 and the poor ESA12000. We had proved
that the Ultra SCSI and the FC behaved similarly
and were unlikely to be affecting the performance
at these relatively low loads. Therefore the main
difference was the cache on the controllers. on
the ESA 10000 these had 64MB per controller
mirrored across the controller pair as opposed to
512MB per controller on the ESA12000 which was
unmirrored.

Last night we mirrored the cache on the
controller pairs in both RA 8000 and re-run the
Database load. The load took 1 hour 40 mins, 10 x
times faster that with the cache unmirrored. This
we found extremely confusing as we were told by
Compaq that having the cache unmirrored means
that the application will be able to use the
whole 1GB of cache on the controller pair.
Mirroring will mean that the application will
only use half the cache. We were also told that
having more cache should improve the applications
performance or at least not degrade it.

Help!

Can anyone explain this?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Performance problems with a DEC StorageWorks ESA12000 disk subsystems
  1999-08-06  4:00 Performance problems with a DEC StorageWorks ESA12000 disk subsystems seatonk
@ 1999-08-06  4:00 ` Bill Todd
  1999-08-06  4:00 ` Chris Petersen
  1 sibling, 0 replies; 4+ messages in thread
From: Bill Todd @ 1999-08-06  4:00 UTC (permalink / raw)


I'll hazard a guess that when you mirror the cache, the system takes
advantage of that fact to perform reliable (at least if power failure is
protected against) write-back caching on the data going to the disks (which
is a bit risky if the cache isn't mirrored, since it becomes a single point
of failure - whereas your RAID configuration protects any data actually
moved to disk).  Given the gyrations that go on populating the large b-trees
which constitute most of the guts of such a database, this could easily
improve load performance by a factor of 10.

<seatonk@my-deja.com> wrote in message news:7oe545$p72$1@nnrp1.deja.com...
> Please could someone with RA8000 experience help
> us out with a problem.
>
> We have recently become the proud owners of a
> Storageworks ESA 12000 disk subsystem and are
> experiencing performance problems.
>
> Configuration
>
> The ESA 12000 is configured as 2 separate RA8000.
> Each RA8000 has two HSG80 controllers each with
> 512MB of on-board cache. The HSG80s are connected
> to two 7 port Fibre Channel hubs, one of each
> controller pair being connected to each hub. A
> single Compaq 6400 Server is connected to each
> hub using two KGPSA FC adapters.
> The 6400 is a quad Xeon with 4 GB RAM and is
> running under NT 4.0 Enterprise Edition with
> Service Pack 5. The server uses Secure Path to
> support load sharing between the two KGPSA. The
> ESA 12000 has one RAID5  unit configured on the
> top RA8000 and a similar RAID 5 unit configured
> on the bottom RA8000. Each RAID set consists of 8
> x 18.2 GB disk drives.
>
> The Server is also configured with Microsoft SQL
> Server (both 6.0 and 7.0 as this system is being
> used to migrate a large application to the latest
> version). The SQL Server database is around 35GB
> in size with database devices spread evenly
> across both LUNs. The dump devices (from which
> the database is loaded) are also spread evenly
> across both LUNs.
>
> The problem is as follows:
>
> A load of the database on the ESA 12000 took in
> the region of 20 hours. This was surprising, as
> the same load on an ESA 10000 with a similar
> configuration but only 64MB of mirrored cache on
> the controller, had taken under 2 hours. When the
> load was running, it was noticed that the
> processors in both RA8000 were constantly running
> at 100%. We spent 3 weeks doing test after test
> and changing parameter after parameter to improve
> the performance. Eventually we did get the load
> down to 14 hours but this was no where near good
> enough as we could still get 4 x this performance
> using JBOD.
>
> It was decided to go back to basics. What was the
> difference between configs on the well behaved
> ESA 10000 and the poor ESA12000. We had proved
> that the Ultra SCSI and the FC behaved similarly
> and were unlikely to be affecting the performance
> at these relatively low loads. Therefore the main
> difference was the cache on the controllers. on
> the ESA 10000 these had 64MB per controller
> mirrored across the controller pair as opposed to
> 512MB per controller on the ESA12000 which was
> unmirrored.
>
> Last night we mirrored the cache on the
> controller pairs in both RA 8000 and re-run the
> Database load. The load took 1 hour 40 mins, 10 x
> times faster that with the cache unmirrored. This
> we found extremely confusing as we were told by
> Compaq that having the cache unmirrored means
> that the application will be able to use the
> whole 1GB of cache on the controller pair.
> Mirroring will mean that the application will
> only use half the cache. We were also told that
> having more cache should improve the applications
> performance or at least not degrade it.
>
> Help!
>
> Can anyone explain this?
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-08-06  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-06  4:00 Performance problems with a DEC StorageWorks ESA12000 disk subsystems seatonk
1999-08-06  4:00 ` Bill Todd
1999-08-06  4:00 ` Chris Petersen
1999-08-06  4:00   ` Bill Todd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox