From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2986133821d79852 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Why use LSM with AdvFS? Date: 1996/07/25 Message-ID: <4t91ik$6vf@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 170555618 distribution: world references: <31F4F46C.2175@boromir.phcteam.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 <31F4F46C.2175@boromir.phcteam.com>, Jim Drummey writes: >My company has some Alpha 2100s and 8200s running Digital Unix. The >machines are equipped with HSZ40 controllers which have mirrored >stripe sets configured. Those sets are passed up to the OS, which >runs LSM and configures them as logical volumes. The logical volumes >are then made part of AdvFs domains and filesets are built on those. >My question is..isn't all this overhead counter productive for I/O? It depends on how you're using LSM and whether you really need that feature in this configuration. Among the features provided are: o Volume striping. The advantage that host based striping has over controller striping is that can you stripe devices across multiple controllers and I/O adapters. o Volume mirroring. The advantage that host based mirroring has over controller based mirroring is that you can mirror devices across multiple controllers and I/O adapters. While a dual- redundant HSZ40 can provide a lot of availability it is still connected to the host by a single SCSI adapter and cable. If that cable or controller breaks, you can't get to your data anymore. o Volume concatentation. If you wanted to concatenate all the logical units presented by a group of HSZ40s into a single large device you could use LSM for this. I'm not sure you'd want a single volume that big but you do it. o Volume partitioning. While you can disklabel the device presented by an HSZ40 the partition table in the label limits you to 7 partitions (8 if you're careful). If you need more, then using LSM to carve out small volume from a large chunk of space is probably the way to go. o Tracing and logging - A rather obscure feature that problems mounds of data, but which could be useful if you want to collect I/O traces. See the voltrace manual page for more information. o Interaction with ASE. ASE failover may rely on application disks being in a disk group, but I'm not sure. >It looks as if LSM and AdvFs share some features so it would make >sense to use on or the other, but not both, especially since the >controllers are fanning out the I/O. AdvFS only does file level striping and no mirroring. While file level striping is useful, often it is better to have volume level striping. Of course the HSZ40 can provide this, but then you're limited to the bandwidth of a single FWD SCSI adapter or the through put of a single HSZ40 (for one device). LSM is an extra layer of the kernel to go through for an I/O request and arbitrarily limits I/Os to 64 KB. It is also extra set of management commands to be learned, the GUI can do most things and is pretty easy to use. If you only have a single HSZ40 (or redundant pair) and are satisfied by the performance and availability, then you probably don't need LSM for striping or mirroring. If you have multiple controllers and adapters, then you can mix the HSZ40 RAID features and LSM to get better performance or availability: 1. Better availability. Create the stripe sets on each HSZ40, but then mirror them with LSM so that one controller/adapter/ cable set doesn't become a single point of failure. 2. Better performance. Take advantage of the mirroring on the HSZ40 (and automatic replacement from the SPARESET), but stripe the mirrored devices across multiple I/O adapters. Keeping everything under LSM may allow extending the size of a volume when the software using can cope with volumes that grow (unfortunately, neither AdvFS nor UFS do). For some types of volumes you can mirror them at any time, if you have the spare space. >Jim Drummey jpd@drum.terranet.com -- Alan Rollow alan@nabeth.cxo.dec.com