* RAID 5 Write-back cache safety ?
@ 1997-08-20 4:00 Russell Bride
1997-08-20 4:00 ` Nikola Milutinovic
0 siblings, 1 reply; 2+ messages in thread
From: Russell Bride @ 1997-08-20 4:00 UTC (permalink / raw)
We have an NT cluster using 5 disks in a StorageWorks array.
We have noticed that write performance seems to be very slow
using RAID 5 (we expected a bit slow, but not that slow).
The write performance of 1Mb/s was slower than using a single disk.
Using the writeback cache led to a speed of around 5Mb/s, which was
faster than the single disk. Indeed this was quite acceptable
performance.
However, using the cache seems to me to be a security hole. If the
system should ever go down without being able to flush the cache
then we would most likely end up with some kind of corruption,
especially as we wish to run a database system on the cluster.
How safe is the write-back cache mechanism and what are reasonable
write rates to expect ?
Does anyone have any ideas,
best regards,
Russell
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: RAID 5 Write-back cache safety ?
1997-08-20 4:00 RAID 5 Write-back cache safety ? Russell Bride
@ 1997-08-20 4:00 ` Nikola Milutinovic
0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 1997-08-20 4:00 UTC (permalink / raw)
Russell Bride wrote:
>
> How safe is the write-back cache mechanism and what are reasonable
> write rates to expect ?
Write-back cache mechanism isn't security hole. If you suddenly run out
of power, no metter what the caching scheme, you risk having corrupt
file system, if you are running UFS. If however, you have AdvFS, than
you can relay on its "file transaction logging" mechanism to roll-back
unfinished file operations, just like some RDBMS.
And it works fine EXCEPT WHEN YOU HAVE WRITE-BACK CACHING CONTROLLER!
Agagin, if the cache is large enough, it will hold transaction log data,
which will be lost in cases of irregular shutdown (power failure).
The only thing you can (and should) do is install BATTERY BACKUP for
controller cache. We are using Mylex 3-port controller with 16 MB of
cache and battery backup module. Apart from that, we also have APC UPS.
We feel rather safe.
Caution: Battery backup won't help you if you're using UNIX File System.
You'll have consistent image of disk blocks in cache+battery & RAID5,
but that image wont be valid!
Wish you luck and prompt purchase of battery backup.
CU,
Nix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-08-20 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-20 4:00 RAID 5 Write-back cache safety ? Russell Bride
1997-08-20 4:00 ` Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox