Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* UDB RAID
@ 1999-11-30 23:06 Christopher W. Curtis
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher W. Curtis @ 1999-11-30 23:06 UTC (permalink / raw)
  To: AXP Mailing List

Here's one you probably don't see much:

I have a UDB with _a_lot_ of disk space.  Something like 30GB.
I want to put about 10GB of it as RAID, ~3GB on 3 different disks.
I'm not really sure whether I want to do 0+1 or 5 though.  I'm
concerned about the access speed for RAID 5, but want to minimize
space loss.  I'm not familiar with RAID and am therefore soliciting
opinions.  Speed is secondary to security, but not unimportant, and
I don't want to lose too mcuch disk space.  What are people's
opinions for maximizing: space, security, with acceptable speed?

Thanks,
Chris


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

* Re: UDB RAID
       [not found] <3844586E.8861EABE@softwareag.com>
@ 1999-12-01  9:59 ` Joerg Bruehe
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Bruehe @ 1999-12-01  9:59 UTC (permalink / raw)
  To: axp-list

Hi ! 

"Christopher W. Curtis" schrieb:
> 
> Here's one you probably don't see much:
> 
> I have a UDB with _a_lot_ of disk space.  Something like 30GB.
> I want to put about 10GB of it as RAID, ~3GB on 3 different disks.
> I'm not really sure whether I want to do 0+1 or 5 though.  I'm
> concerned about the access speed for RAID 5, but want to minimize
> space loss.  

The information you give is insufficient. 

You can not have all three: speed, security, and space economy. 
So you have to make up your mind which is the most important, 
and that probably depends on the intended usage and access pattern.  Examples: 

- For a database log, security and (writing) speed are topmost 
  so you would use (software or hardware) mirroring; 
  space is less important because the logs are not that large. 

- For database data (with multi-user access), space economy 
  increases in importance relative to speed, so RAID 5 might 
  be considered. 

- For plain file systems, the Unix/Linux kernel buffering 
  ensures speed so again mirroring may be too costly. 

- For paging devices, it depends upon the answer to 
  "Can I accept a crash which does not cause data losses ?" 
  Assuming your data are in a DBMS and protected (by dual logging), 
  you might decide not to mirror your (two or more) page devices 
  and have the machine crash in case of a disk error there, 
  reboot, let the DBMS work its redo/undo recovery, and proceed. 
  For an online system like flight bookings, I would not take 
  that course and mirror the paging devices. 
  I would never have paging on RAID-5 due to speed reasons. 

- The more processes access (different parts of) the data, the more 
  you profit from caching and parallelism and the less you are 
  blocked by I/O delays. That is a reason why speed is more critical 
  for DBMS logs than for DBMS data. 

So I claim you yourself have to decide your criteria, and others 
can only provide arguments for fixed scenarios which may not 
fit your situation. 

In all these discussions do not forget that disks are not the only 
item that may fail, for full security you might use mirroring on 
disks connected to independent controllers. 
Also, to protect against total losses due to fire, sabotage, and 
total system misbehaviour (formatting all disks etc.), you cannot 
do without (tape or CD) backups removed from the system and 
stored in other locations. 

HTH 
Joerg Bruehe 

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de


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

* Re: UDB RAID
@ 1999-12-01 10:45 Jaap Hogenberg
  1999-12-01 20:48 ` Christopher W. Curtis
  1999-12-01 21:25 ` RaymondInFinland
  0 siblings, 2 replies; 5+ messages in thread
From: Jaap Hogenberg @ 1999-12-01 10:45 UTC (permalink / raw)
  To: axp-list

Hi Chris,

I think a RAID 5 setup should do the trick for you.
It's faster than RAID 0+1 (at least for writing)  and 
will get you more disk space (66 % on 3 disks vs 50 % for RAID 0+1)
BTW  RAID 0+1 (=mirrored sets of striped disks) is quite hard to do with 
only 3 disks , 4 would be minimal.
I have no experience with linux raid, so I don't know if
overhead will cost you performance.
As this is a multia , you possibly have only 1 scsi interface , so for 
performance,
this might well be the bottleneck with a raid setup.

HTH
Jaap




Here's one you probably don't see much:

I have a UDB with _a_lot_ of disk space.  Something like 30GB.
I want to put about 10GB of it as RAID, ~3GB on 3 different disks.
I'm not really sure whether I want to do 0+1 or 5 though.  I'm
concerned about the access speed for RAID 5, but want to minimize
space loss.  I'm not familiar with RAID and am therefore soliciting
opinions.  Speed is secondary to security, but not unimportant, and
I don't want to lose too mcuch disk space.  What are people's
opinions for maximizing: space, security, with acceptable speed?

Thanks,
Chris

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com




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

* Re: UDB RAID
  1999-12-01 10:45 Jaap Hogenberg
@ 1999-12-01 20:48 ` Christopher W. Curtis
  1999-12-01 21:25 ` RaymondInFinland
  1 sibling, 0 replies; 5+ messages in thread
From: Christopher W. Curtis @ 1999-12-01 20:48 UTC (permalink / raw)
  To: axp-list

Jaap Hogenberg wrote:

> I think a RAID 5 setup should do the trick for you.
> It's faster than RAID 0+1 (at least for writing)  and
> will get you more disk space (66 % on 3 disks vs 50 % for RAID 0+1)

Okay, thanks.  I was concerned that the 166AXP would be struggling under
the parity load.  It's not really a high volume service, but I didn't know
what kind of load it would require.  I'd prefer to have that 1.5GB
available.

> BTW  RAID 0+1 (=mirrored sets of striped disks) is quite hard to do with
> only 3 disks , 4 would be minimal.

That's what I thought, but didn't know if 0+1 was different than 1+0 and
didn't understand how mirroring would work with three disks, etc.  It
looked like I wanted RAID 5, but the CPU usage concerned me.

> As this is a multia , you possibly have only 1 scsi interface , so for
> performance, this might well be the bottleneck with a raid setup.

I suspect it might be as well.  It's all SCSI-10.

As for additional backup, I also have tape so it's not a SPOF.  I'm not
really sure what I'm going to put on here, but I suspect it will be used
primarily for CVS data.  This UDB has 72MB RAM so I guess that's another
negative for mirroring due to the page cache.

Thanks for the help!
Chris


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

* Re: UDB RAID
  1999-12-01 10:45 Jaap Hogenberg
  1999-12-01 20:48 ` Christopher W. Curtis
@ 1999-12-01 21:25 ` RaymondInFinland
  1 sibling, 0 replies; 5+ messages in thread
From: RaymondInFinland @ 1999-12-01 21:25 UTC (permalink / raw)
  To: axp-list

> Hi Chris,
> 
> I think a RAID 5 setup should do the trick for you.
> It's faster than RAID 0+1 (at least for writing)  and 
> will get you more disk space (66 % on 3 disks vs 50 % for RAID 0+1)
> BTW  RAID 0+1 (=mirrored sets of striped disks) is quite hard to do with 
> only 3 disks , 4 would be minimal.
RAID 0 had nothing to do with mirroring. It's a variant on lineair appand. It 
strips the disks but does no mirroring..

> I have no experience with linux raid, so I don't know if
> overhead will cost you performance.
I have a raid-0 partition of 12GB on my multia. The overhead is almost zero 
but i never did any benchmarking so actually i don't know.

Just make sure that you use the latest raidpatches for your kernel and the 
latest raidtools (i believe it was 0.90).

If you have any questions contact me, i worked most things out and got it to 
work.

Grtz
Raymond


"DOS addresses only 1 Megabyte of RAM because we cannot imagine any
applications needing more." - Microsoft, 1980, on the development
of  DOS
"Windows NT addresses 2 Gigabytes of RAM which is more than any 
application will ever need" - Microsoft, 1992, on the development
of Windows NT


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

end of thread, other threads:[~1999-12-01 21:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-30 23:06 UDB RAID Christopher W. Curtis
     [not found] <3844586E.8861EABE@softwareag.com>
1999-12-01  9:59 ` Joerg Bruehe
  -- strict thread matches above, loose matches on Subject: below --
1999-12-01 10:45 Jaap Hogenberg
1999-12-01 20:48 ` Christopher W. Curtis
1999-12-01 21:25 ` RaymondInFinland

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