From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4a6fc643d8526ef X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: filesystem of choice for RAID 5 Date: 1999/12/14 Message-ID: <836a06$rjh$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 560873080 Distribution: world References: <825lso$2r0$1@nnrp1.deja.com> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article <825lso$2r0$1@nnrp1.deja.com>, darked@my-deja.com writes: >My system is a Personal Workstation Alpha 500au. I got 3x 9GB, double >channel RAID 5 system up and running. At first, to make it usable I have >choosen in Disk Configuration 4.2BSD file system. I expect that RAID >array may be expanded in future, hence I better switch to AdvFS. Even if the particular array controller supports expanding the size of an array, neither UFS (4.2BSD) nor AdvFS do. What AdvFS allows you do to is add additional volumes to an existing space domain. What the RAID controller should allow you to do is add disks and create a new array which is a separate unit. >My questions are: > >1. are there any cons of AdvFS versus 4.2BSD? (this is a non-system >disk) AdvFS seems more fragile in the face of errors. A good RAID-5 implementation can help fix that by making many errors disappear at the device level. What really happens is that when UFS sees an error it either passes it on to the user (on reads) or hides write errors in the buffer cache. The hope seems to be that the error is transient and that a future write will succeed. Sometimes UFS is right... Whether this is be design or accident, I don't know. AdvFS makes the domain unavailable on nearly I/O error. It used to panic the whole system, but most of these have been changed domain panics that merely make the filesets on that domain unavailable. Older versions had fragmentation related problem space management problems, but these have been steadily fixed or improved. There was a time when UFS was faster for most things, but AdvFS seems to have the advantage for normal day to day I/O. It may have some problem in specific loads, but there may be patches for those; removing a fileset or clone with lots of files affecting performance of the other filesets. >2. can I significantly improve the overal performance of the whole >system by putting some partitions on RAID? If yes, which ones will >matter most? What RAID level? Metadata changes to AdvFS are logged based, making some loads write intensive. RAID-5 doesn't do well on writes. Putting the AdvFS log on a RAID-5 may cause performance problems. If you I/O load is one that doesn't generate many writes, then RAID-5 could be fine. I don't know how well you can isolate the log, but there are options to pick which device it should be on in a multi-volume domain. Mixing RAID levels could be a benefit in some loads; log on RAID-1 the rest of the data on RAID-5. If possible, try to identify one or more representive I/O loads and measure the performance of them on a variety of configurations; benchmark. > >Thank you very much in advance > >Darek > >Center of Molecular Medicine (CMM), Karolinska Hospital, >Building L-8.00, S-171 76 Stockholm, Sweden >phone: +46-8-5177-3922 fax: 46-8-517 73909 > > >Sent via Deja.com http://www.deja.com/ >Before you buy. > -- Alan Rollow alan@nabeth.cxo.dec.com