* Summary; raid question
@ 1999-12-22 16:01 Padiyath Sreekumar
0 siblings, 0 replies; 4+ messages in thread
From: Padiyath Sreekumar @ 1999-12-22 16:01 UTC (permalink / raw)
To: tru64-unix-managers
I got the following answers from these people and many many thanks:
Thomas Straandenaes, brian.G.Milnes, Gustavo Zacarias and Alan from
compaq.
I can just start with these comments. We will install in 2 weeks the
raid system
with HSZ40 and I acn then measure the performance.
Thomas Straandenaes wrote:
=====================
The performance, it depends on what you're looking for, but if you use
the
HSZ type of controllers with a large write cache, this will take the
edge
off the write problem with RAID5. RAID5 does not have a big problem with
reads, but a large cache works well for read of course. all in all
you're
down to performance requirements for your application, down to amount of
data written per minute etc. a large write cache will work wonders for
RAID5
performance if you don't thrash the write cache in the controller.
DS20/HSZ22 (Ultra Wide differential, 128MB write back cache on the
controllers) 'bonnie'-benchmarks (default 100MB write size) on a RAID5
virtual disk:
-------Sequential Output-------- ---Sequential
Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
/sec
%CPU
DS20R5 100 21613 63.8 21139 16.9 11098 96.7 36589 99.2 286492 98.8
24225.8 98.7
same test on a RAID1 virtual disk on the same system:
-------Sequential Output-------- ---Sequential
Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
/sec
%CPU
DS20R1 100 27881 81.3 26032 20.5 13088 99.0 36397 98.7 281991 98.6
24225.8 99.9
as you can see, there is a certain difference between RAID5 and RAID1 on
a
100MB file, but for us this is acceptable for most datatypes (excluding
Oracle redologs and similar). For file sizes larger than 150 MB, the
difference widens.
Brian G.Milnes wrote:
================
I have succesfully run RAID5 for:
low IO low cost applications
and 90% read 10% write applications.
In the former case, you just don't have the money for more storage and
pay the IO penalty. In the latter case you have mostly read and a small
amount of write. Either you have such a low write rate that you don't
care about write times, or you're using write back cache (such as the
HSZ series).
The major problem with RAID5 is the write times. If you have 4 disks
with an 8 K chunk of data on each disk each write must be a multiple
of 6 K or the disks will be read and then written to calculate the
parity.
Sometimes this will work for your application and sometimes not.
The rules of thumb are:
1) Raid 0+1 (striped mirroring) or Raid 1 (mirroring) for databases.
Raid
0+1 makes the job of the DBA simpler. Use a logical volume manager and
explicit file layout; databases on file systems can be much lower due
to UBC caching and file system write problems. Unix 5 has direct IO
to
avoid this but its rather new.
If a disk system also fails you have to go through file system recovery
and then database recover. Database
recovery by itself will always be faster and more accurate.
2) Raid 0+1 for write hot file systems such as NFS servers and Mail.
3) Thinly striped RAID5 can often be used for special purposes such as
read intensive
large writes or low write intensity applications.
4) Thicker striped RAID5 can often be used for applications such as data
warehousing or search
catalogs.
Gustavo Zacarias wrote:
==================
I can give you my numbers....
Basically an AS4100, 1GB Ram, 1 Alpha EV5/533 CPU.
Now the good part, I/O :-)
Basically an HSZ50, 128mb cache, write-thru (has battery backup) hooked
to
the host to 1 KZPSA (1 Ultra-Wide channel).
The disks.... 10x RZ1DF-VW (9 GB 7200rpm disks) + 1 TZ 89 tape (DLT4).
This is somewhat "evenly" split in... 1 SW (StorageWorks) and scsi bus
for
just the tape and a 4+4+3 config for the disks (3 buses, 3 SWs).
I made a huge RAID5 logical drive with 1 spare (9+1). Operating System
is
Tru64 4.0F (with patchkit 1), firmware is 5.5.
From what i've seen, the read performance is pretty fast but writing
(RAID5's weakness) not much.
When i saturate the HSZ's cache (i used a simple but effective "time dd
if=/dev/zero of=/var/huge.file bs=1024k count=1024k" for example) i see
the
constant/average speed being about 1.5 MB/s (megabytes). If you don't
saturate the cache this is of course a LOT more because of the
write-thru.
I ended up somewhat dissapointed with it, even tried some other disk
configurations but didn't help much...
Alan from Compaq wrote:
==================
To find out what kind of performance you're seeing at
the moment, use iostat for the units presented by the
particular controller. There are other programs not
on the base system, but included with the Freeware CDROM
that will also allow watching I/O performance data;
collect and Monitor for example.
To see what a subsystem is capable of you may want to
construct a benchmark that you can run on a variety of
subsystems to compare them. In general RAID-5 performs
well under read-intensive loads and poorly under write
intensive loads. The writeback cache can help write
performance a lot in many loads. Sequential write loads
give the HSZ family the opportunity to use RAID-3 like
algorithms which help the performance a lot. However,
if you load is widely scattered writes there's not much
that can be done except to get more cache.
You can some subsystem, per-unit and per-backend device
performance monitoring with VTDPY on the console of the
subsystem. Many subsystems include a program called
DSTAT which can collect some performance data. There
isn't any documentation on DSTAT on the platform kits,
but I have a PDF file of a document you're interested
in using it.
Marketing capabilities are often produced with very
carefully selected I/O loads so that the advantage
of the subsystem are kept in their best light. For
example, the request rate numbers of the HSZ were
probably produced by reading the same sector or two
from the cache of the controller. Bandwidth rates
often are just the bus burst rate, which for an HSZ70
is 40 MB/sec (UltraSCSI/Wide).
Again many thanks to you all.
with regards
Kumar
^ permalink raw reply [flat|nested] 4+ messages in thread* SUMMARY: RAID Question
@ 2001-04-09 22:12 Edward D. Silver
0 siblings, 0 replies; 4+ messages in thread
From: Edward D. Silver @ 2001-04-09 22:12 UTC (permalink / raw)
To: tru64-unix-managers
The consensus was to NOT do this as a solid backup strategy. Too many
possible gotchas with it. We made a backup with the system in single
user mode instead. Much safer.
-Ed Silver
==================
I am doing a major upgrade to a server running an old version of 4.0B and
Oracle.
We are using an HSZ50 and a SW300 RAID shelf.
I've got root and usr on one mirror-set (two 9 Gig drives) and for our
data I've got it setup as four mirrored drives combined to make one
stripset (18 Gig drives).
It looks like this:
M1 = disk100 + disk630
M2 = disk210 + disk520
M3 = disk320 + disk410
M4 = disk420 + disk300
S1 = M1 + M2 + M3 + M4
My question is if I shutdown the box, remove the second disk from each
mirror and bring it back up do I have a perfect backup of the data itself
on my mirrors? So if anything screws up during the upgrades I could in
theory put back the drives I removed and be back in business, right?
Just making sure I have a good backout strategy.
Thanks
-Ed Silver
^ permalink raw reply [flat|nested] 4+ messages in thread
* SUMMARY: Raid question
@ 1998-03-17 21:25 SIMEONE, Allan J.
0 siblings, 0 replies; 4+ messages in thread
From: SIMEONE, Allan J. @ 1998-03-17 21:25 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I got back excellent responses. Thanks to:
Stan Horwitz
Bill CArlson
Christian Miranda
John Becker
Mandell Degerness
Jeff Beck
and Alan @nabeth.cxo.dec.com.
Basically everyone said doing the file command on /dev/rrz*c would give
the answer.
After a few e-mails back and forth with Alan@nabeth.cxo.dec.com, I got
the full details
I really needed to get the answer.
Here are the steps I took....
1) file /dev/rrzb43c, that showed me...
scsi #5 and scsi id #3, which is Bus 5 and Target 3. Lun 1 is from
the "b" in rrzb43c
2) scu show edt
look for a device not present on bus 5.
3) hszterm -b 5 -t 3 -l 3 (which is not present on my system. Anything
from bus 5 is ok that
is not present)
4) from the HSZ prompt:
show units
My system comes up with D101, D201 and D301.
I know it is D301 because the 1 is the Lun number which is b in
rrzb43.
The 3 is the scsi id number taken from the file command on
/dev/rrzb43c
I know I'm on the right bus also since I did a hszterm -b 5 which I
got from
the file command which is the scsi number.
D301 uses R1
5) show R1 will shows me disk200, disk210, disk220 and disk230. .
so rzb43c is disk200 disk210 disk220 and disk230 on my system.
another example would be rzb51c which is on bus 6 and is also lun 1
and scsi id 3. This is also D301 but points to a stripeset using
different
disks.
thanks all!
Allan
>----------
>From: SIMEONE, Allan J.
>Sent: Tuesday, March 17, 1998 12:13PM
>To: 'alpha-osf-managers@ornl.gov'
>Subject: Raid question
>
>Hello,
>
>I need a little help identifying disks.
>
>how can I tell what rz device is associated with an hsz device(s)?
>
>for example, below are the disks I have. How can I tell which rz device
>goes with
>with stripeset 4?
>
>thanks,
>allan
>
>on my system I have the following....
>
>rrz36c
>rrz44c
>rrzb17c
>rrzb41c
>rrzb42c
>rrzb43c
>rrzb49c
>rrzb50c
>rrzb51c
>rrzb52c
>
>HSZ> show disks
>
>Name Type Port Targ Lun Used by
>------------------------------------------------------------------------
>------
>
>DISK100 disk 1 0 0 M1
>DISK110 disk 1 1 0 M7
>DISK120 disk 1 2 0 S3
>DISK140 disk 1 4 0 M12
>DISK150 disk 1 5 0 M6
>DISK200 disk 2 0 0 M2
>DISK210 disk 2 1 0 M8
>DISK220 disk 2 2 0 S3
>DISK240 disk 2 4 0 M11
>DISK250 disk 2 5 0 M5
>DISK300 disk 3 0 0 M3
>DISK310 disk 3 1 0 M9
>DISK340 disk 3 4 0 M10
>DISK350 disk 3 5 0 M4
>DISK400 disk 4 0 0 M4
>DISK410 disk 4 1 0 M10
>DISK440 disk 4 4 0 M9
>DISK450 disk 4 5 0 M3
>DISK500 disk 5 0 0 M5
>DISK510 disk 5 1 0 M11
>DISK530 disk 5 3 0 S4
>DISK540 disk 5 4 0 M8
>DISK550 disk 5 5 0 M2
>DISK600 disk 6 0 0 M6
>DISK610 disk 6 1 0 M12
>DISK630 disk 6 3 0 S4
>DISK640 disk 6 4 0 M7
>DISK650 disk 6 5 0 M1
>HSZ> show s4
>
>Name Storageset Uses Used by
>------------------------------------------------------------------------
>------
>
>S4 stripeset DISK530 D401
> DISK630
> Switches:
> CHUNKSIZE = 256 blocks
> State:
> NORMAL
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Summary: raid question
@ 1998-01-07 0:03 SIMEONE, Allan J.
0 siblings, 0 replies; 4+ messages in thread
From: SIMEONE, Allan J. @ 1998-01-07 0:03 UTC (permalink / raw)
To: tru64-unix-managers
alan@nabeth.cxo.dec.com came through with the answer to my raid
question.
I needed to use
disklabel -rw rz33c hsz50 (hsz40 in my case, hsz50 not in my disktab) to
get the size right instead of using
disklabel -rw rz33c rz29b.
thanks,
Allan
>----------
>From: SIMEONE, Allan J.
>Sent: Tuesday, January 06, 1998 6:23PM
>To: 'alpha-osf-managers@ornl.gov'
>Subject: raid question
>
>hello,
>
>I have a system that has been set up with raid 5 through the hsz50's.
>There are 5 raid sets.
>4 of the raid sets has 6 rz29b's. The other raid set has 6 rz1cb's.
>When I mkfdmn,
>say on the first raidset, I see all 6 disks light up when initializing,
>so I know the system sees it as one
>big disk.
>
>My question is, how do I do the disklabel (advfs) on this so it isn't
>the size of one rz29b, but have
>the size of the 6 disks? For example: rz33c is 6 disks together as
>best as I can see.
>
>Do I also need a disktab entry for the rz1cb drives, or can I use the
>rz29b size, as I think they are
>the same size.
>
>another question, through the hsz50, three hot spares have been created.
>2 of the spares created
>for raidsets 1-4 and one hotspare for raidset 5. Do I have to do
>anything in the operating system
>for this or is it all set as far as hotspare if a disk goes bad?
>
>thanks,
>Allan
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-04-09 22:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-22 16:01 Summary; raid question Padiyath Sreekumar
-- strict thread matches above, loose matches on Subject: below --
2001-04-09 22:12 SUMMARY: RAID Question Edward D. Silver
1998-03-17 21:25 SUMMARY: Raid question SIMEONE, Allan J.
1998-01-07 0:03 Summary: raid question SIMEONE, Allan J.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox